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

Starts with Keyword in Folder & Default in UDL

Open
#9,222 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

udl
Dominant language
C++
Stars
29.4k
Forks
5.4k
PR merge metrics
No merged PRs in 30d

Description

Description of the Issue

In UDL, In the Folder & Default Section, I could not find any option where-in I can specify a keyword that will be present at the beginning of the line.

For example, If I want to make a block of lines from the line starting with the keyword START and keyword END, it is not possible at present.

Notepad Plus Plus is marking all the lines as the beginning of the folding wherever START appears (even between the line).

Expected Behavior

There should be an option where-in the keywords can be specified and Notepad Plus Plus should check only if they are at the beginning of the line

Actual Behavior

Notepad Plus Plus is marking all the lines as the beginning of the folding wherever START appears (even between the line).

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

Start in the UDL Folder & Default section and trace how folding keywords are matched. Verify the current behavior with a UDL containing START within a line, then define completion as matching START only at the beginning of a line while preserving the existing START/END folding behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.