Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An API to get a range of visible positions in the editor #7513

Closed
spywhere opened this issue Jun 10, 2016 · 2 comments
Closed

An API to get a range of visible positions in the editor #7513

spywhere opened this issue Jun 10, 2016 · 2 comments
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@spywhere
Copy link
Contributor

spywhere commented Jun 10, 2016

It would be useful for extension developers to get a range of visible positions (or lines) in the editor.

This would be useful when the extension is dealing with the visual aspect of the VSCode since the extension does not need to update the visual on invisible area.

For example, Guides needs to update its indentation guide lines but this has impact the extension performance (spywhere/vscode-guides#6) due to a calculation on whole file which cause the lag on the VSCode. With this API, Guides can now update only visible area, reduce the necessity of update the invisible area which can improve the performance a lot.

@spywhere
Copy link
Contributor Author

Well, seems like it is a dup of #2771, #588

@sandy081 sandy081 added the *duplicate Issue identified as a duplicate of another issue(s) label Jun 14, 2016
@sandy081
Copy link
Member

@spywhere Yes they are and thanks for providing the duplicates :).

Duplicates #2771

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

2 participants