Selection size #3939
Unanswered
ninetailedtori
asked this question in
Q&A
Selection size
#3939
Replies: 1 comment 5 replies
-
|
I assume you're using the
Also, the function named in the I have some questions:
As for the character count, you could use this loop: local cursors = b:GetCursors()
for _, c in cursors() do endYou can then use |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Heyo, so I'm tryna add some customisation to the main statusbar, really, and I'm trying to get it to display the size of any current selection if there is a selection. That's including rectangular selections, and single-line selections. I want to know the length and thus char count, in a single-line selection, and in multiline rect selections, I wanna know the length and width, and perhaps char count. Not too sure how to impl something like this, would value advice :]
Beta Was this translation helpful? Give feedback.
All reactions