[Github-comments] [geany/geany] Highlight C function names (patch available) (#1231)

elextr notifications at xxxxx
Fri Sep 16 07:55:15 UTC 2016


Sorry I don't understand the "word count before comma" examples, you have ==2 for all of them?

> i'm not a C++ guru, could you share some example?

Pick any C++ function _declaration_ (not a _definition_) and you can take out the parameter names and be perfectly valid.  Using `CellBuffer.h` as an example `InsertText(int, int)` would be perfectly valid C++.  But of course you couldn't leave out `line` from `LineStart(int line)` because its used in the definition.  But in definitions you can leave them out if they are unused, that avoids annoying "Parameter x unused" messages.

-- 
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/1231#issuecomment-247540455
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160916/6a85d7bf/attachment.html>


More information about the Github-comments mailing list