This project is read-only.

add Markers

Topics: Developer Forum, User Forum
Jun 3, 2009 at 2:06 PM

Hi,

I want to add markers to my lines when i press a keyboard that i choose buat I don't know how, can any one help me do it ??

Thanks in advance :)

Jun 5, 2009 at 12:49 PM

You could do this, like in the sample Projekt (SCide).

ScintillaNet.Lines.Current.AddMarker(1);

Create a new Menu Item for it and apply a Shortcut (e.g. Ctrl + F2) to the Item.

NOTE: check that your shortcut is not used by the Scintilla Control (Command Binding),

because that could get very strange results.

so long, hope it helps a bit

 

Jun 5, 2009 at 2:32 PM

that's great thanks :)

Jun 23, 2009 at 11:28 PM

I posted here

http://scintillanet.codeplex.com/Thread/View.aspx?ThreadId=56517

that the markers api of ScintillaNET (not of Scintilla!) is a bit buggy, but nobody cared about it ;-)

No problem for me, because I am happy with my solution posted there