OS-Scape and Rune-Server have been hacked. Please update your passwords if you ever had or currently have an account on either site.
DO NOT TRADE WITH FURREAL AT THIS TIME
Discussion in 'Programming General' started by Terrankiller, Nov 24, 2011.
Does anyone know of a vb.net control that I could use as a script editing environment?
Anything wrong with using the RichTextBox?
I am looking for a more developed control for a scripting environment. I don't want to spend hours coding a custom user control.
Double post wtf
You'd have to multithread the shit out of that to get it working properly. All syntax highlighting code AND controls I've tried for both C# and VB.net have a significant amount of lag, or cursor issues.
TK, what are you looking for exactly in terms of features
Syntax highlighting, line numbering mostly.
These 2 may be what you're looking for or at least give you a big head start if you need to code your own.
SharpDevelop uses a WPF control called Avalon Edit which is both open source and fairly easy to use. I know you use Winforms, but you can easily and nicely host the control inside a winforms environment using the Interop ElementHost. If you're still interested in having an editor and cbf to learn how to do the interop properly (there are no examples online for this control lol) I can do it for you. Took me a couple hours to figure everything out, but it works really well