[Tex/LaTex] Block indentation in TeXMaker

editorsindentationtexmaker

Is it possible to indent whole paragraphs of source code in TeXMaker (or alternatively, in any LaTeX editor), so that intentation applies to all rows in paragraphs when the text is wrapped over several lines is the editor?

By default, TeXMaker intents the source code like the first code snippet below, whereas I would like indentation as in the second snippet, i.e. applied to the whole paragraph.

\begin{abstract}
    Lorem ipsum dolor sit amet, consectetur adipisicing elit, 
sed do eiusmod tempor incididunt ut labore et dolore 
magna aliqua. Ut enim ad minim veniam, quis nostrud 
exercitation ullamco laboris nisi ut aliquip ex ea commodo 
consequat.
\end{abstract}

vs.

\begin{abstract}
    Lorem ipsum dolor sit amet, consectetur adipisicing elit, 
    sed do eiusmod tempor incididunt ut labore et dolore 
    magna aliqua. Ut enim ad minim veniam, quis nostrud 
    exercitation ullamco laboris nisi ut aliquip ex ea commodo 
    consequat.
\end{abstract}

Best Answer

TeXstudio - originally called TexMakerX, a fork of Texmaker - apparently does the block indenting of word-wrapped paragraphs "out of the box". Here's a screenshot of a test I just did with my version of TeXstudio (version 2.6.2 running in Ubuntu 12.04):

enter image description here