Пример #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;
        }
Пример #2
0
 public ModifiedEventArgs(int modificationType)
 {
     _modificationType = modificationType;
     _undoRedoFlags = new UndoRedoFlags(modificationType);
 }
Пример #3
0
 public override string ToString()
 {
     return(string.Format(STRING_FORMAT, ModificationType, _position, _length, _linesAddedCount, _text, _isUserChange, _markerChangedLine) + Environment.NewLine + UndoRedoFlags.ToString());
 }
Пример #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;
        }
Пример #5
0
 public ModifiedEventArgs(int modificationType)
 {
     _modificationType = modificationType;
     _undoRedoFlags    = new UndoRedoFlags(modificationType);
 }