Luca Trazzi Luca Trazzi - 1 year ago 165
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!

Answer Source

This is not possible with the current API.

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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download