Thread: Sigil Error
View Single Post
Old 07-04-2016, 09:16 AM   #23
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,738
Karma: 24031403
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by PapaKilo View Post
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-->.
Doitsu is offline   Reply With Quote