notepad-plus-plus / notepad-plus-plus/notepad-plus-plus

FR: Allow specifying padding above/below folded code horizontal indicator lines

Open
#12,752 8 comments 0 reactions 0 assignees View on GitHub

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
  1. Enable a dark theme in Notepad++
  2. Write code in any language that has collapsible blocks, such as C, C++, or C#
  3. Collapse a block
  4. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.