Beispiel #1
0
        protected ModifiedEventArgs(int modificationType)
        {
            _modificationType = modificationType;
            _undoRedoFlags    = new UndoRedoFlags(modificationType);

            //	Ah yes more magic numbers. I'g going to get these refactored someday...
            _isUserChange = (modificationType & 0x10) != 0;
            _startAction  = (modificationType & 0x2000) != 0;
        }
Beispiel #2
0
 public ModifiedEventArgs(int modificationType)
 {
     _modificationType = modificationType;
     _undoRedoFlags = new UndoRedoFlags(modificationType);
 }
Beispiel #3
0
 public override string ToString()
 {
     return(string.Format(STRING_FORMAT, ModificationType, _position, _length, _linesAddedCount, _text, _isUserChange, _markerChangedLine) + Environment.NewLine + UndoRedoFlags.ToString());
 }
Beispiel #4
0
        protected ModifiedEventArgs(int modificationType)
        {
            _modificationType = modificationType;
            _undoRedoFlags = new UndoRedoFlags(modificationType);

			//	Ah yes more magic numbers. I'g going to get these refactored someday...
			_isUserChange = (modificationType & 0x10) != 0;
			_startAction = (modificationType & 0x2000) != 0;
        }
Beispiel #5
0
 public ModifiedEventArgs(int modificationType)
 {
     _modificationType = modificationType;
     _undoRedoFlags    = new UndoRedoFlags(modificationType);
 }