cloose / CuteMarkEd

Qt Markdown Editor

Home Page:http://cloose.github.io/CuteMarkEd

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Option to display current column (characters from start of line) in status bar at the bottom

yaomtc opened this issue · comments

I would like to be able to see what column the cursor is currently at. This is useful if you want to add single line breaks to increase readability of long lines, but want to keep the length around, say, 80 characters. Could be disabled by default if you want to keep the interface cleaner.

How it's done in some editors is that there is a (configurable) option that can be toggled in the view menu that shows a "long line marker":

notepad2-mod-long_line_marker

In the screenshot above, you can see the setting toggled on and the yellow marker visible. The first paragraph has been manually split so that each line is below the character limit (it is a coding standard/requirement for some projects). The second paragraph is a single line that is left to be wrapped by the "word wrap" setting (above the "long line marker" setting).

In the same screenshot, you can see that at the bottom-left corner there is an indication of line/column where the cursor is currently at.

I think that these are very valuable settings/features for any editor that respects itself.

...and as I said, the character limit where the marker is shown is configurable:

notepad2-mod-long_line_marker_settings

@klonos, @yaomtc
Thanks for your input, guys. This functionality is already implemented and available in develop branch, but still to be released.

lines_editor

lines_options