You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
Fixed ctrl + backspace on empty lines
Fix <word><space><caret> scenario Fix move left & right for lines without words
This commit is contained in:
@@ -758,7 +758,7 @@ PackedInt32Array TextServer::shaped_text_get_word_breaks(const RID &p_shaped, in
|
||||
|
||||
int word_start = range.x;
|
||||
|
||||
int l_size = shaped_text_get_glyph_count(p_shaped);
|
||||
const int l_size = shaped_text_get_glyph_count(p_shaped);
|
||||
const Glyph *l_gl = const_cast<TextServer *>(this)->shaped_text_sort_logical(p_shaped);
|
||||
|
||||
for (int i = 0; i < l_size; i++) {
|
||||
|
||||
Reference in New Issue
Block a user