1

I'm using the texlipse plugin of eclipse to edit my tex-files. In this plugin there's the nice feature to autocorrect line wrap or in the latex menu "Correct Line Wrap". So far, so good. But now I don't want the line wrapping be "corrected" in lstlisting areas... I type there some bash code for example and I don't want the text to be "corrected" there. Is it possible to cogfigure this?

\subsubsection{My title}
Correct the line wrap of this text Correct the line wrap of this text
Correct the line wrap of this text Correct the line wrap of
this text Correct the line wrap of this text
% DONT CORRECT THE LINE WRAP OF THE FOLLOWING lstlisting
\begin{lstlisting}
adp-get install ant
\end{lstlisting}
0

1 Answer 1

2
+50

According to the Wrapping text documentation, TeXlipse supports a hard wrap function to the selected text area :

To use this feature, the user must first select the area and then press Esc Q or select Latex > Correct Line Wrap.

I believe that is as far your options go.

For more than that, you will need to either do the necessary development to the sources, or go on the TeXlipse forum and convince the developers that this is a good idea.

3
  • I feared something like that... I'll try to convince them, thank you :-)
    – strauberry
    May 13, 2011 at 17:23
  • Oh ok, sorry! Didn't know that. Have you received the 50 points?
    – strauberry
    May 17, 2011 at 8:47
  • Yes, glad to have been of help.
    – harrymc
    May 17, 2011 at 9:14

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .