Move logic to Viewport

This commit is contained in:
tisilent
2023-06-06 20:14:24 +08:00
parent b7d73f63cd
commit ce2d115087
4 changed files with 57 additions and 91 deletions
+3
View File
@@ -319,6 +319,9 @@ export class MockViewport implements IViewport {
public getBufferElements(startLine: number, endLine?: number | undefined): { bufferElements: HTMLElement[], cursorElement?: HTMLElement | undefined } {
throw new Error('Method not implemented.');
}
public scrollLines(disp: number): void {
throw new Error('Method not implemented.');
}
}
export class MockCompositionHelper implements ICompositionHelper {