Unverified Commit e23bd5a1 by Rémi Verschelde Committed by GitHub

Merge pull request #38314 from KoBeWi/dead_increment

Remove unneccessary increment in TextEdit
parents 75e4ccc0 9dfb231e
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment