Ejemplo n.º 1
0
 /// <summary>   A CodePane extension method that forces focus onto the CodePane. This patches a bug in VBE.Interop.</summary>
 public void ForceFocus()
 {
     _codePane.ForceFocus();
 }
Ejemplo n.º 2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="codePane"></param>
 /// <param name="selection"></param>
 public static void SetSelection(this CodePane codePane, Selection selection)
 {
     codePane.SetSelection(selection.StartLine, selection.StartColumn, selection.EndLine, selection.EndColumn);
     codePane.ForceFocus();
 }