linuxmint / xed

X-Apps [Text] Editor (Cross-DE, backward-compatible, GTK3, traditional UI)
GNU General Public License v2.0
450 stars 84 forks source link

Feature Request: enhance display line number, by adding a filter field to exclude files types (.txt, .md) #556

Open artofit opened 1 year ago

artofit commented 1 year ago
 * Xed version (xed --3.2.7)

Issue Feature request: Under preferences>Editor one can toggle on/off the fact of displaying line numbers

This feature applies to all files, either you want it or not. If it is very convenient for programming, so files such as .c, .ino, .js, .css, etc it is not desirable for text related files such .txt, .md

Therefore I, as the list of programming files can be consequent(.sql, .cpp, .java, ...), I propose the following small change. See Capture d’écran Xed add a text field under the line for the option to toggle on/off, so that when toggle ON, displaying line numbers applies to any files, to the exception of listed files in the text field.

Thanks P.S. I found the red color of files excluded, to be a good choice to show the exclusion.

billiardmarker commented 1 month ago

If any work is considered on the line number feature, one thing that I miss from Pluma is a shortcut key to toggle line number display on and off. bm