Skip to content

The cursor is re-positioned to beginning after content is updated #773

Open
@stephen9357

Description

@stephen9357

Operating System and Version

Windows 11 22631.4037 x64

Distribution

NotepadNext-v0.11-win64.zip

Description

When NotepadNext window regains the focus, if the file content is updated, the cursor will be re-positioned to the beginning of the file instead of maintaining the previous position, which is a big disadvantage for analyzing log files.

Steps to Reproduce

  1. Open a log file while it's continuously writted to
  2. Click any other window to make NotepadNext window lose focus
  3. Click NotepadNext window to regain focus, make sure it automatic update the content, cursor is re-positioned to beginning

Debug Information

Notepad Next v0.11.0.0
Build Date/Time: Apr 2 2025 02:10:30
Qt: 6.5.3
OS: Windows 11 Version 23H2

Additional Details

e.g. screenshots, logs, etc

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions