AvalonEdit
AvalonEdit copied to clipboard
Can support fixed strings to the editor ?
I want to ask is it possible to support fixed strings to the editor ? like this:
Line 1: 127.0.0.1:8888 > run command (127.0.0.1:8888 is fixed string, run command is entered by the user, I need to disable the user to remove 127.0.0.1:8888) Line 2: print the command result Line 3: 127.0.0.1:8888 >
You can take a look at SharpDevelop's console implementation based on AvalonEdit: https://github.com/icsharpcode/SharpDevelop/blob/3f3ae2a5d4ffafd98cdf1c09308b9b8d93b0356c/src/Main/Base/Project/Src/Gui/Pads/AbstractConsolePad.cs
Especially https://github.com/icsharpcode/SharpDevelop/blob/3f3ae2a5d4ffafd98cdf1c09308b9b8d93b0356c/src/Main/Base/Project/Src/Gui/Pads/AbstractConsolePad.cs#L319
Hope this helps!
@siegfriedpammer Thank you, is work for me