mirror of
https://github.com/tiennm99/godot.git
synced 2026-08-10 10:22:32 +00:00
Merge pull request #38314 from KoBeWi/dead_increment
Remove unneccessary increment in TextEdit
This commit is contained in:
@@ -1064,11 +1064,6 @@ void TextEdit::_notification(int p_what) {
|
||||
break;
|
||||
}
|
||||
|
||||
// re-adjust if we went backwards.
|
||||
if (color != previous_color && !is_whitespace) {
|
||||
characters++;
|
||||
}
|
||||
|
||||
if (str[j] == '\t') {
|
||||
tabs += minimap_tab_size;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user