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. C# Syntax Highlighting?

C# Syntax Highlighting?

Scheduled Pinned Locked Moved C#
csharphelptutorialquestion
3 Posts 2 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.
  • S Offline
    S Offline
    se99ts
    wrote on last edited by
    #1

    I would like to write a simple syntax highlighter for one of my c# applications but i cant seem to find any examples on how to do this. My current plans are to use a richtextbox and somehow do the highlighting in this but i cant find any examples of how to use a richtextbox for something similar. Does anyone know of any c# examples of syntax highlighters or if not any code snippets that might help me in writing one? Thanks Tim

    F 1 Reply Last reply
    0
    • S se99ts

      I would like to write a simple syntax highlighter for one of my c# applications but i cant seem to find any examples on how to do this. My current plans are to use a richtextbox and somehow do the highlighting in this but i cant find any examples of how to use a richtextbox for something similar. Does anyone know of any c# examples of syntax highlighters or if not any code snippets that might help me in writing one? Thanks Tim

      F Offline
      F Offline
      Furty
      wrote on last edited by
      #2

      You may want to take a look at the source code for SharpDevelop (an open source .Net IDE) here: http://icsharpcode.net/OpenSource/SD/Default.aspx[^]

      S 1 Reply Last reply
      0
      • F Furty

        You may want to take a look at the source code for SharpDevelop (an open source .Net IDE) here: http://icsharpcode.net/OpenSource/SD/Default.aspx[^]

        S Offline
        S Offline
        se99ts
        wrote on last edited by
        #3

        I do have sharp develop but i was hoping for a much more simplistic view of it, i dont need it to do overly much at the minute but, i was hoping for something a lot less integrated and basic overview of how to do it. Thanks all the same though :)

        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