https://bugs.documentfoundation.org/show_bug.cgi?id=138258
--- Comment #13 from Luke Kendall <[email protected]> --- (In reply to Justin L from comment #9) > Like most word processors, LibreOffice by default turns on smart quotes, so > it CHANGES a u+0027 straight single quote into an open or close quote. > > If you copy the 'hi' from the text and paste it into the search, it will > find it. > > It is actually rather DANGEROUS to do what bug 117643 did and have a search > for the straight quote match a smart quote. What if I wanted to find all > the instances where a straight quote was used instead of a smart quote? I > wouldn't be able to do it. So search really ought to find ONLY exactly what > the user entered. > > I would resolve this as WONTFIX, and I would flag commit > d40f2d02df26e216f367b5da3f9546b73f250469 as a regression (although there is > "regular expression" that "fixes" that - which also isn't intuitive to the > average user). Apparently this change has been made and released. It's now impossible in Writer to search for just the plain ascii ' character, as Writer insists on matching smartquote characters as well now. This make it useless for finding erroneous ascii single quote characters to replace with the correct open or close quote. This is in version 7.3.2.2 It's easy to get sections of text without smartquotes if you paste in text from another source. PLEASE fix this. It doesn't matter if I paste the single quote in from the body of the text, a terminal window, or whatever: F&R and plain Find insist on matching any variant. I can see this is a convenience for general use, but having no mechanism for an advanced user to find the character they actually typed to be found, and just that character, is a big loss of functionality. In a long document like mine, it makes F&R useless for finding these kinds of subtle typographical errors in the text. I suppose the workaround will be to revert to a much older version of Writer. -- You are receiving this mail because: You are the assignee for the bug.
