notepad-plus-plus / notepad-plus-plus/notepad-plus-plus
FR: Allow specifying padding above/below folded code horizontal indicator lines
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 lines of code are folded within the editor, a 1px horizontal line appears. Please allow specifying the number of pixels of padding to add above and below those horizontal lines. Ideally, the values (above/below) will be independent.
Steps to Reproduce the Issue
- Enable a dark theme in Notepad++
- Write code in any language that has collapsible blocks, such as C, C++, or C#
- Collapse a block
- Notice the lack of vertical spacing between the horizontal fold line and the code
Behavior
Not a bug, but would be a nice improvement. I showed a friend Notepad++, and it was the first thing they wanted to change.
Debug Information
Notepad++ v8.4.8 (32-bit)
Admin mode : OFF
Local Conf mode : ON
Cloud Config : OFF
OS Name : Windows
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
The issue names no files or tests; start by locating the editor code responsible for rendering horizontal lines for folded code. The work is complete when users can configure independent pixel padding above and below those lines, and the spacing is visible when collapsible code is folded.
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
- 42/100