This project is read-only.

Context Menu

Topics: User Forum
Jun 26, 2008 at 1:07 AM

Is there a way to modify the context menu that is displayed with ScintillaNet? I want to add extra entries in the menu.

Jul 25, 2008 at 2:10 PM
You can't modify the existing context menu, as it's built in to Scintilla and it doesn't expose any way to change it. You have to completely create your own, then set the Control's context menu just like any other .NET Windows Forms control.
Mar 13, 2013 at 10:46 AM
I did as Chris suggested and extended the Scintilla control with a hand-built ContextMenu that is exactly the same as the one built-in except it can be accessed and modified like any normal .NET control. See for description and code.
May 22, 2013 at 1:10 AM
@StephenSwensen Nice! Just what I was looking for (and so succinct too!!). :D