The IView type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
|
|
GetCharIndexFromLineColumnIndex |
Calculates char-index from screen line/column index.
|
|
|
GetDesiredColumn |
Gets current "desired column" value.
|
|
|
GetHRulerIndex(Int32) |
Calculates location of character at specified index in horizontal ruler index.
|
|
|
GetHRulerIndex(Int32, Int32) |
Calculates location of character at specified index in horizontal ruler index.
|
|
|
GetIndexFromVirPos(Point) |
Gets char-index of the char at the point specified by location in the virtual space.
|
|
|
GetIndexFromVirPos(IGraphics, Point) |
Gets char-index of the char at the point specified by location in the virtual space.
|
|
|
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 pysical line.
|
|
|
GetRectSelectRanges |
Calculates and returns text ranges that will be selected by specified rectangle.
|
|
|
GetVirPosFromIndex(Int32) |
Calculates location in the virtual space of the character at specified index.
|
|
|
GetVirPosFromIndex(Int32, Int32) |
Calculates location in the virtual space of the character at specified index.
|
|
|
GetVirPosFromIndex(IGraphics, Int32) |
Calculates location in the virtual space of the character at specified index.
|
|
|
GetVirPosFromIndex(IGraphics, Int32, Int32) |
Calculates location in the virtual space of the character at specified index.
|
|
|
HScroll |
Scroll horizontally.
|
|
|
Invalidate()()()() |
Requests to invalidate whole area.
|
|
|
Invalidate(Rectangle) |
Requests to invalidate specified area.
|
|
|
Invalidate(Int32, Int32) |
Requests to invalidate area covered by given text range.
|
|
|
Invalidate(Int32, Int32, Int32, Int32) |
Requests to invalidate specified area.
|
|
|
ScreenToVirtual |
Converts a coordinate in client area to a coordinate in virtual space.
|
|
|
Scroll |
Scroll vertically.
|
|
|
ScrollToCaret |
Scroll to where the caret is.
|
|
|
SetDesiredColumn |
Sets column index of the current caret position to "desired column" value.
|
|
|
VirtualToScreen |
Converts a coordinate in virtual space to a coordinate in client area.
|
|
|
ZoomIn |
Sets font size to larger one.
|
|
|
ZoomOut |
Sets font size to smaller one.
|
Properties
| Name | Description | |
|---|---|---|
|
|
ColorScheme |
Color set used for displaying text.
|
|
|
DirtBarRectangle |
Gets location and size of the dirt bar area.
|
|
|
Document |
Gets or sets the document displayed in this view.
|
|
|
DrawingOption |
Gets or sets view drawing options flags.
|
|
|
DrawsEofMark |
Gets or sets whether to draw EOF mark or not.
|
|
|
DrawsEolCode |
Gets or sets whether to draw EOL code with special graphic or not.
|
|
|
DrawsFullWidthSpace |
Gets or sets whether to draw full-width space with special graphic or not.
|
|
|
DrawsSpace |
Gets or sets whether to draw half-width space with special graphic or not.
|
|
|
DrawsTab |
Gets or sets whether to draw tab character with special graphic or not.
|
|
|
FirstVisibleLine |
Gets or sets the index of the first visible (graphically top most) line of currently
active document.
|
|
|
FontInfo |
Gets or sets the font used for drawing text.
|
|
|
HighlightsCurrentLine |
Gets or sets whether the current line would be drawn with underline or not.
|
|
|
HighlightsMatchedBracket |
Gets or sets whether to highlight matched bracket or not.
|
|
|
HRulerHeight |
Gets height of the horizontal ruler.
|
|
|
HRulerIndicatorType |
Gets or sets type of the indicator on the horizontal ruler.
|
|
|
HRulerRectangle |
Gets location and size of the horizontal ruler area.
|
|
|
HRulerUnitWidth |
Gets distance between lines on the horizontal ruler.
|
|
|
LeftMargin |
Gets or sets left margin of the view in pixel.
|
|
|
LineCount |
Gets number of the screen lines.
|
|
|
LineHeight |
Gets height of each lines in pixel.
|
|
|
LineNumAreaWidth |
Gets width of the line number area in pixel.
|
|
|
LineNumberAreaRectangle |
Gets location and size of the line number area.
|
|
|
LinePadding |
Gets or sets size of padding between lines in pixel.
|
|
|
LineSpacing |
Gets distance between lines in pixel.
|
|
|
ScrollPos |
Gets or sets virtual location of currently visible area.
|
|
|
ScrollsBeyondLastLine |
Gets or sets whether to scroll beyond the last line of the document or not.
|
|
|
ShowLineNumber |
Gets or sets whether to show line number or not.
|
|
|
ShowsDirtBar |
Gets or sets whether to show 'dirt bar' or not.
|
|
|
ShowsHRuler |
Gets or sets whether to show horizontal ruler or not.
|
|
|
SpaceWidthInPx |
Gets width of space character (U+0020) in pixel.
|
|
|
TabWidth |
Gets or sets tab width in count of space chars.
|
|
|
TabWidthInPx |
Gets width of tab character (U+0009) in pixel.
|
|
|
TextAreaRectangle |
Gets location and size of the visible text area in screen.
|
|
|
TextAreaWidth |
Gets or sets width of the virtual text area.
|
|
|
TopMargin |
Gets or sets top margin of the view in pixel.
|
|
|
VisibleSize |
Gets or sets size of the currently visible area.
This value includes the size of both line-number area and visible text area.
|
|
|
VisibleTextAreaSize |
Gets or sets size of the currently visible size of the text area (line number area is not included).
|
|
|
XofDirtBar |
Gets X coordinate in client area of dirt bar area.
|
|
|
XofLeftMargin |
Gets X coordinate in client area of left margin.
|
|
|
XofLineNumberArea |
Gets X coordinate in client area of line number area.
|
|
|
XofTextArea |
Gets X coordinate in client area of text area.
|
|
|
YofHRuler |
Gets Y coordinate in client area of horizontal ruler.
|
|
|
YofTextArea |
Gets Y coordinate in client area of text area.
|
|
|
YofTopMargin |
Gets Y coordinate in client area of top margin.
|