Hi,
while I'm working on tag (or tip) completions, I noticed that the
language mode constraint for tip files is only effective if Tag
Collisions is set to Smart. There is nothing on that in the help:
Language blocks specify which language mode the calltips
should be used with. When a calltip is requested it
won't match tips from languages other than the current
language mode.
Moreover, although Exuberant Ctags can include language information in
the tags, currently this isn't parsed by nedit. That is, all tags get
the Plain language mode. Only tips use the language mode.
Now, I'm puzzled so I must ask what were/are the intentions?
I mean
[tags.c, findAllMatches()]
/* Skip this tag if it has a language mode that doesn't match the
current language mode, but don't skip anything if the window is in
PLAIN_LANGUAGE_MODE. */
if (window->languageMode != PLAIN_LANGUAGE_MODE &&
GetPrefSmartTags() && langMode != PLAIN_LANGUAGE_MODE &&
langMode != window->languageMode) {
is so obvious (what's the GetPrefSmartTags() good for among all the
language mode stuff), that it's hard to believe it's just a mistake.
Cheers,
Jörg
--
NEdit Develop mailing list - [email protected]
http://www.nedit.org/mailman/listinfo/develop