Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configurable top statusbar #7

Open
Alexey-T opened this issue Aug 31, 2021 · 2 comments
Open

Configurable top statusbar #7

Alexey-T opened this issue Aug 31, 2021 · 2 comments

Comments

@Alexey-T
Copy link

Alexey-T commented Aug 31, 2021

Can you make this bar contents the option? with macros. so default value can be option value like [{LineCount}] L:{LineIndex} C:{ColIndex} .

@vikonix
Copy link
Owner

vikonix commented Aug 31, 2021

I think about it.

@Alexey-T
Copy link
Author

later you may add more macros here.
see how CudaText does it--

Macros:
{y}: line index of first caret
{y2}: line index of last caret
{yb}: line index of first selection beginning
{ye}: line index of first selection ending
{x}: column index of first caret, tab-chars counted as 1
{xx}: column index of last caret, tab-chars expanded
{count}: total number of lines
{carets}: total number of carets
{sel}: number of lines affected by selection(s)
{selchars}: number of selected characters, for all kinds of selections
{cols}: number of columns in column selection
{char}: character at first caret (empty if no char)
{char_dec}: character at first caret - decimal code (empty if no char)
{char_hex}: character at first caret - 2...4-digit hex code (empty if no char)
{char_hex4}: character at first caret - 4-digit hex code (empty if no char)
{_ln}: localized string "Ln"
{_col}: localized string "Col"
{_sel}: localized string "sel"
{_linesel}: localized string "lines sel"
{_carets}: localized string "carets"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants