[Github-comments] [geany] CPP suggest and highlight methods from STL (#876)

Matthew Brush notifications at xxxxx
Thu Jan 21 15:37:13 UTC 2016


> Does highlightnig methods have the same story or it is valid request?

@Yanpas It would have to be a request to Scintilla project. The Python lexer can do this, but it might not be as easy for C++ lexer as Python uses `def` to define functions, where C++ is a lot harder. One vexing example, which I don't think can be determined without proper parsing of the code, is like:

```c++
static vartype varname(initval);
static returntype funcname(argtype);
```

I'm sure there's many more examples to make distinguishing simple enough for a dumb lexer.

---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/876#issuecomment-173608864
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160121/21c63deb/attachment.html>


More information about the Github-comments mailing list