Originally Posted by chaley
I found a way to track the mouse cursor in the text widget, and also realized that a quick-and-dirty parse would be sufficient. The result: what is shown in the dialog below.
If you hover the mouse pointer over the "s" of "search:", it will fill in the box below with the search expression. This is independent of the position of the editing cursor. That saved search expression will remain in the box until you hover over a different search. This lets you hover to get the search expression then copy and do whatever you want with it.
This stuff may not end up in the final release. When playing at this level we sometimes run into problems with gui artifacts on one system or another. Kovid checks for this when he reviews the code and builds the various versions. If it happens here, then the changes will be removed.
You never cease to amaze me