david winter

Line breaks in OpenOffice.org

A really frustrating issue I had when writing my project report, was that of dealing with source code formatting.

I had created a new style for source code similar to that I use on my blog; a box with a border and coloured background. The problem I was having was when pasting source code into the document. Each line had a paragraph break between itself and the next, which meant that there was a spacing between each. To fix this, I had to insert a manual line break between each line. Luckily I found a shortcut to pull this off, which was Shift + Enter.

Does anyone know of an easier way of pasting in text and using line breaks rather than paragraph breaks?

May 21, 2007

Questions? Comments? Your 2¢'s? → @davidwinter