Skip to content

Commit 0c743d4

Browse files
Yoyokrazyrebornix
andauthored
Ctrl+D multiselection support for notebooks (microsoft#226206)
* wip * onWillType relays for cursorControllers * esc multi select mode action + context key * composition wip * Construct editor options on the fly. * Keep cursor model in contrib. * Avoid exposing getCellIndexByHandle * constructCoordinatesConverter * cursor decoration improvement, lazy decorations, when clauses * setting for when clause + cursor exits * clean decorations + cursor exit selecting state --------- Co-authored-by: Peng Lyu <[email protected]>
1 parent 36ba96e commit 0c743d4

File tree

4 files changed

+525
-1
lines changed

4 files changed

+525
-1
lines changed

src/vs/editor/common/model/textModel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1989,7 +1989,7 @@ export class TextModel extends Disposable implements model.ITextModel, IDecorati
19891989
}
19901990
}
19911991

1992-
function indentOfLine(line: string): number {
1992+
export function indentOfLine(line: string): number {
19931993
let indent = 0;
19941994
for (const c of line) {
19951995
if (c === ' ' || c === '\t') {

0 commit comments

Comments
 (0)