notepad-plus-plus / notepad-plus-plus/notepad-plus-plus
Option to switch column index starting from 0 instead 1
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
By default, the column index indicator starts at one.
Could we have option to change it, and starting it from zero?
Steps to Reproduce the Issue
Cursor on before first character, display "Col: 1"

Go to offset 1 :

Finish on "Col: 2"

Expected Behavior
Option in prefererence for change the starting index.
Others people, asked the same thing :
starting the Line number with 0 https://community.notepad-plus-plus.org/topic/14954/starting-the-line-number-with-0
How to make line index start with 0 ? https://community.notepad-plus-plus.org/topic/15351/how-to-make-line-index-start-with-0
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, tests, or entry points. Start by locating the column indicator and the preferences code that controls editor display, then trace how the cursor position is converted to the displayed column. Done means a preference can switch the displayed column index between one-based and zero-based values.
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
- 35/100