PersistentRegexHighlight icon indicating copy to clipboard operation
PersistentRegexHighlight copied to clipboard

No longer highlighting on modification

Open pruppert opened this issue 11 years ago • 3 comments

First, I love this plugin. Thank you for developing and sharing it. It has been working great until a few days ago when the highlights stopped occurring in real time with modifications. They do appear on reopening the file. There was no change made in settings that might explain the issue. The issue seems to have started when I updated a separate package - MarkdownEditing. Though, I'm not sure if that is related. Any ideas on how I can fix this? Thanks.

pruppert avatar Dec 31 '13 06:12 pruppert

Thanks for using the plugin. Are there any errors in the console while you are working? If you disable the MarkdownEditing plugin, then restart the editor, does the highlighting begin working again as expected? Can you also tell me the version of the operating system and sublime text you are using.

Thanks.

skuroda avatar Dec 31 '13 07:12 skuroda

Thanks for the reply. I was running ST 2.0.2 Build 2221 on Mac 10.9.1. No errors on console. Disabling MarkdownEditing fixes the problem, so their appears to be a conflict.

I have since tried the 2 packages in ST3 Build 3059, and there is again conflict but a little different. The highlights do occur in real time on modification, but they are all just a grey color (not my predefined colors). Still no errors in console. Disabling MarkdownEditing fixes the problem.

As this seems to be a conflict with MarkdownEditing, I understand if you can't help further. But any ideas are appreciated.

Thanks.

pruppert avatar Dec 31 '13 16:12 pruppert

If I had to guess, that plugin is using its own custom color scheme file that is preventing the coloring. If i recall correctly, the gray is used when a scope is defined, but cannot be found in the current color scheme file. I'm unsure why the on_modified behavior is acting up. I'd need to look a little closer at the Markdown plugin.

skuroda avatar Dec 31 '13 19:12 skuroda