TextView Class

Definition

Line 215 of System.Windows/TextView.cm

Inheritance

Constructors & Destructor

public TextView(TextViewCreateParams& createParams)
public TextView(const FontFamily& fontFamily_, float fontSize_, const Color& backgroundColor, const Color& textColor_, const Point& location, const Size& size, Dock dock, Anchors anchors)
public TextView(const Point& location, const Size& size, Dock dock, Anchors anchors)

Member Functions

private void AddBacktabCommand(int lineIndex, int columnIndex)
private nothrow void AddDeleteCharCommand(int lineIndex, int columnIndex)
private nothrow void AddIndentSelectionCommand()
private nothrow void AddInsertCharCommand(int lineIndex, int columnIndex, uchar c)
public nothrow void AddInsertIntoLineCommand(int lineIndex, int columnIndex, const String<uchar>& text)
public nothrow void AddInsertLinesCommand(int lineIndex, int columnIndex, const List<String<uchar>>& linesToInsert)
public void AddLine(const String<uchar>& line)
public nothrow void AddNewLineCommand(int lineIndex, int columnIndex)
public nothrow void AddRemoveSelectionCommand()
public nothrow void AddSpaces(int lineIndex, int columnIndex, int numSpaces)
private void AddTabCommand(int lineIndex, int columnIndex)
public nothrow void AddUnindentSelectionCommand()
private void Backspace(int lineIndex, int columnIndex)
public void Backtab(int lineIndex, int columnIndex)
public nothrow Event<CCDirtyChangedEventHandler, EmptyEventArgs>& CCDirtyChangedEvent() const
public nothrow Event<CCEventHandler, EmptyEventArgs>& CCEvent() const
public nothrow Event<CCNextEventHandler, EmptyEventArgs>& CCNextEvent() const
public nothrow Event<CCNextPageEventHandler, EmptyEventArgs>& CCNextPageEvent() const
public inline nothrow bool CCOpen() const
public nothrow Point CCPos() const
public nothrow Event<CCPrevEventHandler, EmptyEventArgs>& CCPrevEvent() const
public nothrow Event<CCPrevPageEventHandler, EmptyEventArgs>& CCPrevPageEvent() const
public nothrow Event<CCSelectEventHandler, EmptyEventArgs>& CCSelectEvent() const
public nothrow Event<CCTextChangedEventHandler, EmptyEventArgs>& CCTextChangedEvent() const
public inline nothrow int CaretColumn() const
public inline nothrow int CaretLine() const
public nothrow Point CaretPos() const
public nothrow Event<CaretPosChangedEventHandler, EmptyEventArgs>& CaretPosChangedEvent() const
protected inline nothrow bool Changed() const
public inline nothrow float CharHeight() const
public inline nothrow float CharWidth() const
public virtual void Clear()
public nothrow Event<CopyEventHandler, EmptyEventArgs>& CopyEvent() const
protected override void CreateCaret()
public nothrow Event<CutEventHandler, EmptyEventArgs>& CutEvent() const
public void DeleteChar(int lineIndex, int columnIndex, int indent, int numSpaces, bool removeIndent)
public nothrow void DeleteLines(int lineIndex, int columnIndex, const List<String<uchar>>& linesToDelete)
public nothrow Event<DirtyChangedEventHandler, EmptyEventArgs>& DirtyChangedEvent() const
protected virtual void DrawLine(Graphics& graphics, int lineIndex, const PointF& origin)
private void DrawSelectionBackground(Graphics& graphics, int line, const PointF& origin, int lineNumberFieldLength)
public void EnsureLineVisible(int line)
public nothrow Event<EscapePressedHandler, EmptyEventArgs>& EscapePressedEvent() const
public nothrow void ExtendSelection(const SourcePos& start, const SourcePos& end)
public nothrow const String<char>& FilePath() const
private nothrow void FixColumn(int& column, int line)
public inline nothrow float FontSize() const
public inline nothrow List<UniquePtr<Font>>& Fonts()
public inline nothrow const List<UniquePtr<Font>>& Fonts() const
public inline nothrow const String<uchar>& GetCCText() const
public nothrow uchar GetCharAt(int line, int column) const
public int GetCharIndex(int line, int column) const
public nothrow String<uchar> GetCursorText() const
public inline nothrow FontFamily& GetFontFamily() const
protected virtual nothrow int GetIndent(const String<uchar>& line, int lineIndex)
public nothrow void GetLineColumn(const Point& contentLocation, int& line, int& column) const
public nothrow int GetLineLength(int lineNumber)
public Brush* GetOrInsertBrush(const Color& color)
public inline nothrow const Padding& GetPadding() const
public nothrow SelectionData GetSelection() const
public nothrow const Color& GetSelectionBackgroundColor() const
public nothrow const Color& GetTextColor() const
public inline nothrow int GetVisibleColumnCount() const
public inline nothrow int GetVisibleLineCount() const
private nothrow void GotoCaretLine()
public nothrow Event<GotoCaretLineEventHandler, ControlEventArgs>& GotoCaretLineEvent() const
public nothrow void IndentSelection()
public inline nothrow int IndentSize() const
private void Init()
public void InsertChar(int lineIndex, int columnIndex, uchar c)
public nothrow void InsertIntoLine(int lineIndex, int columnIndex, const String<uchar>& text)
public nothrow void InsertLines(int lineIndex, int columnIndex, const List<String<uchar>>& linesToInsert)
public nothrow void InsertSelection(const Selection& selectionToInsert, const SelectionData& selectionData, bool wholeLine)
public void InsertText(int lineIndex, int columnIndex, const String<uchar>& text)
public void InvalidateLineCol(int lineNumber, int columnNumber)
public void InvalidateLines(int startLineNumber, int endLineNumber)
public inline nothrow bool IsCCDirty() const
public inline nothrow bool IsDirty() const
public inline nothrow bool IsFixed() const
public inline nothrow bool IsLinePartiallyVisible(int line) const
public inline nothrow bool IsLineVisible(int line) const
public inline nothrow bool IsReadOnly() const
public nothrow bool IsSelectionEmpty() const
public inline nothrow int LeftColumn() const
public inline nothrow float LeftColumnDiff() const
public nothrow Event<LineChangedEventHandler, LineEventArgs>& LineChangedEvent() const
public nothrow Event<LineDeletedEventHandler, LineEventArgs>& LineDeletedEvent() const
public nothrow Event<LineInsertedEventHandler, LineEventArgs>& LineInsertedEvent() const
public virtual nothrow int LineNumberFieldLength() const
public inline nothrow List<String<uchar>>& Lines()
public inline nothrow const List<String<uchar>>& Lines() const
public nothrow Event<LinesChangedEventHandler, EmptyEventArgs>& LinesChangedEvent() const
public inline nothrow int MaxLineIndex() const
public inline nothrow int MaxLineLength() const
protected virtual void Measure(Graphics& graphics)
private inline nothrow bool MouseExtendSelection() const
public void NewLine(int lineIndex, int columnIndex)
public nothrow bool Next(int& line, int& col)
public nothrow void NextWord(int& line, int& col)
protected virtual void OnCC()
protected virtual void OnCCDirtyChanged()
protected virtual void OnCCNext()
protected virtual void OnCCNextPage()
protected virtual void OnCCPrev()
protected virtual void OnCCPrevPage()
protected virtual void OnCCSelect()
protected virtual nothrow void OnCCTextChanged()
protected virtual void OnCaretPosChanged()
protected override void OnClick()
protected virtual void OnCopy()
protected virtual void OnCut()
protected virtual void OnDirtyChanged()
protected virtual void OnEscape()
protected virtual void OnFontChanged()
protected virtual void OnGotoCaretLine(ControlEventArgs& args)
protected override void OnKeyDown(KeyEventArgs& args)
protected override void OnKeyPress(KeyPressEventArgs& args)
protected virtual void OnLineChanged(LineEventArgs& args)
protected virtual void OnLineDeleted(LineEventArgs& args)
protected virtual void OnLineInserted(LineEventArgs& args)
protected virtual void OnLinesChanged()
protected override void OnLostFocus()
protected override void OnMouseDoubleClick(MouseEventArgs& args)
protected override void OnMouseDown(MouseEventArgs& args)
protected override void OnMouseMove(MouseEventArgs& args)
protected override void OnMouseUp(MouseEventArgs& args)
protected override void OnPaint(PaintEventArgs& args)
protected virtual void OnPaste()
protected virtual void OnSelectionChanged()
protected override void OnTimer(TimerEventArgs& args)
protected virtual void PaintContent(Graphics& graphics, const Rect& clipRect)
public inline nothrow bool Painting() const
public nothrow Event<PasteEventHandler, EmptyEventArgs>& PasteEvent() const
public nothrow bool Prev(int& line, int& col)
public nothrow void PrevWord(int& line, int& col)
public nothrow void Redo()
public nothrow void RemoveFromLine(int lineIndex, int columnIndex, long count)
protected virtual nothrow int RemoveIndent(int lineIndex) const
public nothrow void RemoveSelection()
public nothrow void RemoveSpaces(int lineIndex, int columnIndex, int numSpaces)
public nothrow void ReplaceCCText(const String<uchar>& replacement)
public nothrow void ResetCCDirty()
public nothrow void ResetCCOpen()
public nothrow void ResetCCText()
protected inline nothrow void ResetChanged()
public nothrow void ResetDirty()
public nothrow void ResetFixed()
private nothrow void ResetMouseExtendSelection()
private inline nothrow void ResetPainting()
public nothrow void ResetReadOnly()
public nothrow void ResetSelection()
public void SaveText(const String<char>& filePath)
public void ScrollToCaret()
public nothrow void Select()
public nothrow Event<SelectionChangedEventHandler, EmptyEventArgs>& SelectionChangedEvent() const
public nothrow void SetCCDirty()
public nothrow void SetCCOpen()
public nothrow void SetCCText(const String<uchar>& line, int columnIndex)
public void SetCaretLineCol(int line, int column)
protected override void SetCaretLocation()
public void SetCaretPosByCharIndex(int charIndex)
protected inline nothrow void SetChanged()
protected override nothrow void SetContentLocationInternal(const Point& contentLocation)
protected override void SetCursor()
public nothrow void SetDirty()
public nothrow void SetFilePath(const String<char>& filePath_)
public nothrow void SetFixed()
public void SetFont(const FontFamily& fontFamily_, float fontSize_)
public void SetIndentSize(int indentSize_)
protected virtual nothrow void SetLineNumberFieldLength(int lineCount)
protected nothrow void SetMaxLineLength()
private nothrow void SetMouseExtendSelection()
public nothrow void SetPadding(const Padding& padding_)
private inline nothrow void SetPainting()
public nothrow void SetReadOnly()
public nothrow void SetSelection(const Selection& selection_)
public nothrow void SetSelectionBackgroundColor(const Color& selectionBackgroundColor_)
public nothrow void SetTextColor(const Color& textColor_)
public void SetTextContent(const String<uchar>& textContent)
public void SetTextExtent()
public void SetTopLineCol(int line, int column)
public nothrow void SetUndoRedoMenuItems(MenuItem* undoMenuItem, MenuItem* redoMenuItem)
public void Tab(int lineIndex, int columnIndex)
public inline nothrow int TextHeight() const
public inline nothrow int TextWidth() const
public inline nothrow int TopLine() const
public inline nothrow float TopLineDiff() const
public nothrow void Undo()
public nothrow void UnindentSelection()

Enumerated Types

private enum Flags

Member Variables

private List<UniquePtr<Brush>> brushes
private int caretColumn
private int caretLine
private Event<CaretPosChangedEventHandler, EmptyEventArgs> caretPosChangedEvent
private uint caretTimerPeriod
private Event<CCEventHandler, EmptyEventArgs> ccEvent
private Event<CCNextEventHandler, EmptyEventArgs> ccNextEvent
private Event<CCNextPageEventHandler, EmptyEventArgs> ccNextPageEvent
private Event<CCPrevEventHandler, EmptyEventArgs> ccPrevEvent
private Event<CCPrevPageEventHandler, EmptyEventArgs> ccPrevPageEvent
private Event<CCSelectEventHandler, EmptyEventArgs> ccSelectEvent
private Event<CCDirtyChangedEventHandler, EmptyEventArgs> ccdirtyChangedEvent
private String<uchar> cctext
private Event<CCTextChangedEventHandler, EmptyEventArgs> cctextChangedEvent
private float charHeight
private float charWidth
private HashMap<Color, Brush*, Hasher<Color>, EqualTo<Color>> colorBrushMap
private Event<CopyEventHandler, EmptyEventArgs> copyEvent
private Cursor cursor
private Event<CutEventHandler, EmptyEventArgs> cutEvent
private Event<DirtyChangedEventHandler, EmptyEventArgs> dirtyChangedEvent
private StringFormat drawFormat
private EditCommandList editCommandList
private Event<EscapePressedHandler, EmptyEventArgs> escapePressedEvent
private String<char> filePath
private Flags flags
private FontFamily fontFamily
private float fontSize
private List<UniquePtr<Font>> fonts
private Event<GotoCaretLineEventHandler, ControlEventArgs> gotoCaretLineEvent
private int indentSize
private int leftCol
private float leftColDiff
private Event<LineChangedEventHandler, LineEventArgs> lineChangedEvent
private Event<LineDeletedEventHandler, LineEventArgs> lineDeletedEvent
private Event<LineInsertedEventHandler, LineEventArgs> lineInsertedEvent
private List<int> lineStartIndeces
private List<String<uchar>> lines
private Event<LinesChangedEventHandler, EmptyEventArgs> linesChangedEvent
private int maxLineIndex
private int maxLineLength
private String<char> measureString
private SourcePos mouseSelectionEnd
private SourcePos mouseSelectionStart
private Padding padding
private Event<PasteEventHandler, EmptyEventArgs> pasteEvent
private Selection selection
private Color selectionBackgroundColor
private Event<SelectionChangedEventHandler, EmptyEventArgs> selectionChangedEvent
private Color textColor
private int textHeight
private int textWidth
private int topLine
private float topLineDiff
private bool update

Constructor& Destructor Details

TextView Constructor

public TextView(TextViewCreateParams& createParams)

Definition
Line 241 of System.Windows/TextView.cm


TextView Constructor

public TextView(const FontFamily& fontFamily_, float fontSize_, const Color& backgroundColor, const Color& textColor_, const Point& location, const Size& size, Dock dock, Anchors anchors)

Definition
Line 223 of System.Windows/TextView.cm


TextView Constructor

public TextView(const Point& location, const Size& size, Dock dock, Anchors anchors)

Definition
Line 237 of System.Windows/TextView.cm


Member Function Details

AddBacktabCommand Member Function

private void AddBacktabCommand(int lineIndex, int columnIndex)

Definition
Line 1856 of System.Windows/TextView.cm


AddDeleteCharCommand Member Function

private nothrow void AddDeleteCharCommand(int lineIndex, int columnIndex)

Definition
Line 1658 of System.Windows/TextView.cm


AddIndentSelectionCommand Member Function

private nothrow void AddIndentSelectionCommand()

Definition
Line 2566 of System.Windows/TextView.cm


AddInsertCharCommand Member Function

private nothrow void AddInsertCharCommand(int lineIndex, int columnIndex, uchar c)

Definition
Line 1490 of System.Windows/TextView.cm


AddInsertIntoLineCommand Member Function

public nothrow void AddInsertIntoLineCommand(int lineIndex, int columnIndex, const String<uchar>& text)

Definition
Line 1556 of System.Windows/TextView.cm


AddInsertLinesCommand Member Function

public nothrow void AddInsertLinesCommand(int lineIndex, int columnIndex, const List<String<uchar>>& linesToInsert)

Definition
Line 1586 of System.Windows/TextView.cm


AddLine Member Function

public void AddLine(const String<uchar>& line)

Definition
Line 292 of System.Windows/TextView.cm


AddNewLineCommand Member Function

public nothrow void AddNewLineCommand(int lineIndex, int columnIndex)

Definition
Line 1738 of System.Windows/TextView.cm


AddRemoveSelectionCommand Member Function

public nothrow void AddRemoveSelectionCommand()

Definition
Line 2473 of System.Windows/TextView.cm


AddSpaces Member Function

public nothrow void AddSpaces(int lineIndex, int columnIndex, int numSpaces)

Definition
Line 1905 of System.Windows/TextView.cm


AddTabCommand Member Function

private void AddTabCommand(int lineIndex, int columnIndex)

Definition
Line 1830 of System.Windows/TextView.cm


AddUnindentSelectionCommand Member Function

public nothrow void AddUnindentSelectionCommand()

Definition
Line 2588 of System.Windows/TextView.cm


Backspace Member Function

private void Backspace(int lineIndex, int columnIndex)

Definition
Line 1713 of System.Windows/TextView.cm


Backtab Member Function

public void Backtab(int lineIndex, int columnIndex)

Definition
Line 1874 of System.Windows/TextView.cm


CCDirtyChangedEvent Member Function

public nothrow Event<CCDirtyChangedEventHandler, EmptyEventArgs>& CCDirtyChangedEvent()

Definition
Line 2831 of System.Windows/TextView.cm


CCEvent Member Function

public nothrow Event<CCEventHandler, EmptyEventArgs>& CCEvent()

Definition
Line 2839 of System.Windows/TextView.cm


CCNextEvent Member Function

public nothrow Event<CCNextEventHandler, EmptyEventArgs>& CCNextEvent()

Definition
Line 2847 of System.Windows/TextView.cm


CCNextPageEvent Member Function

public nothrow Event<CCNextPageEventHandler, EmptyEventArgs>& CCNextPageEvent()

Definition
Line 2855 of System.Windows/TextView.cm


CCOpen Member Function

public inline nothrow bool CCOpen()

Definition
Line 2787 of System.Windows/TextView.cm


CCPos Member Function

public nothrow Point CCPos()

Definition
Line 375 of System.Windows/TextView.cm


CCPrevEvent Member Function

public nothrow Event<CCPrevEventHandler, EmptyEventArgs>& CCPrevEvent()

Definition
Line 2851 of System.Windows/TextView.cm


CCPrevPageEvent Member Function

public nothrow Event<CCPrevPageEventHandler, EmptyEventArgs>& CCPrevPageEvent()

Definition
Line 2859 of System.Windows/TextView.cm


CCSelectEvent Member Function

public nothrow Event<CCSelectEventHandler, EmptyEventArgs>& CCSelectEvent()

Definition
Line 2863 of System.Windows/TextView.cm


CCTextChangedEvent Member Function

public nothrow Event<CCTextChangedEventHandler, EmptyEventArgs>& CCTextChangedEvent()

Definition
Line 2835 of System.Windows/TextView.cm


CaretColumn Member Function

public inline nothrow int CaretColumn()

Definition
Line 401 of System.Windows/TextView.cm


CaretLine Member Function

public inline nothrow int CaretLine()

Definition
Line 397 of System.Windows/TextView.cm


CaretPos Member Function

public nothrow Point CaretPos()

Definition
Line 367 of System.Windows/TextView.cm


CaretPosChangedEvent Member Function

public nothrow Event<CaretPosChangedEventHandler, EmptyEventArgs>& CaretPosChangedEvent()

Definition
Line 2799 of System.Windows/TextView.cm


Changed Member Function

protected inline nothrow bool Changed()

Definition
Line 2687 of System.Windows/TextView.cm


CharHeight Member Function

public inline nothrow float CharHeight()

Definition
Line 330 of System.Windows/TextView.cm


CharWidth Member Function

public inline nothrow float CharWidth()

Definition
Line 326 of System.Windows/TextView.cm


Clear Member Function

public virtual void Clear()

Definition
Line 449 of System.Windows/TextView.cm


CopyEvent Member Function

public nothrow Event<CopyEventHandler, EmptyEventArgs>& CopyEvent()

Definition
Line 2867 of System.Windows/TextView.cm


CreateCaret Member Function

protected override void CreateCaret()

Definition
Line 2013 of System.Windows/TextView.cm


CutEvent Member Function

public nothrow Event<CutEventHandler, EmptyEventArgs>& CutEvent()

Definition
Line 2871 of System.Windows/TextView.cm


DeleteChar Member Function

public void DeleteChar(int lineIndex, int columnIndex, int indent, int numSpaces, bool removeIndent)

Definition
Line 1675 of System.Windows/TextView.cm


DeleteLines Member Function

public nothrow void DeleteLines(int lineIndex, int columnIndex, const List<String<uchar>>& linesToDelete)

Definition
Line 1632 of System.Windows/TextView.cm


DirtyChangedEvent Member Function

public nothrow Event<DirtyChangedEventHandler, EmptyEventArgs>& DirtyChangedEvent()

Definition
Line 2827 of System.Windows/TextView.cm


DrawLine Member Function

protected virtual void DrawLine(Graphics& graphics, int lineIndex, const PointF& origin)

Definition
Line 728 of System.Windows/TextView.cm


DrawSelectionBackground Member Function

private void DrawSelectionBackground(Graphics& graphics, int line, const PointF& origin, int lineNumberFieldLength)

Definition
Line 694 of System.Windows/TextView.cm


EnsureLineVisible Member Function

public void EnsureLineVisible(int line)

Definition
Line 438 of System.Windows/TextView.cm


EscapePressedEvent Member Function

public nothrow Event<EscapePressedHandler, EmptyEventArgs>& EscapePressedEvent()

Definition
Line 2843 of System.Windows/TextView.cm


ExtendSelection Member Function

public nothrow void ExtendSelection(const SourcePos& start, const SourcePos& end)

Definition
Line 2616 of System.Windows/TextView.cm


FilePath Member Function

public nothrow const String<char>& FilePath()

Definition
Line 2915 of System.Windows/TextView.cm


FixColumn Member Function

private nothrow void FixColumn(int& column, int line)

Definition
Line 780 of System.Windows/TextView.cm


FontSize Member Function

public inline nothrow float FontSize()

Definition
Line 346 of System.Windows/TextView.cm


Fonts Member Function

public inline nothrow List<UniquePtr<Font>>& Fonts()

Definition
Line 354 of System.Windows/TextView.cm


Fonts Member Function

public inline nothrow const List<UniquePtr<Font>>& Fonts()

Definition
Line 350 of System.Windows/TextView.cm


GetCCText Member Function

public inline nothrow const String<uchar>& GetCCText()

Definition
Line 2227 of System.Windows/TextView.cm


GetCharAt Member Function

public nothrow uchar GetCharAt(int line, int column)

Definition
Line 585 of System.Windows/TextView.cm


GetCharIndex Member Function

public int GetCharIndex(int line, int column)

Definition
Line 637 of System.Windows/TextView.cm


GetCursorText Member Function

public nothrow String<uchar> GetCursorText()

Definition
Line 2267 of System.Windows/TextView.cm


GetFontFamily Member Function

public inline nothrow FontFamily& GetFontFamily()

Definition
Line 342 of System.Windows/TextView.cm


GetIndent Member Function

protected virtual nothrow int GetIndent(const String<uchar>& line, int lineIndex)

Definition
Line 1723 of System.Windows/TextView.cm


GetLineColumn Member Function

public nothrow void GetLineColumn(const Point& contentLocation, int& line, int& column)

Definition
Line 433 of System.Windows/TextView.cm


GetLineLength Member Function

public nothrow int GetLineLength(int lineNumber)

Definition
Line 469 of System.Windows/TextView.cm


GetOrInsertBrush Member Function

public Brush* GetOrInsertBrush(const Color& color)

Definition
Line 2675 of System.Windows/TextView.cm


GetPadding Member Function

public inline nothrow const Padding& GetPadding()

Definition
Line 2163 of System.Windows/TextView.cm


GetSelection Member Function

public nothrow SelectionData GetSelection()

Definition
Line 2329 of System.Windows/TextView.cm


GetSelectionBackgroundColor Member Function

public nothrow const Color& GetSelectionBackgroundColor()

Definition
Line 276 of System.Windows/TextView.cm


GetTextColor Member Function

public nothrow const Color& GetTextColor()

Definition
Line 268 of System.Windows/TextView.cm


GetVisibleColumnCount Member Function

public inline nothrow int GetVisibleColumnCount()

Definition
Line 420 of System.Windows/TextView.cm


GetVisibleLineCount Member Function

public inline nothrow int GetVisibleLineCount()

Definition
Line 415 of System.Windows/TextView.cm


GotoCaretLine Member Function

private nothrow void GotoCaretLine()

Definition
Line 576 of System.Windows/TextView.cm


GotoCaretLineEvent Member Function

public nothrow Event<GotoCaretLineEventHandler, ControlEventArgs>& GotoCaretLineEvent()

Definition
Line 2819 of System.Windows/TextView.cm


IndentSelection Member Function

public nothrow void IndentSelection()

Definition
Line 2570 of System.Windows/TextView.cm


IndentSize Member Function

public inline nothrow int IndentSize()

Definition
Line 1822 of System.Windows/TextView.cm


Init Member Function

private void Init()

Definition
Line 255 of System.Windows/TextView.cm


InsertChar Member Function

public void InsertChar(int lineIndex, int columnIndex, uchar c)

Definition
Line 1504 of System.Windows/TextView.cm


InsertIntoLine Member Function

public nothrow void InsertIntoLine(int lineIndex, int columnIndex, const String<uchar>& text)

Definition
Line 1560 of System.Windows/TextView.cm


InsertLines Member Function

public nothrow void InsertLines(int lineIndex, int columnIndex, const List<String<uchar>>& linesToInsert)

Definition
Line 1590 of System.Windows/TextView.cm


InsertSelection Member Function

public nothrow void InsertSelection(const Selection& selectionToInsert, const SelectionData& selectionData, bool wholeLine)

Definition
Line 2370 of System.Windows/TextView.cm


InsertText Member Function

public void InsertText(int lineIndex, int columnIndex, const String<uchar>& text)

Definition
Line 1532 of System.Windows/TextView.cm


InvalidateLineCol Member Function

public void InvalidateLineCol(int lineNumber, int columnNumber)

Definition
Line 2879 of System.Windows/TextView.cm


InvalidateLines Member Function

public void InvalidateLines(int startLineNumber, int endLineNumber)

Definition
Line 2895 of System.Windows/TextView.cm


IsCCDirty Member Function

public inline nothrow bool IsCCDirty()

Definition
Line 2755 of System.Windows/TextView.cm


IsDirty Member Function

public inline nothrow bool IsDirty()

Definition
Line 2735 of System.Windows/TextView.cm


IsFixed Member Function

public inline nothrow bool IsFixed()

Definition
Line 2723 of System.Windows/TextView.cm


IsLinePartiallyVisible Member Function

public inline nothrow bool IsLinePartiallyVisible(int line)

Definition
Line 425 of System.Windows/TextView.cm


IsLineVisible Member Function

public inline nothrow bool IsLineVisible(int line)

Definition
Line 429 of System.Windows/TextView.cm


IsReadOnly Member Function

public inline nothrow bool IsReadOnly()

Definition
Line 2711 of System.Windows/TextView.cm


IsSelectionEmpty Member Function

public nothrow bool IsSelectionEmpty()

Definition
Line 2325 of System.Windows/TextView.cm


LeftColumn Member Function

public inline nothrow int LeftColumn()

Definition
Line 389 of System.Windows/TextView.cm


LeftColumnDiff Member Function

public inline nothrow float LeftColumnDiff()

Definition
Line 393 of System.Windows/TextView.cm


LineChangedEvent Member Function

public nothrow Event<LineChangedEventHandler, LineEventArgs>& LineChangedEvent()

Definition
Line 2807 of System.Windows/TextView.cm


LineDeletedEvent Member Function

public nothrow Event<LineDeletedEventHandler, LineEventArgs>& LineDeletedEvent()

Definition
Line 2811 of System.Windows/TextView.cm


LineInsertedEvent Member Function

public nothrow Event<LineInsertedEventHandler, LineEventArgs>& LineInsertedEvent()

Definition
Line 2815 of System.Windows/TextView.cm


LineNumberFieldLength Member Function

public virtual nothrow int LineNumberFieldLength()

Definition
Line 2006 of System.Windows/TextView.cm


Lines Member Function

public inline nothrow List<String<uchar>>& Lines()

Definition
Line 284 of System.Windows/TextView.cm


Lines Member Function

public inline nothrow const List<String<uchar>>& Lines()

Definition
Line 288 of System.Windows/TextView.cm


LinesChangedEvent Member Function

public nothrow Event<LinesChangedEventHandler, EmptyEventArgs>& LinesChangedEvent()

Definition
Line 2803 of System.Windows/TextView.cm


MaxLineIndex Member Function

public inline nothrow int MaxLineIndex()

Definition
Line 2144 of System.Windows/TextView.cm


MaxLineLength Member Function

public inline nothrow int MaxLineLength()

Definition
Line 2140 of System.Windows/TextView.cm


Measure Member Function

protected virtual void Measure(Graphics& graphics)

Definition
Line 739 of System.Windows/TextView.cm


MouseExtendSelection Member Function

private inline nothrow bool MouseExtendSelection()

Definition
Line 2775 of System.Windows/TextView.cm


NewLine Member Function

public void NewLine(int lineIndex, int columnIndex)

Definition
Line 1773 of System.Windows/TextView.cm


Next Member Function

public nothrow bool Next(int& line, int& col)

Definition
Line 504 of System.Windows/TextView.cm


NextWord Member Function

public nothrow void NextWord(int& line, int& col)

Definition
Line 552 of System.Windows/TextView.cm


OnCC Member Function

protected virtual void OnCC()

Definition
Line 2187 of System.Windows/TextView.cm


OnCCDirtyChanged Member Function

protected virtual void OnCCDirtyChanged()

Definition
Line 2183 of System.Windows/TextView.cm


OnCCNext Member Function

protected virtual void OnCCNext()

Definition
Line 1470 of System.Windows/TextView.cm


OnCCNextPage Member Function

protected virtual void OnCCNextPage()

Definition
Line 1478 of System.Windows/TextView.cm


OnCCPrev Member Function

protected virtual void OnCCPrev()

Definition
Line 1474 of System.Windows/TextView.cm


OnCCPrevPage Member Function

protected virtual void OnCCPrevPage()

Definition
Line 1482 of System.Windows/TextView.cm


OnCCSelect Member Function

protected virtual void OnCCSelect()

Definition
Line 1486 of System.Windows/TextView.cm


OnCCTextChanged Member Function

protected virtual nothrow void OnCCTextChanged()

Definition
Line 2223 of System.Windows/TextView.cm


OnCaretPosChanged Member Function

protected virtual void OnCaretPosChanged()

Definition
Line 2106 of System.Windows/TextView.cm


OnClick Member Function

protected override void OnClick()

Definition
Line 2039 of System.Windows/TextView.cm


OnCopy Member Function

protected virtual void OnCopy()

Definition
Line 1929 of System.Windows/TextView.cm


OnCut Member Function

protected virtual void OnCut()

Definition
Line 1937 of System.Windows/TextView.cm


OnDirtyChanged Member Function

protected virtual void OnDirtyChanged()

Definition
Line 2179 of System.Windows/TextView.cm


OnEscape Member Function

protected virtual void OnEscape()

Definition
Line 1466 of System.Windows/TextView.cm


OnFontChanged Member Function

protected virtual void OnFontChanged()

Definition
Line 305 of System.Windows/TextView.cm


OnGotoCaretLine Member Function

protected virtual void OnGotoCaretLine(ControlEventArgs& args)

Definition
Line 581 of System.Windows/TextView.cm


OnKeyDown Member Function

protected override void OnKeyDown(KeyEventArgs& args)

Definition
Line 872 of System.Windows/TextView.cm


OnKeyPress Member Function

protected override void OnKeyPress(KeyPressEventArgs& args)

Definition
Line 1435 of System.Windows/TextView.cm


OnLineChanged Member Function

protected virtual void OnLineChanged(LineEventArgs& args)

Definition
Line 2114 of System.Windows/TextView.cm


OnLineDeleted Member Function

protected virtual void OnLineDeleted(LineEventArgs& args)

Definition
Line 2119 of System.Windows/TextView.cm


OnLineInserted Member Function

protected virtual void OnLineInserted(LineEventArgs& args)

Definition
Line 2124 of System.Windows/TextView.cm


OnLinesChanged Member Function

protected virtual void OnLinesChanged()

Definition
Line 2110 of System.Windows/TextView.cm


OnLostFocus Member Function

protected override void OnLostFocus()

Definition
Line 2034 of System.Windows/TextView.cm


OnMouseDoubleClick Member Function

protected override void OnMouseDoubleClick(MouseEventArgs& args)

Definition
Line 2045 of System.Windows/TextView.cm


OnMouseDown Member Function

protected override void OnMouseDown(MouseEventArgs& args)

Definition
Line 789 of System.Windows/TextView.cm


OnMouseMove Member Function

protected override void OnMouseMove(MouseEventArgs& args)

Definition
Line 831 of System.Windows/TextView.cm


OnMouseUp Member Function

protected override void OnMouseUp(MouseEventArgs& args)

Definition
Line 851 of System.Windows/TextView.cm


OnPaint Member Function

protected override void OnPaint(PaintEventArgs& args)

Definition
Line 650 of System.Windows/TextView.cm


OnPaste Member Function

protected virtual void OnPaste()

Definition
Line 1933 of System.Windows/TextView.cm


OnSelectionChanged Member Function

protected virtual void OnSelectionChanged()

Definition
Line 2175 of System.Windows/TextView.cm


OnTimer Member Function

protected override void OnTimer(TimerEventArgs& args)

Definition
Line 2025 of System.Windows/TextView.cm


PaintContent Member Function

protected virtual void PaintContent(Graphics& graphics, const Rect& clipRect)

Definition
Line 662 of System.Windows/TextView.cm


Painting Member Function

public inline nothrow bool Painting()

Definition
Line 2699 of System.Windows/TextView.cm


PasteEvent Member Function

public nothrow Event<PasteEventHandler, EmptyEventArgs>& PasteEvent()

Definition
Line 2875 of System.Windows/TextView.cm


Prev Member Function

public nothrow bool Prev(int& line, int& col)

Definition
Line 478 of System.Windows/TextView.cm


PrevWord Member Function

public nothrow void PrevWord(int& line, int& col)

Definition
Line 523 of System.Windows/TextView.cm


Redo Member Function

public nothrow void Redo()

Definition
Line 322 of System.Windows/TextView.cm


RemoveFromLine Member Function

public nothrow void RemoveFromLine(int lineIndex, int columnIndex, long count)

Definition
Line 1573 of System.Windows/TextView.cm


RemoveIndent Member Function

protected virtual nothrow int RemoveIndent(int lineIndex)

Definition
Line 1734 of System.Windows/TextView.cm


RemoveSelection Member Function

public nothrow void RemoveSelection()

Definition
Line 2495 of System.Windows/TextView.cm


RemoveSpaces Member Function

public nothrow void RemoveSpaces(int lineIndex, int columnIndex, int numSpaces)

Definition
Line 1917 of System.Windows/TextView.cm


ReplaceCCText Member Function

public nothrow void ReplaceCCText(const String<uchar>& replacement)

Definition
Line 2231 of System.Windows/TextView.cm


ResetCCDirty Member Function

public nothrow void ResetCCDirty()

Definition
Line 2767 of System.Windows/TextView.cm


ResetCCOpen Member Function

public nothrow void ResetCCOpen()

Definition
Line 2795 of System.Windows/TextView.cm


ResetCCText Member Function

public nothrow void ResetCCText()

Definition
Line 2218 of System.Windows/TextView.cm


ResetChanged Member Function

protected inline nothrow void ResetChanged()

Definition
Line 2695 of System.Windows/TextView.cm


ResetDirty Member Function

public nothrow void ResetDirty()

Definition
Line 2747 of System.Windows/TextView.cm


ResetFixed Member Function

public nothrow void ResetFixed()

Definition
Line 2731 of System.Windows/TextView.cm


ResetMouseExtendSelection Member Function

private nothrow void ResetMouseExtendSelection()

Definition
Line 2783 of System.Windows/TextView.cm


ResetPainting Member Function

private inline nothrow void ResetPainting()

Definition
Line 2707 of System.Windows/TextView.cm


ResetReadOnly Member Function

public nothrow void ResetReadOnly()

Definition
Line 2719 of System.Windows/TextView.cm


ResetSelection Member Function

public nothrow void ResetSelection()

Definition
Line 2316 of System.Windows/TextView.cm


SaveText Member Function

public void SaveText(const String<char>& filePath)

Definition
Line 2191 of System.Windows/TextView.cm


ScrollToCaret Member Function

public void ScrollToCaret()

Definition
Line 1949 of System.Windows/TextView.cm


Select Member Function

public nothrow void Select()

Definition
Line 314 of System.Windows/TextView.cm


SelectionChangedEvent Member Function

public nothrow Event<SelectionChangedEventHandler, EmptyEventArgs>& SelectionChangedEvent()

Definition
Line 2823 of System.Windows/TextView.cm


SetCCDirty Member Function

public nothrow void SetCCDirty()

Definition
Line 2759 of System.Windows/TextView.cm


SetCCOpen Member Function

public nothrow void SetCCOpen()

Definition
Line 2791 of System.Windows/TextView.cm


SetCCText Member Function

public nothrow void SetCCText(const String<uchar>& line, int columnIndex)

Definition
Line 2199 of System.Windows/TextView.cm


SetCaretLineCol Member Function

public void SetCaretLineCol(int line, int column)

Definition
Line 358 of System.Windows/TextView.cm


SetCaretLocation Member Function

protected override void SetCaretLocation()

Definition
Line 2094 of System.Windows/TextView.cm


SetCaretPosByCharIndex Member Function

public void SetCaretPosByCharIndex(int charIndex)

Definition
Line 613 of System.Windows/TextView.cm


SetChanged Member Function

protected inline nothrow void SetChanged()

Definition
Line 2691 of System.Windows/TextView.cm


SetContentLocationInternal Member Function

protected override nothrow void SetContentLocationInternal(const Point& contentLocation)

Definition
Line 1941 of System.Windows/TextView.cm


SetCursor Member Function

protected override void SetCursor()

Definition
Line 2090 of System.Windows/TextView.cm


SetDirty Member Function

public nothrow void SetDirty()

Definition
Line 2739 of System.Windows/TextView.cm


SetFilePath Member Function

public nothrow void SetFilePath(const String<char>& filePath_)

Definition
Line 2911 of System.Windows/TextView.cm


SetFixed Member Function

public nothrow void SetFixed()

Definition
Line 2727 of System.Windows/TextView.cm


SetFont Member Function

public void SetFont(const FontFamily& fontFamily_, float fontSize_)

Definition
Line 297 of System.Windows/TextView.cm


SetIndentSize Member Function

public void SetIndentSize(int indentSize_)

Definition
Line 1826 of System.Windows/TextView.cm


SetLineNumberFieldLength Member Function

protected virtual nothrow void SetLineNumberFieldLength(int lineCount)

Definition
Line 2010 of System.Windows/TextView.cm


SetMaxLineLength Member Function

protected nothrow void SetMaxLineLength()

Definition
Line 2148 of System.Windows/TextView.cm


SetMouseExtendSelection Member Function

private nothrow void SetMouseExtendSelection()

Definition
Line 2779 of System.Windows/TextView.cm


SetPadding Member Function

public nothrow void SetPadding(const Padding& padding_)

Definition
Line 2167 of System.Windows/TextView.cm


SetPainting Member Function

private inline nothrow void SetPainting()

Definition
Line 2703 of System.Windows/TextView.cm


SetReadOnly Member Function

public nothrow void SetReadOnly()

Definition
Line 2715 of System.Windows/TextView.cm


SetSelection Member Function

public nothrow void SetSelection(const Selection& selection_)

Definition
Line 2311 of System.Windows/TextView.cm


SetSelectionBackgroundColor Member Function

public nothrow void SetSelectionBackgroundColor(const Color& selectionBackgroundColor_)

Definition
Line 280 of System.Windows/TextView.cm


SetTextColor Member Function

public nothrow void SetTextColor(const Color& textColor_)

Definition
Line 272 of System.Windows/TextView.cm


SetTextContent Member Function

public void SetTextContent(const String<uchar>& textContent)

Definition
Line 454 of System.Windows/TextView.cm


SetTextExtent Member Function

public void SetTextExtent()

Definition
Line 774 of System.Windows/TextView.cm


SetTopLineCol Member Function

public void SetTopLineCol(int line, int column)

Definition
Line 405 of System.Windows/TextView.cm


SetUndoRedoMenuItems Member Function

public nothrow void SetUndoRedoMenuItems(MenuItem* undoMenuItem, MenuItem* redoMenuItem)

Definition
Line 310 of System.Windows/TextView.cm


Tab Member Function

public void Tab(int lineIndex, int columnIndex)

Definition
Line 1834 of System.Windows/TextView.cm


TextHeight Member Function

public inline nothrow int TextHeight()

Definition
Line 338 of System.Windows/TextView.cm


TextWidth Member Function

public inline nothrow int TextWidth()

Definition
Line 334 of System.Windows/TextView.cm


TopLine Member Function

public inline nothrow int TopLine()

Definition
Line 381 of System.Windows/TextView.cm


TopLineDiff Member Function

public inline nothrow float TopLineDiff()

Definition
Line 385 of System.Windows/TextView.cm


Undo Member Function

public nothrow void Undo()

Definition
Line 318 of System.Windows/TextView.cm


UnindentSelection Member Function

public nothrow void UnindentSelection()

Definition
Line 2592 of System.Windows/TextView.cm