Commit a9af185
authored
fix: batch normalize() calls in clearTextHighlights to prevent tab fr… (#47)
…eeze
fixes #41
Before: tab froze when deleting final character in "find in file"
command
After: deleting final character works find due to batched normalizing of
highlighting.1 parent e087179 commit a9af185
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
| 49 | + | |
48 | 50 | | |
49 | 51 | | |
50 | 52 | | |
| 53 | + | |
51 | 54 | | |
52 | | - | |
53 | 55 | | |
54 | 56 | | |
| 57 | + | |
55 | 58 | | |
56 | 59 | | |
57 | 60 | | |
| |||
0 commit comments