-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#25 Scroll to the cursor after document is formatted
- Loading branch information
Sandor Tardi
committed
Jan 25, 2022
1 parent
a718ca8
commit 9a556f4
Showing
5 changed files
with
41 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
namespace SpecFlow.VisualStudio.VsxStubs; | ||
|
||
public class StubViewScroller : IViewScroller | ||
{ | ||
public void ScrollViewportVerticallyByPixels(double distanceToScroll) | ||
{ | ||
} | ||
|
||
public void ScrollViewportVerticallyByLine(ScrollDirection direction) | ||
{ | ||
} | ||
|
||
public void ScrollViewportVerticallyByLines(ScrollDirection direction, int count) | ||
{ | ||
} | ||
|
||
public bool ScrollViewportVerticallyByPage(ScrollDirection direction) => false; | ||
|
||
public void ScrollViewportHorizontallyByPixels(double distanceToScroll) | ||
{ | ||
} | ||
|
||
public void EnsureSpanVisible(SnapshotSpan span) | ||
{ | ||
} | ||
|
||
public void EnsureSpanVisible(SnapshotSpan span, EnsureSpanVisibleOptions options) | ||
{ | ||
} | ||
|
||
public void EnsureSpanVisible(VirtualSnapshotSpan span, EnsureSpanVisibleOptions options) | ||
{ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters