Skip to content

Add scope info to ReplaceAll / Count / Mark search output in Find window status bar #8632

@sasumner

Description

@sasumner

Description of the Issue

There are various search scopes possible for the Replace All, Count and Mark searching functions; they are:

  • Selected text (In selection ticked)
  • Entire document (Wrap around ticked and In selection not ticked)
  • BOF-to-caret (Backward direction ticked and Wrap around and In selection not ticked)
  • caret-to-EOF (none of Backward direction , Wrap around , In selection ticked)

It would help the user to output the scope that was searched along with the search results in the Find window status bar.

This allows a user to confirm that their settings were correct (i.e., what they intended), and also provides a more complete picture of the action just completed.

So an example might be, instead of outputting:

Count: 2 matches

Output this:

Count: 2 matches in selected text

Note: This issue originated from the discussion here: 4eac7d8#commitcomment-40968491

Debug Information

Issue based on functionality in:

Notepad++ v7.8.9 (32-bit)
Build time : Jul 15 2020 - 20:26:50
Path : C:\.........\npp.7.8.9.bin\notepad++.exe
Admin mode : OFF
Local Conf mode : ON
OS Name : Windows 10 Enterprise (64-bit)
OS Version : 1809
OS Build : 17763.1039
Current ANSI codepage : 1252
Plugins : mimeTools.dll NppConverter.dll NppExport.dll PythonScript.dll

Metadata

Metadata

Assignees

Labels

enhancementProposed enhancements of existing features

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions