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

Layouts shipped with bless miss highlight-on-selection feature #12

Open
cweiske opened this issue May 21, 2019 · 1 comment
Open

Layouts shipped with bless miss highlight-on-selection feature #12

cweiske opened this issue May 21, 2019 · 1 comment

Comments

@cweiske
Copy link

cweiske commented May 21, 2019

When copying the layout files from git-src/data/ into ~/.config/bless/layouts/, a feature is gone:
By selecting one or several bytes, other locations of the same byte sequence is highlighted.

Only after removing the layouts from the config folder and restarting bless, the feature is back.

@felixdoerre
Copy link

Hi, something similar happened to me, and I've maybe got an explanation or a workaround for you (or anyone else who stumbles upon this):
The "highlight-on-selection" feature seems to be provided by a plugin and not directly configured by the layouts. After copying the default layout into my ~/.config/bless I also noticed that the "highlight-on-selection" being gone.

So more concretely I imagine this being a bug in the "PatternMatchHighlight"-plugin. I can workaround this bug by switching the default layout to one of the custom layouts (and restarting bless). Then I get a working "PatternMatchHighligh" on a custom layout. Switching the layout to any layout breaks "highlight-on-selection".

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

2 participants