LaTeX forum ⇒ Feature Suggestionsindented paragraphs

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

indented paragraphs

Postby naclador » Fri Jan 14, 2011 2:26 pm

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

  1. \begin{itemize}
  2. \begin{enumerate}
  3. Here my text...
  4. ...and more text...
  5. \end{enumerate}
  6. \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

  1. \begin{itemize}
  2. \begin{enumerate}
  3. Here my text...
  4. ...and more text...
  5. \end{enumerate}
  6. \end{itemize}


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

Best,

Naclador

User avatar
naclador
Posts: 11
Joined: Thu Nov 26, 2009 11:40 am

Postby naclador » Fri Jan 14, 2011 3:09 pm

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
Location: Amherst, MA

Postby frabjous » Sat Jan 15, 2011 1:24 am

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

Postby naclador » Tue Jan 18, 2011 4:14 pm

Ah, I see.

So, what do you think about my suggestion?

User avatar
naclador
Posts: 11
Joined: Thu Nov 26, 2009 11:40 am

Postby naclador » Wed Mar 09, 2011 1:54 pm

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: 9206
Joined: Fri Feb 02, 2007 12:06 pm
Location: Braunschweig, Germany

Postby localghost » Fri Mar 11, 2011 11:53 am

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


¹ 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

Postby naclador » Mon Mar 28, 2011 12:26 pm

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.


Return to “Feature Suggestions”

Who is online

Users browsing this forum: No registered users and 2 guests