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

Also export colored sublime regions (view.add_regions) #93

Open
evandrocoan opened this issue Feb 25, 2022 · 2 comments
Open

Also export colored sublime regions (view.add_regions) #93

evandrocoan opened this issue Feb 25, 2022 · 2 comments
Labels
S: triage Issue needs triage.

Comments

@evandrocoan
Copy link

I use https://github.com/seanliang/HighlightWords to highlight words (regions). It would be possible to export these highlights?

image

They are basically this:

view.add_regions('regionname', [locations], 'entity.name.class')

It would be possible to the get color for 'entity.name.class' in the current color scheme and add it to the html page?

@gir-bot gir-bot added the S: triage Issue needs triage. label Feb 25, 2022
@facelessuser
Copy link
Owner

There are endless special regions that are injected by various packages. I would get endless requests to support Package X highlights if I started down this road. If sublime created a generic way to expose such info, that may be different, but as things currently stand, I will probably not be adding such support.

@facelessuser
Copy link
Owner

If I could come up with a generic way users could specify regions to look for, it may be possible. I'm not sure how much effort this would require though. I'll at least look into it.

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

No branches or pull requests

3 participants