[Github-comments] [geany/geany] Enable local variables for C/C++ and improve autocompletion (PR #3185)
Thomas Martitz
notifications at github.com
Sun May 8 18:45:19 UTC 2022
@kugel- commented on this pull request.
> {
- TMTag **tag, *last = NULL;
- guint i, count, num;
+ TMParserType lang = current_file ? current_file->lang : TM_PARSER_NONE;
+
+ /* ignore local variables from other files/functions or after current line */
+ gboolean valid = !(tag->type & tm_tag_local_var_t) ||
+ (current_file == tag->file &&
+ current_line >= tag->line &&
OK
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3185#discussion_r867528195
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/pull/3185/review/965470315 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20220508/19470878/attachment.htm>
More information about the Github-comments
mailing list