How make CallTips

Topics: User Forum
Mar 10, 2014 at 10:51 AM
I don't know how to CallTips are show in editor. I was writed function in actions:
private void scintilla1_CallTipClick(object sender, CallTipClickEventArgs e)
            // You should always hide the calltip before reshowing it or
            // unpredictable things might start happening

            if (e.CallTipArrow == CallTipArrow.Up)
                scintilla1.CallTip.Show("Testing \u0001 arrows \u0002 (up arrow clicked)");
            else if (e.CallTipArrow == CallTipArrow.Down)
                scintilla1.CallTip.Show("Testing \u0001 arrows \u0002 (down arrow clicked)");
                scintilla1.CallTip.Show("Testing \u0001 arrows \u0002");
Nothing was show when I'm using editor. Can some one show me full code to CallTips working correctly?
Apr 21, 2014 at 2:31 AM
The code below will enable "dwelling" and show the current mouse position as a calltip when the mouse is held in place for 0.5 seconds:
private void scintillaScriptEditor_DwellStart(object sender, ScintillaMouseEventArgs e)
    var pos = e.Position;
    scintilla.CallTip.Show("This is position: " + pos, pos);