How to implement My Editor control ?

C

cok

Hi, All

I am working on a project ,It need a syntax-color, line-number... JScript
editor,

I cann't found a free one on GOOGLE, So I want to implement myself, I need
some tips

about implement editor control, Can anyone give me some advice?

thanks


--
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/
_/ Nie Longhai , coder -_-|||
_/ Shanghai Xomi Instruments Co., Ltd.
_/ URL: http://www.xomi.cn
_/ Shanghai C&U Industrial Park
_/ Feng Cheng Town, Feng Xian District
_/ Shanghai, 201411
_/ Phone:86-21-57513966-807
_/ Fax:86-21-57513636
_/ Mobile:13162055440
_/ Email:[email protected] ,[email protected]
_/
_/ Profession & Focus
_/ High precision semiconductor metrology system vendor.
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
 
M

Michael C

cok said:
Hi, All

I am working on a project ,It need a syntax-color, line-number... JScript
editor,

I cann't found a free one on GOOGLE, So I want to implement myself, I need
some tips

about implement editor control, Can anyone give me some advice?

Start writing it and ask any specific questions.

Michael
 
C

cok

Hi, Michael

Therea are some my question:)

1. How to save my string data? Array, ArrayList, String List? StringBuilder
List?

2. What is the easest way of implementing a caret ? timer + GDI+? Win32's
CreateCaret?

3. How to convert a Mouse Position -> Char Index and Char Index ->Mouse
Position ?

Should I use Graphics.MeasureString()?

4. How to Implement debugger?

I'm a newbie of C#, and sorry for english.

thanks for any advice.
 
B

Bhagat Gurtu

Hi, All

I am working on a project ,It need a syntax-color, line-number... JScript
editor,

I cann't found a free one on GOOGLE, So I want to implement myself, I need
some tips

about implement editor control, Can anyone give me some advice?

thanks

Cok not looking hard then. Look here ( http://scintilla.sourceforge.net/ScintillaRelated.html )
There be .NET wrapper for her. She has JScript and syntacks colors and
line number.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top