Ctrl-shift-v pastes with new lines. 
Ctrl-v pastes without.

Caught me out for a while.

Cheers,
Norm.
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

On 17 November 2021 09:01:12 GMT, Steve Litt <sl...@troubleshooters.com> wrote:
>Hi all,
>
>I have a C program I want to show in a book. So I use the LyX-Code
>environment, but when I copy the C file to the clipboard and paste it
>into the LyX-Code environment, all the newlines are removed. What's the
>right way to show a C program file within LyX?
>
>Thanks, 
>
>SteveT
>
>Steve Litt 
>Spring 2021 featured book: Troubleshooting Techniques of the Successful 
>Technologist
>http://www.troubleshooters.com/techniques
>-- 
>lyx-users mailing list
>lyx-users@lists.lyx.org
>http://lists.lyx.org/mailman/listinfo/lyx-users
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users

Reply via email to