Latex-workshop: Line preceded by ENTER does not move

Created on 15 Aug 2018  路  4Comments  路  Source: James-Yu/LaTeX-Workshop


Description

When trying to move first (or any) line with enter to enter text above it, cursor goes to the next line leaving the text static in first line. It only happens with tex files!

Log messages


LaTeX Workshop Output


Developer Tools Console

How to reproduce

  1. Create an empty tex file
  2. Write text in first line
  3. Place cursor in line 1 col 1 and hit ENTER.

Expected behavior


Text in line 1 should move to line 2.

Actual behavior

Instead cursor moves to an empty line 2 while text remains in line 1.

Additional Information

Most helpful comment

Fixed in 669dbe2 and version 5.8.1

All 4 comments

It seems to be a common problem of you and #739 . However, I cannot reproduce the problem on my side. The new version does not change ways the extension manipulate texts.

Hi @James-Yu, thx for your quick reply. I think it might be an extension related issue as it does not happen with other file extensions in vscode, only with tex files. In fact creating a new empty file shows the expected behavior, but once it is saved as .tex the linebreak does not work properly.

Thanks. I can reproduce the problem. Will look into it right now.

Fixed in 669dbe2 and version 5.8.1

Was this page helpful?
0 / 5 - 0 ratings