ScriptCodeEdit Cant display line numbers on gutter

I need to show the line number on the code editor, ScriptCodeEdit but I cant find a way to accomplish though.
Can you help?

image

Hi,

ScriptCodeEdit is derived from SyntaxEdit class (in case you’re using WinForms version).
Setting line numbers to be visible can be done using the following code:

edit.Gutter.Options |= GutterOptions.PaintLineNumbers;

If you’re using WPF version, then it’s derived from TextEditor class, you can use the LineNumbersVisible property like this:

edit.LineNumbersVisible = true;

Kind regards,
Dmitry