Making an IDE with richedit

This is a discussion on Making an IDE with richedit within the Windows Programming forums, part of the Platform Specific Boards category; The main idea of the language IDE is to mark saved words and things like it. My question is, how ...

  1. #1
    * Death to Visual Basic * Devil Panther's Avatar
    Join Date
    Aug 2001
    Posts
    768

    Cool Making an IDE with richedit

    The main idea of the language IDE is to mark saved words and things like it. My question is, how do i handle this when i'm using richedit controls, how can I move inside the control to change the style of the text as it's been written by the user.

    For example, the user writes "while" but not until the "e" is typed in will the word "while" become bold.

    Is there any good way, or a specific technic to handle this kind of thing?

    I would also appreciate any good online resource on richedit controls, if possible

    Thank you.
    "I don't suffer from insanity but enjoy every minute of it" - Edgar Allen Poe

    http://www.Bloodware.net - Developing free software for the community.

  2. #2
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,670
    >> any good online resource on richedit controls,
    Rich Edit Controls

    If this is just for learning, there's your reference. If you really want to make you own syntax-aware editor, check out Scintilla.

    For additional RichEdit code (mostly MFC, some pure API): http://www.codeguru.com/Cpp/controls/richedit/

    gg

  3. #3
    * Death to Visual Basic * Devil Panther's Avatar
    Join Date
    Aug 2001
    Posts
    768
    mostly MFC
    So it's mainly used with mfc, because of the complexity? Or people just bacame really lazy?
    "I don't suffer from insanity but enjoy every minute of it" - Edgar Allen Poe

    http://www.Bloodware.net - Developing free software for the community.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. making sprites
    By DavidP in forum Game Programming
    Replies: 9
    Last Post: 02-20-2010, 06:00 AM
  2. Making great graphics
    By MadCow257 in forum Game Programming
    Replies: 1
    Last Post: 02-20-2006, 10:59 PM
  3. thinking about making a network traffic monitor
    By jimjamjahaa in forum C++ Programming
    Replies: 9
    Last Post: 10-13-2005, 11:38 AM
  4. Highlight in RichEdit
    By Joelito in forum Windows Programming
    Replies: 1
    Last Post: 05-05-2005, 01:01 PM
  5. Opening DOS IDE????
    By 1newbie1 in forum C Programming
    Replies: 2
    Last Post: 02-08-2002, 03:11 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21