예제 #1
0
 public void Commit()
 {
     if (UnmanagedExports.endUndoActionCallback != null)
     {
         UnmanagedExports.endUndoActionCallback();
     }
 }
예제 #2
0
 public Edit()
 {
     if (UnmanagedExports.startUndoActionCallback != null)
     {
         UnmanagedExports.startUndoActionCallback();
     }
 }
예제 #3
0
 public bool Insert(ILine line, int position, string text)
 {
     if (UnmanagedExports.insertTextCallback != null)
     {
         UnmanagedExports.insertTextCallback(line.Position + position, text);
         return(true);
     }
     return(false);
 }