Exemple #1
0
 public void Commit()
 {
     if (UnmanagedExports.endUndoActionCallback != null)
     {
         UnmanagedExports.endUndoActionCallback();
     }
 }
Exemple #2
0
 public Edit()
 {
     if (UnmanagedExports.startUndoActionCallback != null)
     {
         UnmanagedExports.startUndoActionCallback();
     }
 }
Exemple #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);
 }