"search files"
(https://www.xmlmind.com/xmleditor/_distrib/doc/help/searchFilesPane.html)
works a little like Google Search. Its purpose is just to *list* the
files matching the search criteria (which may be complex;
https://www.xmlmind.com/xmleditor/_distrib/doc/help/com.xmlmind.xmleditapp.xkit.part.QueryEditor.html).
Just that and nothing more.
For example, the "search files" does not even *visually* *mark* anything
in a listed "hit" file. It merely lists some files and double-clicking a
file name in the list opens the corresponding file in XXE and scrolls
down to the first element matching the search criteria.
After opening one of the listed "hit" files as explained above, you are
expected to use the text search/replace facility
(https://www.xmlmind.com/xmleditor/_distrib/doc/help/textSearchReplacePane.html)
or the element search/replace facility
(https://www.xmlmind.com/xmleditor/_distrib/doc/help/com.xmlmind.xmledit.cmd.xsearch.SearchReplaceDialog.html)
to find all occurrences of interest in this file.
Sorry if this is not as convenient as what does notepad++.
On 3/12/20 2:19 PM, Grundtvig Nielsen Niels wrote:
OK, I happened to need this function earlier today ... find all occurrences of a string
in all topics. I went for the "search files" option, which marked only the
first hit in each file; what I was rather hoping for was every hit in each file.
ditaSearch_01.png is from XXE, ditaSearch_02.png is from notepad++
N
-----Original Message-----
From: Hussein Shafie [mailto:huss...@xmlmind.com]
Sent: woensdag 11 maart 2020 16:29
To: Grundtvig Nielsen Niels
Cc: 'xmleditor-support@xmlmind.com'
Subject: Re: [XXE] observation
Caution! External email. Do not open attachments or click links, unless this
email comes from a known sender and you know the content is safe.
XXE has
* text search/replace,
https://www.xmlmind.com/xmleditor/_distrib/doc/help/textSearchReplacePane.html,
* element search/replace,
https://www.xmlmind.com/xmleditor/_distrib/doc/help/com.xmlmind.xmledit.cmd.xsearch.SearchReplaceDialog.html,
* and file search,
https://www.xmlmind.com/xmleditor/_distrib/doc/help/searchFilesPane.html.
Which one are you using?
On 3/11/20 2:26 PM, Grundtvig Nielsen Niels wrote:
Good afternoon! constantly trying to use XXE better, I've started to use
the search functions. (XQuery, I imagine?) The wizard is really handy.
But ... image I'm using the search to try and make sure I've spelled a
word consistently throughout a set of topics. It looks to me as though
only the first occurrence of a string shows up in the search pane, so if
the string is used several times in the same topic there's still a
chance I might not spot mistakes. Not a major problem, in that I can
always use other tools to search .dita files, but the usual question
"have I missed something/what am I doing wrong"
N
[ps] marked as 'low importance' when it left me, but I don't know what
your e-mail client will do with that label
9 52 80 80 37, Fax: +33 (0)9 57 80 80 37, www.xmlmind.com
--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
https://www.xmlmind.com/mailman/listinfo/xmleditor-support