Bugs item #1888195, was opened at 2008-02-06 21:46
Message generated for change (Comment added) made by lebert
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=111005&aid=1888195&group_id=11005

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Joerg Fischer (jf505)
Assigned to: Nobody/Anonymous (nobody)
Summary: calltip's ID not returned correctly

Initial Comment:
The built-in macro function calltip() returns calltip's ID only in tipText 
mode.  The attached patch fixes it.

----------------------------------------------------------------------

Comment By: Bert Wesarg (lebert)
Date: 2008-03-02 00:29

Message:
Logged In: YES 
user_id=122956
Originator: NO

joerg can you look at my new solution for the not-found-tip in patch
SF#1633136.

Thanks.

I will tomorrow test your patch, and report than back here.

----------------------------------------------------------------------

Comment By: Joerg Fischer (jf505)
Date: 2008-02-27 03:53

Message:
Logged In: YES 
user_id=918104
Originator: YES

I made that statement before I wrote the patch, and the statement is
wrong.

What the patch does is: In tips mode, return 0 on failure (i.e., nothing
found) or the calltips id on success - just like the docs claim. In tags
mode, return <=0 on errors or if nothing found, or > 0 if a tag was found.

----------------------------------------------------------------------

Comment By: Bert Wesarg (lebert)
Date: 2008-02-26 23:01

Message:
Logged In: YES 
user_id=122956
Originator: NO

you wrote in you devel mail:

Therefore, I see no harm to change the return values to -2 on error, -1
for nothing found, and some number >= 0 for something found.

But 0 is used in tips mode to indicate that nothinig was found, because
calltip IDs are >= 1.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=111005&aid=1888195&group_id=11005
-- 
NEdit Develop mailing list - [email protected]
http://www.nedit.org/mailman/listinfo/develop

Reply via email to