ISyntaxEditorPresenter
Interface
SyntaxEditorPresenter behavior definition.
Definition
Namespace:Telerik.WinForms.SyntaxEditor.UI
Assembly:Telerik.WinControls.SyntaxEditor.dll
Syntax:
C#
public interface ISyntaxEditorPresenter
Derived Classes:
Properties
Gets the editor.
C#
RadSyntaxEditorElement Editor { get; }
The editor.
Gets the horizontal scroll offset.
C#
double HorizontalScrollOffset { get; }
The horizontal scroll offset.
Gets the vertical scroll offset.
C#
double VerticalScrollOffset { get; }
The vertical scroll offset.
Methods
Gets the document point from position.
C#
Point GetDocumentPointFromPosition(CaretPosition position)
The position.
Returns:Point.
Gets the position from view point.
C#
CaretPosition GetPositionFromViewPoint(Point point)
The point.
Returns:CaretPosition.
Gets the view point from position.
C#
Point GetViewPointFromPosition(CaretPosition position)
The position.
Returns:Point.
Hides the drop marker.
C#
void HideDropMarker()
Moves the caret to position in view.
C#
void MoveCaretToPositionInView(CaretPosition caretPosition, Point positionInView, bool moveToNextIfOutOfBox)
The caret position.
positionInViewPointThe position in view.
moveToNextIfOutOfBoxboolIf set to true [move to next if out of box].
Moves the drop marker.
Shows the drop marker.
Events
Occurs when [viewport changed].
C#
event EventHandler ViewportChanged