Skip to content

Should 'mark occurrences' be disable for very large files? #4699

@lhmouse

Description

@lhmouse

At work I intermittently need to open some very large (300+ MiB) log files of plain text.

When I open such a file with Notepad3, there is a warning message box, saying this file is too large and syntax highlighting will be disabled. Well, that doesn't matter, because log files are plain text and no highlighting is needed. Good.

Before I can start searching for something in the log, I press Ctrl-F to let Notepad3 open the Find dialog, which also remembers the last 'mark occurrences' setting. However, there is some leftover text in the input box, and as a consequence, Notepad3 attempts to mark occurrences for that leftover text (which I don't want) and loses response for minutes.

And here are two possible solutions:

  1. Make 'mark occurrences' in Find dialog work like the other 'mark occurrences' in View menu. That means to mark only visible occurrences, rather than occurrences in the entire file.
  2. Disable it by default or completely after the large file warning message when open the file.

What do you think?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions