Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mrihtar opened this issue Feb 13, 2024 · 1 comment
Open

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

mrihtar opened this issue Feb 13, 2024 · 1 comment

Comments

@mrihtar
Copy link

mrihtar commented Feb 13, 2024

Notepad3 (x64) 6.23.203.2 (e108c57)
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.

@RaiKoHoff
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants