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
lines
intNumber of lines.
line
intCurrent line number.
owner
AbstractControlDialog owner.
onApply
Action<int>Action to call when the user clicks 'Ok' button.
onBeforeShow
Action<LongFromUserParams>Action to call before dialog is shown.
ShowDialogGoToLine(object?)
Shows 'Go To Line' dialog.
public static void ShowDialogGoToLine(object? textBox)
Parameters
textBox
object
Remarks
textBox
parameter must support ISimpleRichTextBox
interface.