looking for a good keyword highlighter / syntax editor control

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • PJ6

    looking for a good keyword highlighter / syntax editor control

    Years ago I looked for a text editor control that would do automatic keyword
    highlighting, to no avail. I found sample code to roll my own, but all of
    that was crap (mostly because of the way the RichTextBox base class was
    written, and the limitations of GDI+). I ended up coming to conclusion that
    I'd have to write my own in C++ to make it work right, at which point I gave
    up. Now it seems there are controls out there that may do the trick (i.e.
    actipro's syntax editor)... are any highly recommended? My primary objective
    is text editing with SQL syntax highlighting identical to Enterprise
    Manager, but VB/C# syntax highlighting may be nice, too.

    Paul


  • Lloyd Sheen

    #2
    Re: looking for a good keyword highlighter / syntax editor control

    PJ6 wrote:
    Years ago I looked for a text editor control that would do automatic keyword
    highlighting, to no avail. I found sample code to roll my own, but all of
    that was crap (mostly because of the way the RichTextBox base class was
    written, and the limitations of GDI+). I ended up coming to conclusion that
    I'd have to write my own in C++ to make it work right, at which point I gave
    up. Now it seems there are controls out there that may do the trick (i.e.
    actipro's syntax editor)... are any highly recommended? My primary objective
    is text editing with SQL syntax highlighting identical to Enterprise
    Manager, but VB/C# syntax highlighting may be nice, too.
    >
    Paul
    >
    >


    I have used this and it will do exactly what you want.

    LS

    Comment

    • Terry Olsen

      #3
      Re: looking for a good keyword highlighter / syntax editor control

      If you're looking for a free code editor, you might take a look at
      ICSharpCode.Tex tEditor, a component of SharpDevelop.


      "Lloyd Sheen" <a@b.cwrote in message
      news:%23w260yB8 IHA.3724@TK2MSF TNGP03.phx.gbl. ..
      PJ6 wrote:
      >Years ago I looked for a text editor control that would do automatic
      >keyword highlighting, to no avail. I found sample code to roll my own,
      >but all of that was crap (mostly because of the way the RichTextBox base
      >class was written, and the limitations of GDI+). I ended up coming to
      >conclusion that I'd have to write my own in C++ to make it work right, at
      >which point I gave up. Now it seems there are controls out there that may
      >do the trick (i.e. actipro's syntax editor)... are any highly
      >recommended? My primary objective is text editing with SQL syntax
      >highlighting identical to Enterprise Manager, but VB/C# syntax
      >highlighting may be nice, too.
      >>
      >Paul

      >
      I have used this and it will do exactly what you want.
      >
      LS

      Comment

      Working...