Пример #1
0
 public IAsyncAction RevealRangeAtTopAsync(IRange range)
 {
     return(this.SendScriptAsync("editor.revealRangeAtTop(JSON.parse('" + range.ToJson() + "'))").AsAsyncAction());
 }
Пример #2
0
 public IAsyncAction RevealRangeInCenterIfOutsideViewportAsync(IRange range)
 {
     return(this.SendScriptAsync("editor.revealRangeInCenterIfOutsideViewport(JSON.parse('" + range.ToJson() + "'))").AsAsyncAction());
 }
Пример #3
0
 public IAsyncAction RevealRangeInCenterAsync(IRange range)
 {
     return(SendScriptAsync("editor.revealRangeInCenter(JSON.parse('" + range.ToJson() + "'))").AsAsyncAction());
 }