Hi,
I have setup a test env to test your patch. But I noticed a strange behavior.
Here is my test input:
-----test.c-----
int
test_tag(int arg)
{
return arg;
}
-----test.c-----
------tags------
!_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;"
to lines/
!_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted, 2=foldcase/
!_TAG_PROGRAM_AUTHOR Darren Hiebert /[EMAIL PROTECTED]/
!_TAG_PROGRAM_NAME Exuberant Ctags //
!_TAG_PROGRAM_URL http://ctags.sourceforge.net /official site/
!_TAG_PROGRAM_VERSION 5.5.2 //
test_tag test.c /^test_tag(int arg)$/;" f
------tags------
------tips------
* language *
NEdit Macro
test_tip
int test_tag(int arg);
------tips------
----test.nm-----
load_tags_file("tags")
load_tips_file("tips")
id = calltip("test_tag", -1, "tagKey")
t_print(id ":" $calltip_ID "\n")
kill_calltip()
id = calltip("test_tip", -1, "tipKey")
t_print(id ":" $calltip_ID "\n")
kill_calltip()
id = calltip("test_tag", -1, "tipKey")
t_print(id ":" $calltip_ID "\n")
kill_calltip()
----test.nm-----
put all these files into an empty directory, and start from this
directory nedit:
$ NEDIT_HOME=$PWD nedit test.nm
than load the test.nm as a macro file
I get this output, with and without your patch:
1:1
1:2
1:3
Any suggestions, what went wrong here?
Bert
--
NEdit Develop mailing list - [email protected]
http://www.nedit.org/mailman/listinfo/develop