rizonesoft / Notepad3

Notepad like text editor based on the Scintilla source code. Notepad3 based on code from Notepad2 and MiniPath on code from metapath. Download Notepad3:
https://www.rizonesoft.com/downloads/notepad3/
Other
4.8k stars 321 forks source link

Refresh screen needed after opening a file with /g switch #5103

Open mrihtar opened 4 months ago

mrihtar commented 4 months ago

Notepad3 (x64) 6.23.203.2 (e108c574) Scintilla v532, Lexilla v521, Oniguruma v6.9.9

When I use /g <ln>,<cn> as command line switch when opening (large) text file, Notepad3 positions itself at the correct place, but it's not reflected on the screen (it stays on the first screen). Only after refresh (F5) it shows the correct screen with the cursor in highlighted line at the requested position.

Expected behavior: editor should jump to the requested position and display the proper text/screen around highlighted current line.

RaiKoHoff commented 4 months ago

Cannot reproduce this issue with current beta version - maybe fixed meanwhile.