I've searched the documentation but I could find nothing.
is there a way to get only the "visible" text of the document in the editor (so, I don't want to get the text / lines of hidden text by scrollbar)?
Thanks guys!
It's now possible via TextEditor.visibleRanges
https://github.com/Microsoft/vscode/issues/14756
This is not possible with the current API.
You can make a feature request by creating an issue here: https://github.com/microsoft/vscode/issues
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With