ProgerXP / Notepad2e

Word highlighting, simultaneous editing, split views, math evaluation, un/grep, comment reformatting, UAC elevation, complete regexps (PCRE), Lua lexers, DPI awareness and more (XP+)
Other
370 stars 52 forks source link

Refresh selection highlighting after window resize #474

Closed ProgerXP closed 7 months ago

ProgerXP commented 7 months ago

Open a document with several matches on different lines, select one of them (with all others visible) and resize the window in such a way that some matches stop being visible - the highlighting (#1) will still indicate that all matches are visible.

This is especially troublesome with Edit Word (#18): if you resize the window so the match with the caret moves off screen and press Ctrl+Tab, you'll see the document is scrolled and the tooltip (Editing %d occurrences) appears around that match (off-screen) and yet it won't be made part of the edit region.

sc

cshnik commented 7 months ago

Fixed. Edit mode get disabled (if active), pending changes are automatically applied.