Home Download Buy Blog Forum Support

String replace using a dictionary

String replace using a dictionary

Postby marek.kaczkowski on Thu Feb 14, 2013 3:04 pm

This is quite fresh idea ;).
We have Ctrl+H for single file and Ctrl+Shift+F for multiple files with sourceString->targetString (two input areas) search&replace.
What about search&replace option based on dictionary (single input area, screenshot shows the idea).
What do you think?

Here is ready Py recipe for this action:
http://code.activestate.com/recipes/813 ... e-replace/
(in comments there are some performance tweaks)

EDIT:
Processed line can be highlighted ;).
Attachments
search_replace_dict.png
screenshot
search_replace_dict.png (15.6 KiB) Viewed 368 times
marek.kaczkowski
 
Posts: 6
Joined: Fri Jun 15, 2012 12:47 pm

Return to Ideas and Feature Requests

Who is online

Users browsing this forum: Yahoo [Bot] and 10 guests