You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you use moveCursor in a file that has tabs, recent version of vscode jump to somewhere unexpectingly. So you ask to jump to line 4 column 20, but because there are 2 tabs at the front, it actuall jumps to line 4 column 25. The loop at the end of moveCursor therefor never terminates.
Steps to Reproduce
have a file that contains tabs
open the file using openEditor
new TextEditor().moveCursor(<line>, <column after tab>);
error: TimeoutError: Unable to set cursor at position 15:15
if I replace the tabs in the file with 4 spaces, it works again
Expected behavior
jump to location and continue
note, this seems to be a new bug, older version of vs code worked fine with these tests.
Environment information
OS:
Windows
Linux
macOS
VSCode version: 1.82.0
ExTester version: 5.9.2
Node (npm) version: 8.15
The text was updated successfully, but these errors were encountered:
If you use moveCursor in a file that has tabs, recent version of vscode jump to somewhere unexpectingly. So you ask to jump to line 4 column 20, but because there are 2 tabs at the front, it actuall jumps to line 4 column 25. The loop at the end of moveCursor therefor never terminates.
Steps to Reproduce
openEditor
new TextEditor().moveCursor(<line>, <column after tab>);
TimeoutError: Unable to set cursor at position 15:15
Expected behavior
Environment information
The text was updated successfully, but these errors were encountered: