You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Make text column numbers one-based
Make one-based the column number on the code editor
Make one-based the column number for GDScript error messages
Make one-based the column number for shader code error messages
(cherry picked from commit 2f80965845)
This commit is contained in:
committed by
Rémi Verschelde
parent
f250c0cf50
commit
99d82f3033
@@ -933,7 +933,7 @@ void GDTokenizerText::set_code(const String& p_code) {
|
||||
}
|
||||
code_pos=0;
|
||||
line=1; //it is stand-ar-ized that lines begin in 1 in code..
|
||||
column=0;
|
||||
column=1; //the same holds for columns
|
||||
tk_rb_pos=0;
|
||||
error_flag=false;
|
||||
last_error="";
|
||||
|
||||
Reference in New Issue
Block a user