Merge pull request #38314 from KoBeWi/dead_increment
Remove unneccessary increment in TextEdit
This commit is contained in:
commit
e23bd5a1cb
1 changed files with 0 additions and 5 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue