Code Window

  • Thread starter Thread starter Juan Romero
  • Start date Start date
J

Juan Romero

Hi guys,

Has anybody ever attempted to create a code window? What I mean by code
window is basically a code editor in which you type your code and keywords
get colored, u get syntax help, etc etc.

What I am particularly interested is in a good method to color the words. I
have tried a number of things using a rich textbox but there is always a
bit of latency or screen flickering.

Any ideas on how to code text coloring are GREATLY welcomed.

Thank you.
 
Juan,

* "Juan Romero said:
Has anybody ever attempted to create a code window? What I mean by code
window is basically a code editor in which you type your code and keywords
get colored, u get syntax help, etc etc.

What I am particularly interested is in a good method to color the words. I
have tried a number of things using a rich textbox but there is always a
bit of latency or screen flickering.

If you are familiar with C#, have a look at the implementation of
SharpDevelop's text editor:

<http://www.icsharpcode.net/OpenSource/SD/>
 
Juan
Have you looked at Sharp Develop?

http://www.icsharpcode.net/OpenSource/SD/Default.aspx

Its an open source IDE for .NET, that supports C# & VB.NET. It provides for
Syntax highlighting (keyword coloring).

Also have you looked at Eclipse?

http://www.eclipse.org/

Its an open source IDE. I believe there is a C# module for it, its primarily
Java, however you should be able to learn from it.

The source is available for both of the above, so that should give you a
head start.

Hope this helps
Jay
 
Back
Top