title: Better syntax highlighting for Geany
body: <p>I've recently started using a lightweight IDE called Geany. It's really efficient, very light on resources and has all the basic functionality I need. It has built in syntax highlighting for lots of programming languages including C++ which I'm coding in, however some of the highlighting doesn't seem to function properly.</p>
  
  <p><img src="https://i.imgur.com/SKJqPsf.png" alt="this screenshot I took"></p>
  
  <p>Looking at the above screenshot I took, you can see that there is some syntax highlighting going, however the user declared function "addition" has no colouring applied to it, even after changing its colour in the configuration files. I found out that when I change the colour of "operator" in the configuration file, it changes every semicolon, bracket etc. to that colour, so clearly the dectection there isn't great.</p>
  
  <p>I think this issue is due to the way the syntax highlighter works, which I believe is scintilla looking at the Geany GitHub source files. Here is the lexer file specifically for C++: <a href="https://github.com/geany/geany/blob/master/scintilla/lexers/LexCPP.cxx" rel="nofollow noreferrer">https://github.com/geany/geany/blob/master/scintilla/lexers/LexCPP.cxx</a></p>
  
  <p>&nbsp;</p>
  
  <p>I have a few questions:</p>
  
  <ol>
  <li><p>Can the lexer file for C++ be updated with a better one so it can actually detect user defined functions as well as other parts of the language?</p></li>
  <li><p>Is there a way of viewing all the different syntax's that scintilla picks up on (string, operator, preprocessor etc.)?</p></li>
  <li><p>Are there any better syntax highlighters that could be possibly integrated into Geany?</p></li>
  </ol>