## LaTeX forum ⇒ Feature Suggestions ⇒ indented paragraphs

Suggestions and discussions for new TeXnicCenter features
Posts: 11
Joined: Thu Nov 26, 2009 11:40 am

### indented paragraphs

When I write my LaTeX code, I try to get some order into it by indenting my text one tabulator width every time I start a new environment, like

\begin{itemize}    \begin{enumerate}       Here my text...       ...and more text...    \end{enumerate}\end{itemize}

This is a dumb example but you'll see my point.

Now it would be just great if TexnicCenter would start the "and more text" line directly under the "Here my text"-line when breaking the line because it is longer than the width of the editor window. As it is now, it will look like

\begin{itemize}    \begin{enumerate}       Here my text......and more text...    \end{enumerate}\end{itemize}

which basically destoys the orderly look I intended and makes the LaTeX source somewhat difficult to read.

Best,

Posts: 11
Joined: Thu Nov 26, 2009 11:40 am
Well,

I am not quite sure and do not care installing an alpha version of TXC, but is it possible that what I am looking for is the "Code Folding" feature discussed elsewhere?

Best,

frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

I am not quite sure and do not care installing an alpha version of TXC, but is it possible that what I am looking for is the "Code Folding" feature discussed elsewhere?

Best,

Doubtful. Code folding involves completely hiding some part of the document from view so you can focus on other parts, such as, e.g., hiding the preamble altogether, or hiding all sections other than the one you're working on. See code folding (Wikipedia).

Posts: 11
Joined: Thu Nov 26, 2009 11:40 am
Ah, I see.

So, what do you think about my suggestion?

Posts: 11
Joined: Thu Nov 26, 2009 11:40 am
Noone willing to post a reply?

Don't you see my point, or do you think it is a stupid suggestion?

Best,

localghost
Site Moderator
Posts: 9206
Joined: Fri Feb 02, 2007 12:06 pm
As far as I know TeXnicCenter (TXC) is based on Scintilla as editor component. And if this component doesn't master the indentation you mean, you are out of luck.

Kile on Linux is based on the Kate editor. And this editor manages indentation as described (see attachment).

Thorsten
Attachments
Indentation of wrapped lines with respect to chosen indentation of a paragraph.
Kile-Indentation.png (84.95 KiB) Viewed 6565 times
LaTeX Community Moderator

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1