[Github-comments] [geany] Preventing keywords from being changed (#834)

elextr notifications at xxxxx
Sat Dec 19 23:18:51 UTC 2015


The only indication of what syntactic entity a character belongs to is the highlighting style.  Highlighting is done Scintilla lexers.  The set of syntax entities is filetype dependent (keywords, strings, comments, etc).  A dialog that provided a checklist of entities to select would have to be different for each filetype and synchronised with Scintilla each release (adding to the workload of incorporating a Scintilla release).

It is therefore unlikely to be implemented.

Instead you can simply be more specific in your search terms for replacement, eg replace $y with $x instead of just y with x.  This will also stop you changing $why to $whx or the comment `// why yell you yowee` to `// whx xell xou xowee` both of which which the syntax check would still allow.

---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/834#issuecomment-166033125
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20151219/074dcc34/attachment.html>


More information about the Github-comments mailing list