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

New highlights working in unfocused editor #134

Open
dimateos opened this issue Feb 7, 2024 · 0 comments
Open

New highlights working in unfocused editor #134

dimateos opened this issue Feb 7, 2024 · 0 comments

Comments

@dimateos
Copy link

dimateos commented Feb 7, 2024

Right now, when you have the same file (or simple equal filename?), new highlights get matched and colored only in the first editor (by creation order)... instead of the currently focused one:

2024-02-07_(154335)_Code

This is more noticeable now with detachable editor windows, but happens with split editor groups too.

A common use case of having the same file opened twice is reading some part of a large file while editing other.

Request

  • IMO coloring of new highlights should happen in the focused editor, basically where edits are happening.
    • Coloring of non focused editor seems more of an edge case (looking at the exact same text in two editors), plus could potentially affect performace?
    • But ideally, at least, coloring could be recalculated for an editor when it re-gains focus. Right now you have to switch to a different tab (hiding its content) and back.

Regards! Thanks for the extension :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant