We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be7d31c commit c4da944Copy full SHA for c4da944
src/extension/xtab/node/xtabProvider.ts
@@ -907,7 +907,7 @@ export class XtabProvider implements IStatelessNextEditProvider {
907
} else {
908
const nextCursorLineOneBased = nextCursorLineZeroBased + 1;
909
const nextCursorLine = promptPieces.activeDoc.documentAfterEditsLines.at(nextCursorLineZeroBased);
910
- const nextCursorColumn = (nextCursorLine?.match(/^(\s+)/)?.at(0)?.length ?? 0) + 1;
+ const nextCursorColumn = (nextCursorLine?.length ?? 0) + 1;
911
switch (nextCursorLinePrediction) {
912
case NextCursorLinePrediction.Jump: {
913
const nextCursorPosition = new Position(nextCursorLineOneBased, nextCursorColumn);
0 commit comments