Enhancements to Andrei Stcherbatchenko's Syntax coloring text editor

Environment: -->

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.

Download source - 43 KB

Date Last Updated: February 14, 1999



Comments

  • ExEditors Library

    Posted by Legacy on 03/19/2002 12:00am

    Originally posted by: Mike Philips

    A complete collection of editors in a single file:
    
    

    http://www.exontrol.com/sg.jsp?content=products/exeditors

    Regards,
    Mike

    Reply
  • IS THERE A RICHEDIT VERSION?

    Posted by Legacy on 04/25/2000 12:00am

    Originally posted by: Michael Yokoyama

    Hi, I'm looking for a Richedit version of this.

    Thanks,
    Mike

    Reply
  • 2 character??? (in korea)

    Posted by Legacy on 12/06/1999 12:00am

    Originally posted by: falcon, kim

    hello.
    
    

    CrystalEditor is good.

    hm...
    I live in korea.
    We use 2 bytes in one character.
    so
    if mouse point is on charcter,
    the charcter is broken..

    help me!!!!
    I want to use "crystaleditor class" with english and korean.

    pleaze tell me the method that use 1byte(english) and
    2bytes(korean) together.

    or tell me idea....

    thanks codeguru.....

    Reply
  • good work!

    Posted by Legacy on 08/30/1999 12:00am

    Originally posted by: Charlie

    a little bit good!!

    Reply
Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • Live Event Date: December 11, 2014 @ 1:00 p.m. ET / 10:00 a.m. PT Market pressures to move more quickly and develop innovative applications are forcing organizations to rethink how they develop and release applications. The combination of public clouds and physical back-end infrastructures are a means to get applications out faster. However, these hybrid solutions complicate DevOps adoption, with application delivery pipelines that span across complex hybrid cloud and non-cloud environments. Check out this …

  • Due to internal controls and regulations, the amount of long term archival data is increasing every year. Since magnetic tape does not need to be periodically operated or connected to a power source, there will be no data loss because of performance degradation due to the drive actuator. Read this white paper to learn about a series of tests that determined magnetic tape is a reliable long-term storage solution for up to 30 years.

Most Popular Programming Stories

More for Developers

RSS Feeds