https://bugs.freedesktop.org/show_bug.cgi?id=55292
--- Comment #40 from tommy27 <[email protected]> --- Created attachment 104345 --> https://bugs.freedesktop.org/attachment.cgi?id=104345&action=edit autocorrect list with en-dash and em-dash wildcards I created an acor_und.dat file containing only en-dash and em-dash wildcard combinations for testing purposes. It will apply those autocorrect replacements regardless of the language of your document. put that file under the autocorr subfolder of your user profile. exact location may be found here: https://wiki.documentfoundation.org/UserProfile moreover as I said in my previous post I've found something weird... the "triple hyphen" pattern is sometimes correctly replaced in some sessions and not in others. what I've noticed is that once you are in a session where the triple hyphen doesn't work and then you enter the autocorrect options menu and you add a new autocorrect entry or you change some settings, when you are back in the document the triple hyphen pattern start working again as expected and is directly converted in an em-dash. this is a very weird behaviour of the autocorrect engine... any idea about it? anyway apart of these en-em-dash weird cases the middle wildcard pattern (.*sometext.*) works fine in other scenarios I test. for example in italian there's no word with "qc" but a lot of words with "cq" and if I set this entry .*qc.* -> cq all possible typing mistakes like: aqcua aqcuario aqcuitrino subaqcueo etc. etc. are correctly corrected as: acqua acquario acquitrino subacqueo etc. etc. the same is for triple letter (i.e. ttt) that do not exist in italian where you have only double letters). if I set .*ttt.* -> tt there's a bunch of typing errors that are intercepted like: tuttto, tutttavia, atttutire -> tutto, tuttavia, attutire so I think that the middle wildcard should be backported to 4.3.1 and 4.2.7 releases the weirdness of the "triple hyphen/em-dash" corner cases will have to be addressed by another commit. @Lazlo what do you think about it? -- 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
