C# Class dnSpy.Text.Editor.ViewScroller

Inheritance: IViewScroller
Mostra file Open project: 0xd4d/dnSpy Class Usage Examples

Private Properties

Property Type Description
EnsureSpanVisibleX void
EnsureSpanVisibleY void
ShowSpan void

Public Methods

Method Description
EnsureSpanVisible ( SnapshotSpan span ) : void
EnsureSpanVisible ( SnapshotSpan span, EnsureSpanVisibleOptions options ) : void
EnsureSpanVisible ( VirtualSnapshotSpan span, EnsureSpanVisibleOptions options ) : void
ScrollViewportHorizontallyByPixels ( double distanceToScroll ) : void
ScrollViewportVerticallyByLine ( ScrollDirection direction ) : void
ScrollViewportVerticallyByLines ( ScrollDirection direction, int count ) : void
ScrollViewportVerticallyByPage ( ScrollDirection direction ) : bool
ScrollViewportVerticallyByPixels ( double distanceToScroll ) : void
ViewScroller ( ITextView textView ) : System

Private Methods

Method Description
EnsureSpanVisibleX ( VirtualSnapshotSpan span, EnsureSpanVisibleOptions options ) : void
EnsureSpanVisibleY ( VirtualSnapshotSpan span, EnsureSpanVisibleOptions options ) : void
ShowSpan ( SnapshotSpan bufferSpan, EnsureSpanVisibleOptions options ) : void

Method Details

EnsureSpanVisible() public method

public EnsureSpanVisible ( SnapshotSpan span ) : void
span SnapshotSpan
return void

EnsureSpanVisible() public method

public EnsureSpanVisible ( SnapshotSpan span, EnsureSpanVisibleOptions options ) : void
span SnapshotSpan
options EnsureSpanVisibleOptions
return void

EnsureSpanVisible() public method

public EnsureSpanVisible ( VirtualSnapshotSpan span, EnsureSpanVisibleOptions options ) : void
span VirtualSnapshotSpan
options EnsureSpanVisibleOptions
return void

ScrollViewportHorizontallyByPixels() public method

public ScrollViewportHorizontallyByPixels ( double distanceToScroll ) : void
distanceToScroll double
return void

ScrollViewportVerticallyByLine() public method

public ScrollViewportVerticallyByLine ( ScrollDirection direction ) : void
direction ScrollDirection
return void

ScrollViewportVerticallyByLines() public method

public ScrollViewportVerticallyByLines ( ScrollDirection direction, int count ) : void
direction ScrollDirection
count int
return void

ScrollViewportVerticallyByPage() public method

public ScrollViewportVerticallyByPage ( ScrollDirection direction ) : bool
direction ScrollDirection
return bool

ScrollViewportVerticallyByPixels() public method

public ScrollViewportVerticallyByPixels ( double distanceToScroll ) : void
distanceToScroll double
return void

ViewScroller() public method

public ViewScroller ( ITextView textView ) : System
textView ITextView
return System