How to write a Code Editor?

Kbb
Kbb used Ask the Experts™
on
Hi

 I would like to develop an editor to do some scripting in my application.
So can any one suggest the technique used in developing the editor

i.e

The editor should show the key words in some diferent color or font. etc....

So please help me or advice me a link to get this kind of information
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Commented:
Hi kbb,

you can use synEdit

SynEdit has been started as an attempt to continue the no longer maintained
sources of the mwEdit project.  The last public version 0.92a of mwEdit can be
found at the SynEdit website in the download section.
The mwEdit project was started in 1998 by Martin Waldenburg, aim was to produce
a syntax highlighting editor component for an Open Source IDE.  In the 15 months
that mwEdit was developped in public Martin was increasingly dissatisfied with
the direction the development of mwEdit took, so he finally requested that his
name and initials had to be removed from the project.
Therefore this is now called SynEdit, and it is an Open Source project under the
MPL (Mozilla Public License, but see the individual source files for the terms).
There would however be no such project if Martin had not started to develop
mwEdit, so we would like to thank Martin Waldenburg for his efforts, and of
course all the other developers of the mwEdit project.

The primary purpose of SynEdit is to be a syntax highlighting editor for
programming languages. There are already more than 30 highlighter components for
different languages, and writing a highlighter is not very difficult.
You should however keep some things in mind when using the SynEdit components:
- There is no word-wrap in the editor, and most probably there will never be
  (it does not go well with the column selection mode, and it is not very common
  with programmers editors anyway).
- Support for real tabs is under construction.

To get started check out the different examples. If you have questions, please
subscribe to the SynEdit user list and ask there, if you want to hack SynEdit
you should subscribe to the SynEdit developer list.  General feedback and
suggestions or fixes are very welcome.

There is no documentation yet, help in this area is especially welcome!

For the available information check out the SynEdit website

  http://synedit.sourceforge.net

and the SynEdit project page at SourceForge

  http://sourceforge.net/project/?group_id=3221

good luck

Cesario
Kbb

Author

Commented:


hi Cesario

Thanks a lot

i got the exact stuff what i was looking for.

Thanks again.
Bye for now

regards

KBB

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial