Yep, that's exactly what I needed - the problem is that's what I was
doing and it doesn't seem to work!

My code is:

string calltip = "\001\002 1 of 2 public void bonzo(int i)";
scintilla.CallTipShow(scintilla.CurrentPos, calltip);

and when I do this all I get is a little blank window popping up in
the correct place with nothing in it.  If I remove the \001\002, then
it works fine.  I'm using SciLexer.dll version 1.67 - anyone else have
this problem?

Cheers
Matt



On 13/03/06, Steve Donovan <[EMAIL PROTECTED]> wrote:
> Sorry, Matt.  Shouldn't type in haste on Monday morning.
> Wrong part of right program.
>
> In ScintillaNET, there's the CallTipClick notification, which
> passes us an int; if it's 1 we're going back and 2 if we're going up.
>
> Each signature is represented by one string, which looks like this
> (mentally translating from Boo to C# here):
>
> string[] sig = {"\001\002 1 of 2 public void bonzo(int i)",
>                     "\001\002 2 of 2 public void bonzo(int i, int k)"};
>
> sc.CallTipShow(sc.CurrentPos,sig[k]);
> sc.CallTipSetHlt(ls[k],ls[k+1])
>
> where k cd either be 0 or 1 in this case. The calltip notification
> basically decrements or increments k, and recalls the above
> lines.
>
> ls is an array of comma-positions found in the signature.
>
> Does this help?
>
> steve d.
>
> >>> [EMAIL PROTECTED] 03/13/06 11:28 AM >>>
> Hi Steve
>
> Unfortunately that's the autocompletion - I'm interested in the call
> tips which is different.  If you use spaces in call tips, the call tip
> displays as one long line.
>
> It's the up/down arrows between call tips that I can't work out!
>
> Cheers
> Matt
>
>
> On 13/03/06, Steve Donovan <[EMAIL PROTECTED]> wrote:
> > You do know that the default separator for calltips is a space?
> > This can be set differently (using the ScintillaNET bindings)
> >
> > sc.AutoCSetFillUps("([");
> > sc.AutoCSeparator = (uint)'\n';
> > ...
> > sc.AutoCShow(length,_apiStr);
> >
> > steve d.
> >
> >
> > >>> [EMAIL PROTECTED] 03/10/06 7:24 PM >>>
> > Hi All
> >
> > Bearing in mind I'm using a .NET wrapper, does anyone have any idea
> > how to send in the up/down arrows as part of the definition string for
> > call tips?
> >
> > If I send the string "aaa\nbbb\nccc" I get three rows in the call tip.
> >  However, I can't work out what I should pass in to only get one line
> > with "aaa", bbb", and "ccc" navigable via arrows.  The documentation
> > says it should be the '\001' and '\002' characters but I just can't
> > work it out.
> >
> > Thanks
> > Matt
> >
> > _______________________________________________
> > Scintilla-interest mailing list
> > [email protected]
> > http://mailman.lyra.org/mailman/listinfo/scintilla-interest
> >
> >
> > --
> > This message is subject to the CSIR's copyright, terms and conditions and
> > e-mail legal notice. Views expressed herein do not necessarily represent the
> > views of the CSIR.
> >
> > CSIR E-mail Legal Notice
> > http://mail.csir.co.za/CSIR_eMail_Legal_Notice.html
> >
> > CSIR Copyright, Terms and Conditions
> > http://mail.csir.co.za/CSIR_Copyright.html
> >
> > For electronic copies of the CSIR Copyright, Terms and Conditions and the 
> > CSIR
> > Legal Notice send a blank message with REQUEST LEGAL in the subject line to
> > [EMAIL PROTECTED]
> >
> >
> > This message has been scanned for viruses and dangerous content by 
> > MailScanner,
> > and is believed to be clean.
> >
> >
> > _______________________________________________
> > Scintilla-interest mailing list
> > [email protected]
> > http://mailman.lyra.org/mailman/listinfo/scintilla-interest
> >
>
> _______________________________________________
> Scintilla-interest mailing list
> [email protected]
> http://mailman.lyra.org/mailman/listinfo/scintilla-interest
>
>
> --
> This message is subject to the CSIR's copyright, terms and conditions and
> e-mail legal notice. Views expressed herein do not necessarily represent the
> views of the CSIR.
>
> CSIR E-mail Legal Notice
> http://mail.csir.co.za/CSIR_eMail_Legal_Notice.html
>
> CSIR Copyright, Terms and Conditions
> http://mail.csir.co.za/CSIR_Copyright.html
>
> For electronic copies of the CSIR Copyright, Terms and Conditions and the CSIR
> Legal Notice send a blank message with REQUEST LEGAL in the subject line to
> [EMAIL PROTECTED]
>
>
> This message has been scanned for viruses and dangerous content by 
> MailScanner,
> and is believed to be clean.
>
>
> _______________________________________________
> Scintilla-interest mailing list
> [email protected]
> http://mailman.lyra.org/mailman/listinfo/scintilla-interest
>

_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to