google-code-export / latex-lab

Automatically exported from code.google.com/p/latex-lab
1 stars 0 forks source link

Tabbing in documents #15

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I copied over a document to LaTeX-Lab to see how it compiled. I then
attempted to change the formating of the document source by changing some
tabs. I could not tab more than once. Any subsequent tabs did not do anything.

I would expect to witness iterative tab stops. One after the other after
the other, et cetera.

My system version information is as follows:
LaTeX-Lab v2.0 
Firefox v3.5.8
Linux Ubuntu v9.10

I will check Slackware v13.0 x86.64 when I get home. I am at class right
now and using my laptop.

Original issue reported on code.google.com by RSKueff...@gmail.com on 5 Apr 2010 at 7:27

GoogleCodeExporter commented 9 years ago
It appears to be an issue with the tab hierarchy. Suppose one were to have a 
branched
formating similar to what one would use in C++. When I attempt to invoke an 
indent by
pressing tab, I notice the line imitates the indent formating of the line 
prior. The
only exception to this is the line under \begin{document}.

Original comment by RSKueff...@gmail.com on 5 Apr 2010 at 8:55

GoogleCodeExporter commented 9 years ago
I believe the tab behavior is configurable in CodeMirror (the text editor used 
in
LaTeX Lab). It's likely that CodeMirror is using the tabbing behavior for a
programming language.

Original comment by bobbysoa...@gmail.com on 6 Apr 2010 at 1:03

GoogleCodeExporter commented 9 years ago
CodeMirror has a "tabMode" config option that lets you specify what happens on 
tab. Setting it to "spaces" or "shift" should give the desired behavior.
See http://codemirror.net/manual.html

Original comment by starmon...@gmail.com on 18 Jan 2011 at 6:11

GoogleCodeExporter commented 9 years ago
Tabbing doesn't work at all for me. I have to enter spaces manually to indent 
the text in the source file. It'd be great if tabbing would work.

Thanks very much for latexlab, guys! I love it!

Original comment by baca...@gmail.com on 15 Jul 2012 at 7:51