[Github-comments] [geany/geany] Add missing string and comment styles for various lexers (#1502)

Enrico Tröger notifications at xxxxx
Sun May 28 11:13:13 UTC 2017


I just added SCE_RB_STRING_Q* and  SCE_C_USERLITERAL.

What do we want to about the regex styles?
Considering those styles as strings would "break" SpellCheck (provided we change it to use `highlighting_is_*_style()` instead of its own mapping).
On the other hand, it could help the AutoClose plugin which already uses `highlighting_is_code_style` to check wether it should close brackets or not and auto-closing brackets in regelar expressions might be confusing.

When SpellCheck would use `highlighting_is_*_style()` for style checking, it could be OK to add a successor check to treat the regex styles special for the SpellCheck context.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1502#issuecomment-304507367
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20170528/563c8286/attachment.html>


More information about the Github-comments mailing list