Page 1 of 1
Selected text info
Posted: 30.01.2022 20:54
by ertank
Hello,
I am used to see selection details like selected lines, selected letters count when I was using Notepad++
I could not see such information on CudaText (sample view attached). It maybe me who missed a setting or something.
I appreciate any help.
Thanks & Regards,
Ertan
Posted: 31.01.2022 15:01
by miro.matas
via Options Editor Lite - set your statusbar…
Posted: 02.02.2022 15:26
by ertank
I cannot make it work. I don't know what I am doing wrong. I modified the setting. Applied it.
This is after I completely close and re-run CudaText
Posted: 02.02.2022 22:05
by miro.matas
{_ln} {y}, {_col} {xx}, {sel} {_linesel}, {_sel} {selchars}
Posted: 03.02.2022 05:44
by ertank
It seems CudaText has several parameters for different kinds of selections. Their defaults are below:
Code: Select all
"ui_statusbar_no_sel": "{_ln} {y}, {_col} {xx}",
"ui_statusbar_small_sel": "{_ln} {y}, {_col} {xx}, {_sel}",
"ui_statusbar_str_sel": "{_ln} {y}, {_col} {xx}, {sel} {_linesel}",
"ui_statusbar_col_sel": "{sel}x{cols} {_sel}",
"ui_statusbar_carets": "{carets} {_carets}, {sel} {_linesel}",
I believe, "ui_statusbar_small_sel" should be added number of selected characters in its default value. Currently it only displays "sel" word. One I put below in my users.json I started to see small selection counts displayed
Code: Select all
"ui_statusbar_small_sel": "{_ln} {y}, {_col} {xx}, {_sel} {selchars}",
Thanks & Regards,
Ertan
Posted: 06.02.2022 13:14
by main Alexey
It seems CudaText has several parameters for different kinds of selections. Their defaults are below:
yes, and you need to change the option "ui_statusbar_small_sel".
I believe, "ui_statusbar_small_sel" should be added number of selected characters in its default value. Currently it only displays "sel" word.
why we need to cahnge the default value?
default value is good.
you can add the number of chars to the value.