Am 21.11.2008 um 19:42 schrieb Tommaso Cucinotta:
Stefan Schimanski ha scritto:
My wish:
5) search and replace through all master and child documents
This was planned to be one of the "scope" option. If you look at the
current
dialog, there is a set of radio buttons allowing one to select one
of multiple
"scopes" for the search, whereas the possibilities would be:
Nice.
- current selection on the main document (from one of the pending
feature requests)
- buffer, i.e., current mainWorkArea().buffer()
- document, i.e., what you are requesting as 5), once I finished
searching in the current
mainWorkArea().buffer(), switch automatically to the next one in
the list of
included buffers constituting a same "document", exploiting the
knowledge about
who is the master. Also, this should auomatically descend into
possible children in
case the current buffer includes others;
I recently added Buffer::allRelatives() to get all those buffers of a
"document". So it should be pretty easy to implement.
- folder, i.e., among all the documents within a given folder,
opening all the contained lyx
files one after the other and searching (like the "Search in
Files ..." functionality of some
text editors or IDEs).
Stefan