https://bugs.freedesktop.org/show_bug.cgi?id=55292

--- Comment #59 from Owen Genat <owen.ge...@gmail.com> ---
(In reply to comment #56)
> just to tell that I found a new easy workaround to make the "triple" hyphen
> work.
> 
> you have to save just the .*---.* to em-dash in your language autocorrect
> list and the .*--.* to en-dash in the [All] autocorrect list.

Hmm. Unfortunately under GNU/Linux using v4.4.0.0.alpha0+ Build ID:
e379401618268ed7f7f5885a36b90e1f4f6cd4af TinderBox:
Linux-rpm_deb-x86_64@46-TDF, Branch:master, Time: 2014-08-18_05:51:03 I get
some strange side-effects for the indicated combination (.*--.* to en-dash in
acor_und.dat and .*---.* to em-dash in acor_en-AU.dat). It appears to (again)
be influenced by whether the AutoCorrect entries are edited during the session
(or not) e.g.,

a---<E>   to 3 hyphens NOT OK
a---.     to 3 hyphens NOT OK[1]
“a---<E>  to 3 hyphens NOT OK
“a---.    to 3 hyphens NOT OK[1]
--b<E>    to 2 hyphens NOT OK
--b.      to 2 hyphens NOT OK
--b”<E>   to 2 hyphens NOT OK
--b”.     to 2 hyphens NOT OK
a--b.     to em-dash NOT OK[1]
“a--b.    to em-dash NOT OK[1]
a---b.    to 3 hyphens NOT OK[1]
“a---b.   to 3 hyphens NOT OK[1]

Usually a trailing full stop is a trigger for dash conversion, but it is more
variable with this combination.

[1] After editing the [All] AutoCorrect list (e.g., to add new x -> y entry)
these tests work, and this previously working test fails:

---b.     to 3 hyphens NOT OK

There appears to still be something really strange going on with the
replacement engine and the en-dash + em-dash entries. Testing this is not at
all as straightforward as it seems.

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

Reply via email to