Hello!

Glad to hear that I discovered a real issue - looking forward to be bug fix. And, yeah, I unistall the «Edit source» add-on until the issue is fixed. I understand what you say about improving the search/replace facility. Getting the «Edit source» add-on fixed will keep me going.

I will use the proper mailing list address next time. Having said that: I will make another wish regarding search/replace (but in another thread ...)

Leif

On 3 Jul 2016, at 9:33, Hussein Shafie wrote:

The problem you have reported: "I can interrupt the search/replace action by selecting menu item "Edit|Undo" but not by pressing Ctrl-Z (Cmd-Z on the Mac)" is indeed a bug caused by the new implementation of the "Edit source" add-on in v7.

We'll of course fix this bug in the next version of XMLmind XML editor. Meanwhile uninstalling the the "Edit source" add-on fixes this issue.

Aside this bug fix, we are sorry to say that we do not plan to improve XMLmind XML Editor's search/replace facility in the near future. The reasons are: current facility not excellent, but deemed to work sufficiently well; other priorities such as fully supporting DITA 1.3.



---
PS: Please post all your Requests For Enhancement to xmleditor-support@xmlmind.com because other users may "vote" for your RFE and thus convince us to implement it in the near future.



Leif H. S. wrote:
Does XMLmind XML editor have a way/workaround for quickly inspecting the replaced text after a single replace command? If not, could it be addeda?

*General use case:*

  * To be able to stopp a replace *and* inspect the result before
    proceeding to replace the next occurence of the same search term.

*The problem in XMLmind:*

  * When search terms occur, say, every 100th line, and because, for
    each replace, the selection/pointer immediately jumps to the next
occurrence of the search term, replace causes the resulting change to disappear out of sight, out of the screen. How do I jump back to
    the replaced text to inspect it?

*Alteratives, (1) a solution or (2) a workaround:*

 1. A new replace function that brings focus to the replaced text for
    easy inspection of result. (Users must thus manually initate the
next search for the term.) Such solutions usually discern between 3 replace functions: «Replace» (hightlights result), «Replace and Search» (works like «Replace» in XMLmind) and «Replace all». I have
    two word processors for Mac that work like this.
2. Or (add) a manual, generic command (e.g. Undo+Redo) to be executed
    *after* a replace to relocate the replaced text. Many word
    processors works like this. And XMLmind does in theory have this
    functionality, but in practice it barely does.
 3. Or is there already a solution?

Programs of the second kind, such as XMLmind, typically have two replace functions: «Replace» and «Replace all». These programs *usually* (but
not in XMLmind’s case) have a generic workaround that allows you to
relocate the replaced text:

* After any replace command, simply reach for the shortcut of «Undo» to undo last replace, and then reach for the shortcut of «Redo» to
    replace it again. The insertion point will then be placed right
    beside the replaced text. For users that are in the need/habit of
    inspecting their replace results, this is simple, generic and
relatively intuitive: Undo/Redo are easy to reach and well known).

But, again, this workaround does not work in XMLmind:

* Accessing the shortcut for «Undo» while using «Replace» does *not* interrupt or undo the current replace. (There isn’t even a warning sound/signal to show that the feature isn’t available.) Instead and (AFAIK) unlike any other programme I tried, one must activate «Stop»
    (via button or F2 key) before the «Undo» shortcut will work.

*Bug?:* Although it is a pretty impracticable solution, it *is* actually possible to use «Undo» to interrupt and undo a replace, but only if one accesses it via the mouse (by selecting «Undo» from the «View» menu). Is
this perhaps an oversight from you, the developers, that the shortcut
/doesn’t/ work when mouse+menu /does/ work? Perhaps there is some low
hanging fruit here?

Ok. Hope this was clear.

--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support
--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to