Results 1 to 2 of 2

Thread: syntax highlighting in richtext box + idea

  1. #1

    Thread Starter
    KrisSiegel.com Kasracer's Avatar
    Join Date
    Jul 2003
    Location
    USA, Maryland
    Posts
    4,985

    syntax highlighting in richtext box + idea

    Make a rich textbox, copy some code that is colored in the VB .NET editor, then paste in editor.

    It's colored! This means it has to copy some sort of color with the words.

    So my question is, isn't there a way to find the words you want colors, and apply the color like you would input a tab using a vb keyword? It appears the richtextbox could do it.....

    or maybe even a fine and replace function and have the color on the word, and just simply replace it!
    Last edited by Kasracer; Sep 27th, 2003 at 10:27 PM.

  2. #2
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729
    lol

    just create a richtextbox document and then save it as .rtf and then open it with notepad..you will see plenty of formatting there
    \m/\m/

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