[Github-comments] [geany/geany] C++ highlighting new type by , , using'' syntax (#1944)

elextr notifications at xxxxx
Tue Sep 4 07:54:45 UTC 2018


> When I typedef int abc; abc is highlighted as a new type, but using abc = int; doesn't.

duplicate of #545 (one of)

The parsers come from the [Universal ctags](https://github.com/universal-ctags/ctags) project (I'm getting sick of saying that).  That project is developing a new C++ parser which may be better, watch this space.

> Moreover, it would be niece to have third kind of color for keywords.

Highlighting lexers determine the number of sets of defined names they accept.  The lexers are part of the [Scintilla](https://www.scintilla.org/) project and the change would need to happen there first.

> is it possible to declare keywords highlighted as numbers (ex. true, false, nullptr in the same color as 42, 0xDEADBEEF and so on) 

Each set of keywords has its own style and thats separate from numbers, but there is nothing stopping you editing your colour scheme to make the two styles look the same.



-- 
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/issues/1944#issuecomment-418275247
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20180904/aa2dc2b9/attachment.html>


More information about the Github-comments mailing list