Table of Contents

Method OnUnwrappedCursorPositionChanged

Namespace
Terminal.Gui.Views
Assembly
Terminal.Gui.dll

OnUnwrappedCursorPositionChanged(Point)

Called when the cursor position changes, providing the position in unwrapped model coordinates.

protected virtual void OnUnwrappedCursorPositionChanged(Point newUnwrappedCursorPosition)

Parameters

newUnwrappedCursorPosition Point

Remarks

This event is useful for knowing the cursor position in the original text, independent of how the text is displayed (wrapped or unwrapped). The Point provided contains (column, row) in the unwrapped model.