private static void EasyDelete(TextViewCaret caret, bool useTextField)
 {
     while (caret.RightChar != '>')
     {
         caret.DeleteRight(1);
     }
     while (caret.LeftChar != '<')
     {
         caret.DeleteLeft(1);
     }
     caret.DeleteRight(1);
     if (useTextField && CaretInsideTextField())
     {
         AcceptActiveTextField();
     }
 }
Example #2
0
 private static void EasyDelete(TextViewCaret caret, bool useTextField)
 {
     while (caret.RightChar != '>')
     {
         caret.DeleteRight(1);
     }
     while (caret.LeftChar != '<')
     {
         caret.DeleteLeft(1);
     }
     caret.DeleteRight(1);
     if (useTextField && CaretInsideTextField())
     {
         AcceptActiveTextField();
     }
 }
 private static void EasyDelete(TextViewCaret caret, bool useTextField)
 {
     caret.DeleteRight(1);
     if (useTextField && CaretInsideTextField())
     {
         AcceptActiveTextField();
     }
 }
 private static void EasyDelete(TextViewCaret caret, bool useTextField)
 {
     caret.DeleteRight(1);
     if (useTextField && CaretInsideTextField())
     {
         AcceptActiveTextField();
     }
 }