Enhancements to Andrei Stcherbatchenko's Syntax coloring text editor
Posted
by James R. Twine
on February 14th, 1999
Additions:
Ability to Disable Drag&Drop (via the CCrystalTextView::GetDisableDragAndDrop( void ), and CCrystalTextView::SetDisableDragAndDrop( bool bDDAD ) methods).Ability to add description text to Undo/Redo actions (via the CCrystalTextBuffer::CanUndo( PTSTR cpDesc ), CrystalTextBuffer::CanRedo( PTSTR cpDesc ), and AddUndoRecord(BOOL bInsert, const CPoint &ptStartPos, const CPoint &ptEndPos, LPCTSTR pszText, LPCTSTR cpDesc = NULL ) methods).
Some notes:
Undo/Redo description text is stored in a 32 byte buffer, so the description limit is 31 characters Currently, no checking is done to verify the length!
All(?) of my changes can be found by searching for "[JRT]", which is near all of the changes that I made.
Date Last Updated: February 14, 1999

Comments
There are no comments yet. Be the first to comment!