Notepad3 icon indicating copy to clipboard operation
Notepad3 copied to clipboard

Refresh screen needed after opening a file with /g switch

Open mrihtar opened this issue 1 year ago • 2 comments

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

  • Locale -> en-US (CP:'ANSI (CP-1252)')
  • Current Encoding -> 'Unicode (UTF-8)'
  • Rendering-Technology -> 'DIRECT-WRITE'
  • Current Lexer -> 'Text Files'

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.

mrihtar avatar Feb 13 '24 08:02 mrihtar

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

RaiKoHoff avatar Feb 24 '24 10:02 RaiKoHoff