Feature Suggestionsindented paragraphs

Suggestions and discussions for new TeXnicCenter features
Post Reply
User avatar
naclador
Posts: 11
Joined: Thu Nov 26, 2009 11:40 am

indented paragraphs

Post by naclador »

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

Code: Select all

\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

Code: Select all

\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,

Naclador

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
naclador
Posts: 11
Joined: Thu Nov 26, 2009 11:40 am

Re: indented paragraphs

Post by naclador »

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,

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

indented paragraphs

Post by frabjous »

naclador wrote: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,

Naclador
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).
User avatar
naclador
Posts: 11
Joined: Thu Nov 26, 2009 11:40 am

Re: indented paragraphs

Post by naclador »

Ah, I see.

So, what do you think about my suggestion?
User avatar
naclador
Posts: 11
Joined: Thu Nov 26, 2009 11:40 am

Re: indented paragraphs

Post by naclador »

Noone willing to post a reply?

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

Best,

Naclador
User avatar
localghost
Site Moderator
Posts: 9201
Joined: Fri Feb 02, 2007 12:06 pm

indented paragraphs

Post by localghost »

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.
Indentation of wrapped lines with respect to chosen indentation of a paragraph.
Kile-Indentation.png (84.95 KiB) Viewed 23177 times
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
User avatar
naclador
Posts: 11
Joined: Thu Nov 26, 2009 11:40 am

Re: indented paragraphs

Post by naclador »

Thanks localghost.

What a pity, I truly would have appreciated such a feature in TXC 2. Kile is no option for me since I mainly work on Windows machines.
Post Reply