C# Class Microsoft.R.Components.Extensions.TextViewExtensions

Mostra file Open project: Microsoft/RTVS

Public Methods

Method Description
IsRepl ( this textView ) : bool

Determines if given text view is interactive window

MapDownToBuffer ( this textView, int position, ITextBuffer buffer ) : SnapshotPoint?

Maps down to the buffer using positive point tracking and successor position affinity

MapUpToView ( this textView, SnapshotPoint position ) : SnapshotPoint?

Method Details

IsRepl() public static method

Determines if given text view is interactive window
public static IsRepl ( this textView ) : bool
textView this
return bool

MapDownToBuffer() public static method

Maps down to the buffer using positive point tracking and successor position affinity
public static MapDownToBuffer ( this textView, int position, ITextBuffer buffer ) : SnapshotPoint?
textView this
position int
buffer ITextBuffer
return SnapshotPoint?

MapUpToView() public static method

public static MapUpToView ( this textView, SnapshotPoint position ) : SnapshotPoint?
textView this
position SnapshotPoint
return SnapshotPoint?