This behavior is intentional. I will explain it below.
The red line number in your screenshots shows the actual line number of the document's current line. Since the "Relative Line Numbers" feature can be combined with the plugin's "Line Numbers Start At" feature, the red line number is also affected by this setting.
The other line numbers are relative to the document's current line. That means they indicate the distance of a specific line from the current line.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you for the clarification, I understand now what you implemented.
Can I now put in a request then for CustomLineNumbers to support
highlighting the current line number in similar fashion, while retaining
the more traditional incremental line numbers?
This behavior is intentional. I will explain it below.
The red line number in your screenshots shows the actual line number of
the document's current line. Since the "Relative Line Numbers" feature can
be combined with the plugin's "Line Numbers Start At" feature, the red line
number is also affected by this setting.
The other line numbers are relative to the document's current line. That
means they indicate the distance of a specific line from the current line.
Status: open Milestone: 1.0 Created: Wed Jul 23, 2025 01:46 PM UTC by Stefanya Poesy Last Updated: Wed Jul 23, 2025 01:46 PM UTC Owner: Andreas Heim Attachments:
Can I now put in a request then for CustomLineNumbers to support
highlighting the current line number in similar fashion, while retaining
the more traditional incremental line numbers?
Well, of course you could, but unfortunately I have to tell you that I would not implement such a feature request. Notepad++ is able to highlight the text of the current line, have a look at the "Preferences" dialog in the attachments. So, I think what you requested is not worth the effort as it is doubling an already existing feature.
This behavior is intentional. I will explain it below.
The red line number in your screenshots shows the actual line number of the document's current line. Since the "Relative Line Numbers" feature can be combined with the plugin's "Line Numbers Start At" feature, the red line number is also affected by this setting.
The other line numbers are relative to the document's current line. That means they indicate the distance of a specific line from the current line.
Hello Andreas:
Thank you for the clarification, I understand now what you implemented.
Can I now put in a request then for CustomLineNumbers to support
highlighting the current line number in similar fashion, while retaining
the more traditional incremental line numbers?
Thanks,
Stefanya Poésy (She/Her)
stefanyalpoesy@gmail.com
On Fri, Jul 25, 2025 at 10:16 PM Andreas Heim dinkumoil@users.sourceforge.net wrote:
Related
Tickets:
#5Well, of course you could, but unfortunately I have to tell you that I would not implement such a feature request. Notepad++ is able to highlight the text of the current line, have a look at the "Preferences" dialog in the attachments. So, I think what you requested is not worth the effort as it is doubling an already existing feature.