Selected text info

Post Reply
ertank
Posts: 61
Joined: 06.06.2021 21:56

Selected text info

Post 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
Attachments
image_2022-01-30_235432.png
image_2022-01-30_235432.png (7.53 KiB) Viewed 2864 times
miro.matas
Posts: 67
Joined: 26.08.2013 06:16

Post by miro.matas »

via Options Editor Lite - set your statusbar…
Attachments
Untitled.png
ertank
Posts: 61
Joined: 06.06.2021 21:56

Post 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
Attachments
image_2022-02-02_182559.png
image_2022-02-02_182559.png (7.78 KiB) Viewed 2851 times
image_2022-02-02_182457.png
miro.matas
Posts: 67
Joined: 26.08.2013 06:16

Post by miro.matas »

{_ln} {y}, {_col} {xx}, {sel} {_linesel}, {_sel} {selchars}
Attachments
CT_SelSettings.png
ertank
Posts: 61
Joined: 06.06.2021 21:56

Post 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
main Alexey
Posts: 2708
Joined: 25.08.2021 18:15

Post 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.
Post Reply