The IUserInterface type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() |
ClearHistory |
Clears all stacked edit histories in currently active document.
|
![]() |
Copy |
Executes copy action.
|
![]() |
Cut |
Executes cut action.
|
![]() |
Delete |
Executes delete action.
|
![]() |
GetCharIndexFromLineColumnIndex |
Calculates char-index from screen line/column index.
|
![]() |
GetIGraphics |
Gets a graphic interface.
|
![]() |
GetIndexFromPosition |
Gets char-index of the char at the point specified by screen location.
|
![]() |
GetKeyBind |
Gets an action which is already associated with given key.
If no action was associate with given key, returns null.
|
![]() |
GetLineColumnIndexFromCharIndex |
Calculates screen line/column index from char-index.
|
![]() |
GetLineHeadIndex |
Gets the index of the first char in the line.
|
![]() |
GetLineHeadIndexFromCharIndex |
Gets the index of the first char in the screen line
which contains the specified char-index.
|
![]() |
GetLineIndexFromCharIndex |
Calculates screen line index from char-index.
|
![]() |
GetLineLength |
Gets length of the specified line.
|
![]() |
GetPositionFromIndex(Int32) |
Calculates screen location of the character at specified index.
|
![]() |
GetPositionFromIndex(Int32, Int32) |
Calculates screen location of the character at specified index.
|
![]() |
GetSelectedText()()()() |
Gets currently selected text.
|
![]() |
GetSelectedText(String) |
Gets currently selected text.
|
![]() |
GetSelectedTextLength |
Gets number of characters currently selected.
|
![]() |
GetSelection |
Gets range of current selection.
Note that this method does not return [anchor, caret) pair but [begin, end) pair.
|
![]() |
GetTextInRange |
Gets text in the range [begin, end).
|
![]() |
HandleTextInput |
Processes specified text as an input by user.
|
![]() |
Invalidate()()()() |
Invalidate graphic of whole area
(force to be redrawn by next paint event message).
|
![]() |
Invalidate(Rectangle) |
Invalidate graphic of the specified area
(force to be redrawn by next paint event message).
|
![]() |
InvokeCaretMoved |
(For internal use only) Invokes CaretMoved event.
|
![]() |
InvokeHScroll |
(Internal use only.) Invokes HScroll event.
|
![]() |
InvokeIsRectSelectModeChanged | Obsolete.
(For internal use only) Invokes IsRectSelectModeChanged event.
|
![]() |
InvokeLineDrawing |
Invokes LineDrawing event.
|
![]() |
InvokeLineDrawn |
Invokes LineDrawn event.
|
![]() |
InvokeOverwriteModeChanged |
(For internal use only) Invokes OverwriteModeChanged event.
|
![]() |
InvokeVScroll |
(Internal use only.) Invokes VScroll event.
|
![]() |
Paste |
Executes paste action.
|
![]() |
Redo |
Executes REDO.
|
![]() |
RescheduleHighlighting |
(Internal use only.) Make a highlighter run after a little moment.
|
![]() |
ResetKeyBind |
Reset keybind to default.
|
![]() |
Scroll |
Scrolls a portion of the window.
|
![]() |
ScrollToCaret |
Scrolls to where the caret is.
|
![]() |
SelectAll |
Selects all text.
|
![]() |
SetCursorGraphic |
Sets graphic of mouse cursor.
|
![]() |
SetKeyBind |
Sets or removes key-bind entry.
Note that giving null to action will remove the key-bind.
|
![]() |
SetSelection |
Sets selection range and update the desired column.
|
![]() |
Undo |
Executes UNDO.
|
![]() |
UpdateCaretGraphic()()()() |
Updates size and position of the caret graphic.
|
![]() |
UpdateCaretGraphic(Rectangle) |
Updates size and position of the caret graphic.
|
![]() |
UpdateScrollBarRange |
Updates scrollbar's range.
|