Quote:
Originally Posted by PapaKilo
OK, that's interesting. Just exactly how would you create a clip that would search and replace something?
|
Actually, I misspoke I suggested using clips; I meant the Saved Searches feature. The steps are as follows:
1. Press CTRL+ALT+F to open the Saved Searches dialog box.
2. Press CTRL+E to add a new entry with the following data:
Name: Delete fragment tags; Find:<!--(Start|End)Fragment-->
(Leave the Replace box empty)
3. Click Save and close the Saved Searches dialog box.
The next time you see fragment comments and want to delete them, you'd:
1. Switch to Code View mode and select the Regex mode.
2. Press CTRL+ALT+F to open the Saved Searches dialog box.
3. Select the Delete fragment tags saved search and click Load Search.
4. Click Replace All.
This may sound complicated, but all you'd have to do is one key press and 2 or three mouse clicks.
If you want to avoid having to switch to Regex mode, you could also create a Saved Search group with two entries: one for <!--StartFragment--> and one for <!--EndFragment-->.