Discussion:
Changing Highlights in Scintilla Calltips
Stefano Mtangoo
2014-05-03 23:33:33 UTC
Permalink
I have calltip that shows function signature and wants to change highlight
of argument each time user types a comma.
I can see it implemented in man IDEs and cant get it right. What
function/signal do they real use? I have tried something like below it does
not work at all

CallTipShow(GetCurrentPos(), callTip);
CallTipSetHighlight(GetCurrentPos(), 10);

Any hint is apreciated!
TIA,
Stefano
--
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scintilla-interest+***@googlegroups.com.
To post to this group, send email to scintilla-***@googlegroups.com.
Visit this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/d/optout.
Stefano Mtangoo
2014-05-07 15:43:04 UTC
Permalink
Hi Neil,
I have calltip that shows function signature and wants to change highlight of argument each time user types a comma.
I can see it implemented in man IDEs and cant get it right.
I have implemented that and to some extent its working.
Now I have a related problem. If I pass any word position after ( 5 for
example in calltip text of "add($a, $b)" as start position then selection
disappears.
If I Take it back let say to 0, it works. Is this by design?
Since SciTE does this, you should examine its source code.
Neil
Scite is great wealth!
--
Stefano D. Mtangoo
Mob: +255 754710410
Web. http://hosannahighertech.co.tz
Linkedin: http://www.linkedin.com/pub/stefano-mtangoo/45/644/281
*The purpose of man is to know his Maker Be known by his Maker And make
his Maker known So that others may know his Maker as their Maker(Emeal
Zwayne) *
--
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scintilla-interest+***@googlegroups.com.
To post to this group, send email to scintilla-***@googlegroups.com.
Visit this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/d/optout.
Loading...