https://bugs.freedesktop.org/show_bug.cgi?id=55292
tommy27 <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED --- Comment #54 from tommy27 <[email protected]> --- guys maybe I've found a workaround that makes the "---" consistently turn into an em-dash avoiding the conflict with the .*--.* en-dash wildcard. you have to make the character that precedes the triple hyphen be part of the wildcard pattern. let's say .*0---.* --> 0— (em-dash) .*1---.* --> 1— .*a---.* --> a— .*b---.* --> b— ... .*z---.* --> z— .* ---.* --> — obviously you have to set multiple replacement for each of the keys that may precede an em-dash (numbers, space, letter, upper and lower case, etc.) so there are 2 choices to make the em-dash work: 1- set a specific key combination for em-dash that doesn't include the double or triple hyphen (i.e. .*-.-.*) 2- keep using the triple hyphen as an em-dash setting multiple replacements with the preceding key workaround the .*--.* wildcard is working fine as a replacement for en-dash and should be kept, and now we have 2 possible working wildcard patterns to make the em-dash do it's job. so I think this can be marked as FIXED again. feel free to reopen if you don't agree the only replacement that doesn't work is "---" ENTER which IMHO is a different issue and is probably related to the automatic lines feature in Writes as pointed out by Owen in comment 49: https://help.libreoffice.org/Common/Drawing_Lines_in_Text#Automatic_lines_in_Writer "if you start a new line in a Writer text document by typing three or more hyphen characters and press the Enter key, the characters are removed and the previous paragraph gets a line as a bottom border". I wonder if increasing the line trigger from 3 hyphens to 4 hyphens would solve this one as well. UX-advise neeeded before making a change. -- 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
