Index p_column = 2 is out of bounds (text[carets[p_caret].selection.selecting_line].length() + 1 = 2).

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By OgGhostJelly

I’m getting this error message:

scene/gui/text_edit.cpp:4761 - Index p_column = 2 is out of bounds                   (text[carets[p_caret].selection.selecting_line].length() + 1 = 2).

I don’t know what causes it and why, my program works completely fine without problems but I still get this error. what does it mean and what is it trying to tell me?

If your script works as expected, then it’s not an error; it’s a warning. As to why you’re getting that warning, well, that requires some investigation.

Ertain | 2022-10-22 18:24