Results 1 to 23 of 23

Thread: High Speed Syntax Coloring

Threaded View

  1. #1

    Thread Starter
    Frenzied Member Icyculyr's Avatar
    Join Date
    Aug 2007
    Location
    Australia
    Posts
    1,934

    High Speed Syntax Coloring

    High Speed Syntax Coloring
    (Written by me in Visual Studio 2008, Project attached, as well as a text file for users with version 2005)

    Updates
    Version 1.01
    1: Fixed bugs, such as quotes not coloring if you can't see the first quote on screen
    2: All updates now ignore quoted & commented text, so they don't conflict, and they don't waste time

    Good
    1: The code doesn't flash
    2: Colors an entire document of 500 lines with 50 key words in 2 seconds
    3: Colors the current line your modifying actively without notice
    4: Colors text pasted into the rich text box
    5: Includes customized tabs (as well as removing them with back space)
    6: Very easily modified key words

    Bad
    1: It does not work with word wrap
    2: If you paste 500 lines, with 50 key words it will take 2 seconds to color it
    3: Undo & redo actions are disabled, you will have to make your own (to get a proper effect anyway, (they work, but strangely...))

    All you do is download the solution and click test, or download the text document, copy & paste the text into a new solution (you've created), and you'll need to make the rich text box you want to use (named rtbEdit)

    License
    You can use this code freely, regardless of whether your charging for your application or not.

    Feed back
    Please reply and tell me what you think of it, I'd appreciate any comments & sugguestions

    Cheers
    Icyculyr
    Attached Files Attached Files
    Last edited by Icyculyr; Apr 16th, 2008 at 04:41 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width