notepad-plus-plus / notepad-plus-plus/notepad-plus-plus
Scrollbar showing the positions of a double-click selection
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 29.4k
- Forks
- 5.4k
- PR merge metrics
- No merged PRs in 30d
Description
Description of the Issue
When developing and debugging, it would be extremely helpful to see at a glance the number of occurrences and locations of the selected string in the scrollbar (just like chrome and edge do it when searching in a page with Ctrl+F)
Steps to Reproduce the Issue
- double-click a string.
- The scroll bar does not show the number of occurrences and locations of the selected string.
Expected Behavior
This is a feature request.
It would be helpful to see at a glance the number of occurrences and locations of the selected string in the scrollbar
Actual Behavior
Currently when selecting a string by double-clicking, one has to slowly scroll down searching for the highlighted occurrences of the string.
Debug Information
Notepad++ v8.4.2 (32-bit)
Build time : May 29 2022 - 16:45:17
Path : C:\Program Files (x86)\Notepad++\notepad++.exe
Command Line : $COMMAND_LINE_PLACEHOLDER$
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
OS Name : Windows 10 Enterprise (64-bit)
OS Version : 20H2
OS Build : 19042.1586
Current ANSI codepage : 1252
Plugins :
ComparePlugin (2)
DSpellCheck (1.4.6)
LightExplorer (2)
mimeTools (2.8)
NppAutoIndent (1.2)
NppConverter (4.4)
NppExport (0.4)
XMLTools (3.1.1.10)
This is a feature request. If implemented, this feature will enhance the developer experience by making "life easier" and more productive.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the editor's double-click selection handling and scrollbar rendering, then trace how search highlights and their positions are represented. Confirm the expected behavior against the issue description and identify existing UI or editor tests; done means selected-string occurrences and locations are visible in the scrollbar without a separate search action.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100