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

  • On-demand Event Event Date: September 10, 2014 Modern mobile applications connect systems-of-engagement (mobile apps) with systems-of-record (traditional IT) to deliver new and innovative business value. But the lifecycle for development of mobile apps is also new and different. Emerging trends in mobile development call for faster delivery of incremental features, coupled with feedback from the users of the app "in the wild." This loop of continuous delivery and continuous feedback is how the best mobile …

  • According to a recent Forrester total economic impact (TEI) study, enterprises can see a significant reduction in total cost of ownership by accessing Oracle Database in the cloud with a pay-as-you-go subscription model. This subscription service gives businesses the ability to scale up application environments for rapid prototyping, with far less time devoted to procuring licenses and deploying IT infrastructure. Read this study to learn how three different companies use Oracle Database in the cloud and the …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds