Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix incorrect document map highlight when scrolling past end of file. #4580
referenced this pull request
Jun 13, 2018
@donho I'm not sure what you mean about the wrapping. In the screenshot wrap is off in both the main edit region and the document map.
Messing around with a clean install it seems that the bug does not always manifest. If you toggle word wrap on then back off then the document map highlight is correct, although it stops highlighting at the end of text. It may or may not be desirable to highlight past the end of text. It also doesn't always repro on short documents, though the highlight does go past the end of text in this case. However when I start Notepad++ with word wrap off and view a long document, like the Notepad++ LICENSE, then I consistently produce the bug.