Luca Trazzi Luca Trazzi - 5 months ago 45
TypeScript Question

vscode extension API - how to get only visible lines of editor

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!


This is not possible with the current API.

You can make a feature request by creating an issue here: