Julien Rioux <jrioux <at> physics.utoronto.ca> writes:

> 
> In Document > Settings > Preamble you can add
> 
> \lstset{breaklines=true}
> 

You can also right click on the inset (the box), click Settings..., and put a
check mark next to "Break long lines" in the Style section of the Main Settings
tab.  Julien's approach is less work if you are going to have a number of
program listing insets and want to allow line breaking in all of them.

/Paul


Reply via email to