Yes, this is a regression from #322.

I tried a quick hack which strips the apostrophe from the word beginning and 
end if the style before resp. after the word is different. In this context 
`style` means highlighting types like string, identifier, keyword and similar. 
This works pretty good for your examples but it fails on Python's triple 
strings (`'''...'''').

Another, simpler approach could be to strip any apostrophes at word start and 
end. This might accidentally delete a legit apostrophe like in plural forms of 
the possessive case (e.g. `The players’ boots`) but this should have no 
negative effect on spell checking as the rest of the word must be valid anyway, 
I hope.

-- 
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/issues/484#issuecomment-247886198

Reply via email to