[texworks] TeXworks : find all followed by replace al does not work as expected

Philip TAYLOR (Webmaster, Ret'd) P.Taylor at Rhul.Ac.Uk
Thu Aug 25 09:01:54 CEST 2011


With both TeXworks 0.4.0 and 0.4.3, "Find all" followed
by "Replace all" does not work as expected; the latter
replaces only the /last/ instance of the find & replace
string unless "wrap" is pre-selected.  This presumably
indicates that the earlier "find all" left the editing
point at the beginning of the last successful find rather
than (as it had previously been) at start of document.

I can see that a "Find" (as opposed to a "Find all")
could reasonably be expected to leave the editing
point at the beginning of the found string, but I
would have expected "Find all" to simply /report/
all found occurrences (which can then be used as
hyperlinks to get to each found instance) whilst
leaving the editing point unaffected.

Philip Taylor


More information about the texworks mailing list