In src/editor.c:
> + > + g_return_if_fail(editor != NULL); > + sci = editor->sci; > + > + if (pos == -1) > + pos = sci_get_current_position(sci); > + > + line = sci_get_line_from_position(sci, pos); > + line_start = sci_get_position_from_line(sci, line); > + startword = pos - line_start; > + endword = pos - line_start; > + > + word[0] = '\0'; > + chunk = sci_get_line(sci, line); > + > + const char *punctuation = ":.";
I don't think -> and ->* would be necessary. Value returned from read_current_scope is compared to (*tag)->scope in function tm_workspace_find, which is a value from the tags file/static list of tags. In a tag hierarchy a new class will never be defined with the scope BaseClass->ChildClass. Can't take the pointer of a BaseClass, only an instance of it. see what I mean?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.