[texworks] Problem with search in all open files operation

Wojciech Myszka wojciech.myszka at gmail.com
Mon Feb 21 22:45:42 CET 2022


There is something wrong with “Search all open files” operation.

   1. I have created three identical files (let's say a[123].tex)
   containing the first five paragraphs of lorem ipsum taken from lipsum.com
   .
   2. The first search for the word “Cras” gives the correct result: lines
   no. 1, 5, and 9 (three times) in each file.
   3. Starting the search in the first file (a1.tex) *after deletion* of
   the last paragraph (now a1.tex is shorter, a2.tex and a3.tex are identical)
   searching for “Cras” gives incorrect results (the word is found only *two
   times* in each file — in lines 1 and 5)
   4. Starting the search from a2.tex (or a3) — results are correct (two
   times in a1, four times in a2 and a3)

I do not know if I can explain this correctly.

There is also another problem with searching through all open files,
difficult to explain and describe:

   - starting the search from the file where the search string is absent
   gives a result *not found*
   - starting from the file where the search string is present gives
   *correct* results for this file and *wrong* results for other files
   (please check the attachment, where each “found place” is marked blue; the
   search word was “\\section”); well, OK—I really do not know when the
   problem appears for the first time, but it used to work earlier.

Using Version 0.7 ("launchpad") [r.09ca9ef0, 19.02.2022 08:16] and Version
0.7 ("launchpad") [r.38b640b3, 21.02.2022 16:31]. Ubuntu 21.10

Best regards

Wojtek

-- 
---(___C'>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/texworks/attachments/20220221/8c57c258/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: screen.png
Type: image/png
Size: 523170 bytes
Desc: not available
URL: <https://tug.org/pipermail/texworks/attachments/20220221/8c57c258/attachment-0001.png>


More information about the texworks mailing list.