[Github-comments] [geany/geany-plugins] Treat underscore as word seperator (#512)

Enrico Tröger notifications at xxxxx
Wed Dec 28 21:40:36 UTC 2016


We remove the underscore character temporarily from the wordchars
to make Scintilla split words on underscore.
After splitting the current line into words, we add the underscore again
to the document's wordchars setting if it was in before.
    
Fixes #496.
You can view, comment on, or merge this pull request online at:

  https://github.com/geany/geany-plugins/pull/512

-- Commit Summary --

  * SpellCheck: Treat underscore as word seperator
  * SpellCheck: Reset wordchars only if we modified it before

-- File Changes --

    M spellcheck/src/speller.c (29)

-- Patch Links --

https://github.com/geany/geany-plugins/pull/512.patch
https://github.com/geany/geany-plugins/pull/512.diff

-- 
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-plugins/pull/512
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20161228/9ae5b9b7/attachment.html>


More information about the Github-comments mailing list