I open the code box with following command: shortcut for insert a Program Listing at LyX
I past my code from gedit. But all it takes all breaks out of it and put it all together on one line. How to avoid that?
I open the code box with following command: shortcut for insert a Program Listing at LyX
I past my code from gedit. But all it takes all breaks out of it and put it all together on one line. How to avoid that?
Go to Edit > Paste Special > Plain Text, or use the shortcut (on Linux it is Ctrl + Shift + V).