0

I have a tex file where I see the syntax correctly highlighted. However, I would like to use the keybinding, toggle comment, but CTRL-/ is not working as described in the menu Edit.

How can you toggle comment in a tex file of Caret?

1 Answers1

1

This is a bug in the Ace Editor code used by Caret. While waiting for the source to be patched, you can correct it yourself:

  1. Insert this.lineCommentStart = "%"; at line 139 of /js/ace/mode-tex.js in Caret's source code.
  2. Then reload Caret as an unpackaged extension.

Update: the bug has been fixed for the next build. The fix won't be seen in Caret until its author updates however.