Skip to content

Commit

Permalink
Adding a todo inside of moveLinesCommand file (#214880)
Browse files Browse the repository at this point in the history
adding a todo
  • Loading branch information
aiday-mar committed Jun 11, 2024
1 parent 0fd9a00 commit 5adc4dc
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ export class MoveLinesCommand implements ICommand {
tokenization: {
getLineTokens: (lineNumber: number) => {
if (lineNumber === s.startLineNumber) {
// TODO@aiday-mar: the tokens here don't correspond exactly to the corresponding content (after indentation adjustment), have to fix this.
return model.tokenization.getLineTokens(movingLineNumber);
} else if (lineNumber >= s.startLineNumber + 1 && lineNumber <= s.endLineNumber + 1) {
return model.tokenization.getLineTokens(lineNumber - 1);
Expand Down

0 comments on commit 5adc4dc

Please sign in to comment.