public AWBEditor()
{
InitializeComponent();
this.MouseDown+= delegate( object sender, MouseEventArgs args )
{
if (args.Clicks > 1)
{
OnDoubleClick( args );
AWBEditor_DoubleClick( sender, args );
}
};
//NOTE: Switching to Scintilla 2.6 broke mouse clicks - the only one that works is the MouseDown event
//MouseDoubleClick += AWBEditor_DoubleClick;
SelectionChanged += OnSelectionChanged;
AllowDrop = true;
}