On Sun, Apr 24, 2016 at 7:49 PM, Lex Trotman elextr@gmail.com wrote:
On 25 April 2016 at 06:01, R.Mariotti r.mariotti@fdcx.net wrote:
As my eyes get older and more tired I am having difficulty seeing the differences between a single quote and double quote characters.
There is no way of having the different quotes different colours. It would require special code in the upstream Scintilla editing widget that does the syntax detection for highlighting. I doubt it would be accepted.
Well, there is clearly *something* in Scintilla that can distinguish between the two quote characters, because the C/C++ and Python lexers for SciTE have single-quotes as a separate style from double-quotes. (No doubt other lexers do as well, but I have personally used those two.)
So if it is difficult to add to Geany, it is due to design decisions within Geany. I'm not saying Geany has a bad design, or that Scintilla makes it easy. I just know that it is possible with Scintilla.
John Y.