by acknak » Tue Oct 21, 2008 2:22 am
Before I explain how to get rid of it, you should understand how it happens.
In your Writer document, place the cursor on an empty paragraph. Type Hello, then Enter, then type three hyphens in a row, but NO ENTER yet. You should see this:
Hello
---
Now press Enter on the line of hyphens. Do you see what happened? Type Ctrl+Z/Ctrl+Y to see it again.
The hyphens are changed into a line underneath the "Hello" paragraph.
Writer does this as a quick way to add a horizontal line across the page. But Writer uses a small trick to make the line: it's actually part of the paragraph above the hyphens: the line is a border on the bottom edge of the paragraph. You can remove it when it happens by typing Ctrl+Z (undo); you can remove it later by putting the cursor on the paragraph and doing Format > Paragraph > Borders > Line arrangement: none (click the diagram with no borders), OK.
If you don't like this at all and you don't want it to happen again, go to Tools > AutoCorrect > Options > Replace dashes Apply borders: NO (unchecked).
AOO4/LO5 • Linux • Fedora 23