The IUserInterface type exposes the following members.

Methods

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

See Also