提交 fed21f52 编写于 作者: B Benjamin Pasero

fix return types

上级 5845b8ee
......@@ -1323,10 +1323,12 @@ export class Cursor extends EventEmitter {
private _scrollUp(isPaged: boolean, ctx: IMultipleCursorOperationContext): boolean {
ctx.requestScrollDeltaLines = isPaged ? -this.configuration.editor.pageSize : -1;
return true;
}
private _scrollDown(isPaged: boolean, ctx: IMultipleCursorOperationContext): boolean {
ctx.requestScrollDeltaLines = isPaged ? this.configuration.editor.pageSize : 1;
return true;
}
private _distributePasteToCursors(ctx: IMultipleCursorOperationContext): string[] {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册