ScintillaNET icon indicating copy to clipboard operation
ScintillaNET copied to clipboard

CallTip Overloads

Open DeeboSan opened this issue 10 years ago • 3 comments

Hello,

Will this new version have call tip overload support similar to v2.6 or will we need to implement that manually?

Thanks

DeeboSan avatar Feb 21 '16 18:02 DeeboSan

What overloads are you looking for?

jacobslusser avatar Mar 05 '16 22:03 jacobslusser

It's not a method overload. It's the "OverloadList". This allows you to show a CallTip with multiple messages. Scintilla puts little "up" and "down" arrows in the calltip window to allow you to scroll through them but you have to code the clicked events to display the next message. The old Scnitilla.NET supported this by creating the OverloadList abstraction and handled all the events for you.

var ol = new ScintillaNET.OverloadList(overloadList.ToArray());
this.CallTip.ShowOverload(ol);   

DeeboSan avatar Mar 06 '16 18:03 DeeboSan

Gotcha...

To make this work we actually have to add a couple missing features to ScintillaNET to handle call tip clicks, etc...

I'll put it on the backlog.

jacobslusser avatar Mar 19 '16 17:03 jacobslusser