0x7c13 / Notepads

A modern, lightweight text editor with a minimalist design.
https://www.NotepadsApp.com
MIT License
8.65k stars 474 forks source link

[feature request] Add option to start with line number 0 #1207

Open SpaceBoySnens opened 1 year ago

SpaceBoySnens commented 1 year ago

Basically what the title says. I'm currently working with Johnny, a simplified van neumann computer simulator. The programm files are stored as normal text files with the problem that they start with line number 0, which makes editing them in Notepads a bit brainfuck sometimes.

0x7c13 commented 1 year ago

This is purely dev/coder driven use case where majority of Notepads users are not developers or coders. I won't implement it or providing settings for switching the starting number of the line numbers column, but you can always change the source code and generate a release build for your own.

https://github.com/0x7c13/Notepads/blob/22f201f4ac91a0ba632228b75b7e0ccee3e2d5b3/src/Notepads/Controls/TextEditor/TextEditorCore.LineNumbers.cs