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

((BOL)) needed... UDL counterpart to ((EOL))

Open
#8,153 3 comments 6 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

UDL Syntax coloring needs a ((BOL))
to make company to ((EOL)) ;-)

Since there is not yet available the possibility of using RegEx for UDL/Syntax coloring…
I would dare to suggest the introduction of ((BOL))
(the counterpart of ((EOL))… so is not so alone anymore ;-) )

I have some languages who need to interpret delimiters
in a specific way only if they are at the beginning of the line…

Anyway… i think for the future…
a Syntax-Color-Parser based in RegEx
will be much more powerful and flexible…

something like what Ultraedit uses (can be better though!!!)
https://www.ultraedit.com/wiki/Wordfiles”

Originally posted at:
https://community.notepad-plus-plus.org/topic/19259/bol-need

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 by reading the UDL syntax-coloring implementation and the existing ((EOL)) handling. Determine how line-boundary delimiters are represented and define what it means for ((BOL)) to match only at the beginning of a line; done means UDL rules recognize that counterpart consistently, with relevant behavior covered by tests if the project provides them.

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
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.