PersistentRegexHighlight icon indicating copy to clipboard operation
PersistentRegexHighlight copied to clipboard

Feature Request -- on_restart (boolean setting)

Open hced opened this issue 12 years ago • 2 comments

A boolean value that specifies if highlighting should occur when Sublime Text (re)opens.

Say I have a file open that shows all my regex highlights. If I quit and restart Sublime Text – in which said file will reopen (at least on OS X) – the highlights won't show up until I modify or reopen the file.

hced avatar Jun 08 '13 00:06 hced

Sure, hopefully in the next week I'll be able to catch up on all the feature request I have for plugins. Keep an eye out. :smile: Of course, pull requests are always welcome too.

skuroda avatar Jun 08 '13 02:06 skuroda

Sorry for the delay, I keep forgetting to comment here. Anyways, I forgot there isn't an event for when a project loads. To try to get an "on_restart" type functionality, I could try do some initial highlighting when ST loads. However, I don't have a way to reapply highlighting if another project were to be opened. I know developers have requested an project_load event listener (especially since it appears there was one in ST1). I'll keep an eye out to see if the API gets updated. That being said, if it does, I would guess it would only apply to ST3.

skuroda avatar Sep 05 '13 19:09 skuroda