litex icon indicating copy to clipboard operation
litex copied to clipboard

Editor: Comment line(s) not working

Open osdf opened this issue 12 years ago • 3 comments

A line (or a marked block) should be commented with Editor: Comment line(s). This seems not to work.

osdf avatar Apr 14 '14 12:04 osdf

I'm seeing this as well, but it seems to happen whether or not litex is loaded. I suspect that this is a problem with CodeMirror and/or LightTable.

Let's leave the bug open for now; if it's not going to get fixed in LightTable, we may be able to fix it in litex.

rschroll avatar Apr 14 '14 15:04 rschroll

It works for files ending in *.cljs, *.py and *.cpp.

osdf avatar Apr 14 '14 20:04 osdf

It looks line lineComment isn't set in the tex mode: https://github.com/LightTable/LightTable/blob/master/deploy/core/node_modules/codemirror/modes/stex.js

If you want to submit a bug or pull request to Light Table, go right ahead. Otherwise, I'll try to get to it in a day or so.

rschroll avatar Apr 14 '14 22:04 rschroll