Method ShowDialogGoToLine
ShowDialogGoToLine(int, int, AbstractControl?, Action<int>, Action<LongFromUserParams>?)
Shows 'Go To Line' dialog.
public static void ShowDialogGoToLine(int lines, int line, AbstractControl? owner, Action<int> onApply, Action<LongFromUserParams>? onBeforeShow = null)
Parameters
linesintNumber of lines.
lineintCurrent line number.
ownerAbstractControlDialog owner.
onApplyAction<int>Action to call when the user clicks 'Ok' button.
onBeforeShowAction<LongFromUserParams>Action to call before dialog is shown.
ShowDialogGoToLine(object?)
Shows 'Go To Line' dialog.
public static void ShowDialogGoToLine(object? textBox)
Parameters
textBoxobject
Remarks
textBox parameter must support ISimpleRichTextBox
interface.