The IView type exposes the following members.

Methods

  Name Description
Public method GetCharIndexFromLineColumnIndex
Calculates char-index from screen line/column index.
Public method GetDesiredColumn
Gets current "desired column" value.
Public method GetHRulerIndex(Int32)
Calculates location of character at specified index in horizontal ruler index.
Public method GetHRulerIndex(Int32, Int32)
Calculates location of character at specified index in horizontal ruler index.
Public method GetIndexFromVirPos(Point)
Gets char-index of the char at the point specified by location in the virtual space.
Public method GetIndexFromVirPos(IGraphics, Point)
Gets char-index of the char at the point specified by location in the virtual space.
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 pysical line.
Public method GetRectSelectRanges
Calculates and returns text ranges that will be selected by specified rectangle.
Public method GetVirPosFromIndex(Int32)
Calculates location in the virtual space of the character at specified index.
Public method GetVirPosFromIndex(Int32, Int32)
Calculates location in the virtual space of the character at specified index.
Public method GetVirPosFromIndex(IGraphics, Int32)
Calculates location in the virtual space of the character at specified index.
Public method GetVirPosFromIndex(IGraphics, Int32, Int32)
Calculates location in the virtual space of the character at specified index.
Public method HScroll
Scroll horizontally.
Public method Invalidate()()()()
Requests to invalidate whole area.
Public method Invalidate(Rectangle)
Requests to invalidate specified area.
Public method Invalidate(Int32, Int32)
Requests to invalidate area covered by given text range.
Public method Invalidate(Int32, Int32, Int32, Int32)
Requests to invalidate specified area.
Public method ScreenToVirtual
Converts a coordinate in client area to a coordinate in virtual space.
Public method Scroll
Scroll vertically.
Public method ScrollToCaret
Scroll to where the caret is.
Public method SetDesiredColumn
Sets column index of the current caret position to "desired column" value.
Public method VirtualToScreen
Converts a coordinate in virtual space to a coordinate in client area.
Public method ZoomIn
Sets font size to larger one.
Public method ZoomOut
Sets font size to smaller one.

Properties

  Name Description
Public property ColorScheme
Color set used for displaying text.
Public property DirtBarRectangle
Gets location and size of the dirt bar area.
Public property Document
Gets or sets the document displayed in this view.
Public property DrawingOption
Gets or sets view drawing options flags.
Public property DrawsEofMark
Gets or sets whether to draw EOF mark or not.
Public property DrawsEolCode
Gets or sets whether to draw EOL code with special graphic or not.
Public property DrawsFullWidthSpace
Gets or sets whether to draw full-width space with special graphic or not.
Public property DrawsSpace
Gets or sets whether to draw half-width space with special graphic or not.
Public property DrawsTab
Gets or sets whether to draw tab character with special graphic or not.
Public property FirstVisibleLine
Gets or sets index of the line which is displayed at top of this view.
Public property FontInfo
Gets or sets the font used for drawing text.
Public property HighlightsCurrentLine
Gets or sets whether the current line would be drawn with underline or not.
Public property HighlightsMatchedBracket
Gets or sets whether to highlight matched bracket or not.
Public property HRulerHeight
Gets height of the horizontal ruler.
Public property HRulerIndicatorType
Gets or sets type of the indicator on the horizontal ruler.
Public property HRulerRectangle
Gets location and size of the horizontal ruler area.
Public property HRulerUnitWidth
Gets distance between lines on the horizontal ruler.
Public property LeftMargin
Gets or sets left margin of the view in pixel.
Public property LineCount
Gets number of the screen lines.
Public property LineHeight
Gets height of each lines in pixel.
Public property LineNumAreaWidth
Gets width of the line number area in pixel.
Public property LineNumberAreaRectangle
Gets location and size of the line number area.
Public property LinePadding
Gets or sets size of padding between lines in pixel.
Public property LineSpacing
Gets distance between lines in pixel.
Public property ScrollsBeyondLastLine
Gets or sets whether to scroll beyond the last line of the document or not.
Public property ShowLineNumber
Gets or sets whether to show line number or not.
Public property ShowsDirtBar
Gets or sets whether to show 'dirt bar' or not.
Public property ShowsHRuler
Gets or sets whether to show horizontal ruler or not.
Public property SpaceWidthInPx
Gets width of space character (U+0020) in pixel.
Public property TabWidth
Gets or sets tab width in count of space chars.
Public property TabWidthInPx
Gets width of tab character (U+0009) in pixel.
Public property TextAreaRectangle
Gets location and size of the visible text area in screen.
Public property TextAreaWidth
Gets or sets width of the virtual text area.
Public property TopMargin
Gets or sets top margin of the view in pixel.
Public property VisibleSize
Gets or sets size of the currently visible area. This value includes the size of both line-number area and visible text area.
Public property VisibleTextAreaSize
Gets or sets size of the currently visible size of the text area (line number area is not included).
Public property XofDirtBar
Gets X coordinate in client area of dirt bar area.
Public property XofLeftMargin
Gets X coordinate in client area of left margin.
Public property XofLineNumberArea
Gets X coordinate in client area of line number area.
Public property XofTextArea
Gets X coordinate in client area of text area.
Public property YofHRuler
Gets Y coordinate in client area of horizontal ruler.
Public property YofTextArea
Gets Y coordinate in client area of text area.
Public property YofTopMargin
Gets Y coordinate in client area of top margin.

See Also