vscode extension API - how to get only visible lines of editor
typescript, visual-studio-code, vscode-extensions
Solution
It's now possible via `TextEditor.visibleRanges`
https://github.com/Microsoft/vscode/issues/14756
Problem
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!