Susan Baker wrote:
I'm in the process of writing an editor/debugger. I need to be able
to able to get/set line numbers of the displayed text (i.e. source)
and to be able to get/set forecolor and backcolor of a specified
line(s).
Is there a control I can use for this (i.e. textbox or label?) or do
I have to "roll my own". Any ideas/sugestions welcome.
You could look at the richtextbox, although showing line numbers will
be a bit problematic. The colors are easy to do.
You could also look at SyntaxEditor from actipro software
(
www.actiprosoftware.com). I use that too in my template studio IDE,
it's ideal for creating an editor, as everything is already build in :)
FB
--
------------------------------------------------------------------------
Get LLBLGen Pro, productive O/R mapping for .NET:
http://www.llblgen.com
My .NET blog:
http://weblogs.asp.net/fbouma
Microsoft MVP (C#)
------------------------------------------------------------------------