How to find how many indentation lines exists in a line? #461
Answered
by
isidorn
Diogo-Rossi
asked this question in
Extension Development QnA
-
In my extension, I'd like to find how many indentation lines exists in a generic line. Is there a way to get that? For instance:
Is there a way to get that? |
Beta Was this translation helpful? Give feedback.
Answered by
isidorn
Jul 4, 2023
Replies: 1 comment 3 replies
-
Yes, in your extension you can get the content of the editor, and then inspect the content and figure out indentation. |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
isidorn
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, in your extension you can get the content of the editor, and then inspect the content and figure out indentation.