Re: Intercepting and modifying calltips on the fly

Neil Hodgson <[email protected]> Tue, 25 Apr 2023 04:55:43 -0700 (PDT)
Newsgroups gmane.editors.scite.general
Message-ID <[email protected]>
Tim Rude:

What if an OnCallTipShow event function fires right after the automatic 
calltip routine reads the calltip info from the api file, and it passes as 
a parameter the calltip text that was read. ... Then the code in the 
OnCallTipShow event function could modify that calltip text as desired, and 
pass the modified text back as the function's return value (rather than a 
True / False return).


That's likely workable. There is no good sample for a string returning 'On' 
function as they follow a pattern where there can be arguments sent to Lua 
but only return a 'continue processing' boolean.

   Neil

-- 
You received this message because you are subscribed to the Google Groups "scite-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/scite-interest/a9120a9b-3163-4fd4-8278-86a2d149b814n%40googlegroups.com.