Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. syntax highlighting in c#

syntax highlighting in c#

Scheduled Pinned Locked Moved C#
csharphelpquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    veluru krishna
    wrote on last edited by
    #1

    hi, how do i highlight syntax in c# as soon as I open a text file which contains c# code in it into a richtextbox in windowsforms.

    Don't wait to hear a word of thanks from anybody when you help them instead ask them to help three other people and ask them to continue in chain.

    C L 2 Replies Last reply
    0
    • V veluru krishna

      hi, how do i highlight syntax in c# as soon as I open a text file which contains c# code in it into a richtextbox in windowsforms.

      Don't wait to hear a word of thanks from anybody when you help them instead ask them to help three other people and ask them to continue in chain.

      C Offline
      C Offline
      Colin Angus Mackay
      wrote on last edited by
      #2

      veluru krishna wrote:

      how do i highlight syntax in c# as soon as I open a text file which contains c# code in it into a richtextbox in windowsforms.

      You might want to read up on the subject of Language Processors. Syntax highlighting is a form of language processing.


      *** Developer Day 4 in Reading, England on 2nd December 2006 - Registration Now Open *** Upcoming Scottish Developers events: * Developer Day Scotland: are you interested in speaking or attending? My: Website | Blog | Photos

      1 Reply Last reply
      0
      • V veluru krishna

        hi, how do i highlight syntax in c# as soon as I open a text file which contains c# code in it into a richtextbox in windowsforms.

        Don't wait to hear a word of thanks from anybody when you help them instead ask them to help three other people and ask them to continue in chain.

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        .NET doesn't provide such a control. Use the search function at the top to search for articles. regards

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups