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