Uwe Stöhr wrote:
Nikos Alexandris schrieb:
The best is here to open your LyX file with a text editor and do the
change there.
Hmmm? I might have not been clear in my question: For the Program
Listing inset one can set (in the Settings dialog) the option "Broke
long lines". I would like to know if it is possible to activate this
option in one step for all Program Listing insets in one document.
No. That's why I proposed the text editor solution.
In case it's not clear, what Uwe means is this. LyX documents are just
text documents, and you can open them in any text editor (notepad, under
windows; emacs; vi; whatever). Once you do open it, you'll see that the
listings insets all begin a certain way, and the options that apply to
the insets will also be there for you to see. So you can do a simple
search and replace in the text file itself to make this kind of change,
in case it isn't possible to do it directly in LyX.
WARNING: Make sure you save a backup of the file before you do this!! It
is very easy to make a mistake that will make it impossible for LyX to
load the file. It may take a few tries before you get it right! But it
can be a LOT easier than changing each thing one at a time.
Richard