[ScintillaNET] Re: Calltip usage in ScintillaNet

  • From: "Garrett Serack" <Garrett_Serack@xxxxxx>
  • To: <scintillanet@xxxxxxxxxxxxx>
  • Date: Thu, 10 Jun 2004 10:14:29 -0600

Try to use \\n instead maybe?

I can't tell off the top of my head, but that may work.

I won't have time to look at this probably for a couple weeks.

Garrett

-----Original Message-----
From: scintillanet-bounce@xxxxxxxxxxxxx
[mailto:scintillanet-bounce@xxxxxxxxxxxxx]On Behalf Of Jansen Bert
Sent: Thursday, June 10, 2004 6:52 AM
To: scintillanet@xxxxxxxxxxxxx; Discussion of the Scintilla editing
component
Subject: [ScintillaNET] Calltip usage in ScintillaNet


 
Hello,

I'm implementing calltips in my scintillaNet project and I stumble onto
the following problem:

Suppose I have this code (simplified form) :

currPos = scintillaControl1.CurrentPos;
callTip = Convert.ToChar(001) + " " + Convert.ToChar(002) + 
          "SUBSTRING(SourceStr [CHAR], Starting pos [INT])" + "\n" + 
          "SUBSTRING( SourceStr [CHAR], Starting pos [INT], Length
[INT])";
scintillaControl1.CallTipShow(currPos, callTip);



This will display a calltip with an up and down arrow (the \001 and \002
chars), but the \n is shown as cariage return --> my calltip has two
lines and scintilla thinks there's are no overloads, so the arrows don't
work. If looked into the scintilla source and there it uses \n as
calltip delimiter so I assume there's something wrong in the wrapper?
Anyone an idea how to solve/research this?


Regards,
Bert Jansen
--------------------------------------------------------------------------
ScintillaNET Mailing List: ScintillaNET@xxxxxxxxxxxxx

    To unsubscribe: Send an email to scintillanet-request@xxxxxxxxxxxxx
    and put "unsubscribe" (without the quotes) in the Subject line. 

    Web Page: http://tinyurl.com/yvoh2
--------------------------------------------------------------------------
ScintillaNET Mailing List: ScintillaNET@xxxxxxxxxxxxx

    To unsubscribe: Send an email to scintillanet-request@xxxxxxxxxxxxx
    and put "unsubscribe" (without the quotes) in the Subject line.

    Web Page: http://tinyurl.com/yvoh2

Other related posts: