Public bug reported:

If I paste preformatted text into OOo that has tabs in it, I generally
expect these tabs to be equivalent to 8 spaces. Unfortunately OOo seems
to think they are 6 spaces for some bizarre reason (who ever uses 6
space tabs?).

This is bad because it causes source code in some programming languages
(in my case Haskell, but also notably Python) to become suddenly wrong.

Perhaps there should be some option to specify the width of tabs in
terms of spaces for preformatted text. I don't really know if this is a
viable idea - I know there is an option to change the width of tab stops
but this is an absolute centimetre width rather than spaces (I presume
because tabs are expected to align regardless of font size), so
different size preformatted text comes out with different indentations.

Probably a better alternative would be to have a command that converts
tabs to spaces in selected text.

** Affects: openoffice.org (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
tabs in preformatted text should be (possible to be made) equivalent to 8 spaces
https://launchpad.net/bugs/71782

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to