https://bugs.documentfoundation.org/show_bug.cgi?id=62325

Gordo <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://bugs.documentfounda
                   |                            |tion.org/show_bug.cgi?id=70
                   |                            |554
                 OS|Mac OS X (All)              |All

--- Comment #4 from Gordo <[email protected]> ---
In certain instances it is possible to get the correct outcome when deleting a
number and ordinal indicator and typing in new text.

1. New Text Document.
2. Type “This is the 1st test.” and Enter.
3. Double click on “1st” and Delete.
4. Type “2nd” and Space and delete extra space.
Result:
The “2” is normal and the “nd” is in superscript.

Sometimes after the text has been deleted, the superscript icon in the toolbar
is on, but if you type something anyway it will be normal.  If you go back and
try the steps again with what was already changed then it will not work.  Also,
typing over the selection does not work.  If the ordinal number is at the end
of a paragraph then it will not work (with no period).  If there is more than
one in the same paragraph then it will only work on one of them (This is the
1st time the 2nd has been tested).

Opening a document and using this method on existing numbers and ordinal
indicators does not work but typing new text in, selecting it, deleting it, and
replacing it, does work.  The only way to change existing documents is to:
A)
1. Select number and ordinal indicator.
2. Ctrl + m.
3. a. Delete or
   b. Type over selection.
4. a. Type intended text or
   b. Enter space.
B)
1. Select number and ordinal indicator and space.
2. a. Delete or
   b. Type over selection.
3. a. Type intended text or
   b. Enter space.

With option A you need to enter a space after it in order for it to
auto-correct.  This leaves you with an extra space that needs to be deleted. 
So...option B.

I thought for the times that it does work, when deleting a selection there is a
check for a normal positioned character at the beginning and a superscript
character at the end and post-deletion the character position is defaulted to
normal (the selection may cover more than just the number and ordinal indicator
so checking for one digit followed by characters with superscript would not be
sufficient).  I also tested manually applied superscript as ordinal numbers and
superscript between spaces and selecting and deleting did not revert to normal.

Is it possible to auto-correct to a field that holds the ordinal indicator so
that typing after it or deleting it would not result in superscript text. 
Shame there is no Unicode for the characters.

Added bug 70554 to see also.

Windows Vista 64
Version: 4.4.3.2
Build ID: 88805f81e9fe61362df02b9941de8e38a9b5fd16

Version: 5.1.0.0.alpha1+
Build ID: 5fc0cbbc1254223fedf0f78c5e7539219b228697
TinderBox: Win-x86@39, Branch:master, Time: 2015-06-11_04:30:51

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to