|
From: SourceForge.net <no...@so...> - 2009-11-21 05:25:16
|
Bugs item #2896464, was opened at 2009-11-12 09:45 Message generated for change (Comment added) made by shlomy You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100588&aid=2896464&group_id=588 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: search and replace Group: None >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Thiemo Kellner (thiemo) >Assigned to: Shlomy Reinstein (shlomy) Summary: Plain text copy from HyperSearch results Initial Comment: HyperSearch results used to get copied as plaint text some version before 4.3pre17. I used this for further processing. Now, it seems, that html is copied such that further processing of the results is interfered. ---------------------------------------------------------------------- >Comment By: Shlomy Reinstein (shlomy) Date: 2009-11-21 07:25 Message: Fixed in svn rev. 16532, with the help of patch #2887516 by Joerg Spieler. ---------------------------------------------------------------------- Comment By: Thiemo Kellner (thiemo) Date: 2009-11-12 11:33 Message: Oh, already a patch... the bug would be rendered pointless only if the context menu of the HyperSearch results window would contain a plain text menu item. Could this bug be linked to the patch. In that case, we could close it anyway. We also could close it, if somebody said, this is not of interest much more as there are those macros. Again, I think I can cope with the macros well. If not, I would feel free to open an issue (or re-open this one). I actually do not see the point in exporting to hmtl format (ctrl+a, ctrl+c) because I do not feel one could find a better form to display than the dockable does. However, if the ctrl+a, ctrl+c export would be in plain text right away, this bug certainly would be solved. ---------------------------------------------------------------------- Comment By: Shlomy Reinstein (shlomy) Date: 2009-11-12 10:59 Message: Oh, ok... :) First, about the macro "Buffer to hypersearch results": Sometimes get lots of results in the hypersearch results dockable, and would like to apply some filtering (e.g. you are not interested in some of the files, or you are only interested in a result that contains some other string in addition). I did not find a good way to allow filtering the hypersearch results from the dockable itself, so you can do this in 3 steps: Export the results to a buffer, then do the filtering on the buffer, and then import the results back to the dockable. Now for the issue itself: The hypersearch results were enhanced to allow highlighting of the matched patterns. For this to work, the results are rendered using html, and this is the cause of what you are seeing. I recall that a short time ago someone wrote a patch which adds a context menu item for copying the results (more or less like what you ask), when this patch is committed you will have what you requested. ---------------------------------------------------------------------- Comment By: Thiemo Kellner (thiemo) Date: 2009-11-12 10:48 Message: No, I mean if the HyperSearch results window is the active window, pressing ctrl+a and ctrl+c and then paste what ever is in the clipboard to wherever you want. I did not know about the macros. But they seem to be cool but I do not quite get the need for buffer to dockable unless for the beauty of display. I probably just can use them. ---------------------------------------------------------------------- Comment By: Shlomy Reinstein (shlomy) Date: 2009-11-12 10:10 Message: I guess you are referring to the macro "Hypersearch results to buffer". This macro used to export the hypersearch results in some format (file:line: string). I changed the format just a bit in order to be able to import it back into the Hypersearch results dockable (the reverse macro "Buffer to hypersearch results") - which is very useful if you want to do some filtering on the results and then get it back in the dockable. Without this small change in format, it is impossible to have a reverse macro, since the dockable does more than just display the results. The small change should not interfere with further processing of the results. Simply ignore lines that begin with '*'. The rest of the output is the same. Is this okay? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100588&aid=2896464&group_id=588 |