{"action":"created","issue":{"url":"https://api.github.com/repos/geany/geany/issues/876","labels_url":"https://api.github.com/repos/geany/geany/issues/876/labels{/name}","comments_url":"https://api.github.com/repos/geany/geany/issues/876/comments","events_url":"https://api.github.com/repos/geany/geany/issues/876/events","html_url":"https://github.com/geany/geany/issues/876","id":127765671,"number":876,"title":"CPP suggest and highlight methods from STL","user":{"login":"Yanpas","id":7345761,"avatar_url":"https://avatars.githubusercontent.com/u/7345761?v=3","gravatar_id":"","url":"https://api.github.com/users/Yanpas","html_url":"https://github.com/Yanpas","followers_url":"https://api.github.com/users/Yanpas/followers","following_url":"https://api.github.com/users/Yanpas/following{/other_user}","gists_url":"https://api.github.com/users/Yanpas/gists{/gist_id}","starred_url":"https://api.github.com/users/Yanpas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yanpas/subscriptions","organizations_url":"https://api.github.com/users/Yanpas/orgs","repos_url":"https://api.github.com/users/Yanpas/repos","events_url":"https://api.github.com/users/Yanpas/events{/privacy}","received_events_url":"https://api.github.com/users/Yanpas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-01-20T19:32:20Z","updated_at":"2016-01-21T15:37:12Z","closed_at":null,"body":"Geany lacks of c++ support.\r\n```\r\nstd::vector<std::pair<int,char> > a;\r\na[0].f // geany should suggest \"first()\" when I'm typing.\r\n```\r\nAlso `first` later should be highlighted.\r\nAlso is it neccesary to add template closures `< >` pair highlighting ?"},"comment":{"url":"https://api.github.com/repos/geany/geany/issues/comments/173608864","html_url":"https://github.com/geany/geany/issues/876#issuecomment-173608864","issue_url":"https://api.github.com/repos/geany/geany/issues/876","id":173608864,"user":{"login":"codebrainz","id":181177,"avatar_url":"https://avatars.githubusercontent.com/u/181177?v=3","gravatar_id":"","url":"https://api.github.com/users/codebrainz","html_url":"https://github.com/codebrainz","followers_url":"https://api.github.com/users/codebrainz/followers","following_url":"https://api.github.com/users/codebrainz/following{/other_user}","gists_url":"https://api.github.com/users/codebrainz/gists{/gist_id}","starred_url":"https://api.github.com/users/codebrainz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codebrainz/subscriptions","organizations_url":"https://api.github.com/users/codebrainz/orgs","repos_url":"https://api.github.com/users/codebrainz/repos","events_url":"https://api.github.com/users/codebrainz/events{/privacy}","received_events_url":"https://api.github.com/users/codebrainz/received_events","type":"User","site_admin":false},"created_at":"2016-01-21T15:37:12Z","updated_at":"2016-01-21T15:37:12Z","body":"> Does highlightnig methods have the same story or it is valid request?\r\n\r\n@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:\r\n\r\n```c++\r\nstatic vartype varname(initval);\r\nstatic returntype funcname(argtype);\r\n```\r\n\r\nI'm sure there's many more examples to make distinguishing simple enough for a dumb lexer."}}