[ScintillaNET] Calltip usage in ScintillaNet

  • From: "Jansen Bert" <Bert.Jansen@xxxxxxxxxxxxxxx>
  • To: <scintillanet@xxxxxxxxxxxxx>,"Discussion of the Scintilla editing component" <scintilla-interest@xxxxxxxx>
  • Date: Thu, 10 Jun 2004 14:51:40 +0200

 
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

Other related posts: