自动更正 TexLipse 中的换行,在某些行上不适用

自动更正 TexLipse 中的换行,在某些行上不适用

我正在使用 eclipse 的 texlipse 插件来编辑我的 tex 文件。此插件中有一个很好的功能可以自动更正换行,或者在 latex 菜单中使用“更正换行”。到目前为止,一切顺利。但现在我不想在列表区域中“更正”换行...例如,我在那里输入了一些 bash 代码,我不希望在那里“更正”文本。可以对此进行 cogfigure 吗?

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

答案1

根据文本换行文档中,TeXlipse 支持对选定文本区域的硬换行功能:

要使用此功能,用户必须先选择该区域,然后按 Esc Q 或选择 Latex > Correct Line Wrap。

我相信这就是你的选择。

除此之外,您还需要对来源或继续TeXlipse 论坛并让开发人员相信这是一个好主意。

相关内容