|  08-26-2016, 10:09 AM | #1 | 
| mostly an observer            Posts: 1,519 Karma: 996810 Join Date: Dec 2012 Device: Kindle | 
				
				A modest proposal
			 
			
			Now that Preview Pane has made Sigil a WYSIWYG editor for all practical purposes, I work more and more often in Code View, rather than creating fresh html in my choice of text editors. What would really speed this up is having an icon for double quotes, similar to the boldface, italic, usw icons already there. This would replace multiple mouse clicks with one.
		 | 
|   |   | 
|  08-26-2016, 10:56 AM | #2 | 
| Grand Sorcerer            Posts: 28,880 Karma: 207000000 Join Date: Jan 2010 Device: Nexus 7, Kindle Fire HD | 
			
			You should be able to create a custom Clip to accomplish that pretty easily.
		 | 
|   |   | 
| Advert | |
|  | 
|  08-26-2016, 12:09 PM | #3 | |
| Grand Sorcerer            Posts: 5,763 Karma: 24088559 Join Date: Dec 2010 Device: Kindle PW2 | Quote: 
 BTW, you can also wrap text in tags or quotation marks, e.g. “\1”. (\1 will be replaced by the currently selected text-) | |
|   |   | 
|  08-26-2016, 12:19 PM | #4 | |
| Well trained by Cats            Posts: 31,249 Karma: 61360164 Join Date: Aug 2009 Location: The Central Coast of California Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A | Quote: 
  selected text, thus, as  building blocks for complex replaces | |
|   |   | 
|  08-26-2016, 02:24 PM | #5 | 
| Techno-geek            Posts: 225 Karma: 1116651 Join Date: Nov 2006 Location: Mississippi, USA Device: PRS-T1 (Black), PRS-T3S (Black), Kobo Aura ONE | 
			
			I am having trouble getting that (pasting clips into Find box) to work. Clips keep pasting into the source even though I click on the Find box first. I have a new Mac with El Capitan. Worked on my old El Capitan Mac. I think I may have made a change in preferences to get it to work but I have forgotten what it was. --MH | 
|   |   | 
| Advert | |
|  | 
|  08-26-2016, 08:53 PM | #6 | |
| Grand Sorcerer            Posts: 28,880 Karma: 207000000 Join Date: Jan 2010 Device: Nexus 7, Kindle Fire HD | Quote: 
 If you put your cursor in the Replace box before bringing up the Clip Editor (Tools->Clip Editor) you can select a clip and paste it into the Replace box by hitting the "Paste Clip" button. But the cursor has to be there first. The clip gets pasted wherever the cursor is. Last edited by DiapDealer; 08-26-2016 at 09:57 PM. | |
|   |   | 
|  08-26-2016, 09:21 PM | #7 | 
| A Hairy Wizard            Posts: 3,395 Karma: 20212733 Join Date: Dec 2012 Location: Charleston, SC today Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire | 
			
			Notjohn, here is an image of how I set up the clip bar. It acts as a whole new bar that can hold all kinds of custom commands which get inserted wherever the cursor is located.  The only differences I've noted is that when in code view the clip (ex: "\1") will surround selected text with double quotes, while if you are in the find or replace fields it will replace the selected text with exactly "\1" . eg. the clip: <em>\1</em> In code view with <p> </p> selected, the clip will produce: <em><p> </p></em> (edit - yes I know this is incorrect - just showing that the <em> tags will surround whatever is selected) In the find or replace fields anything selected will be replaced by: <em>\1</em> Last edited by Turtle91; 08-27-2016 at 10:07 AM. | 
|   |   | 
|  08-27-2016, 09:14 AM | #8 | |
| Wizard            Posts: 1,876 Karma: 8821117 Join Date: Mar 2013 Location: Rosario - Santa Fe - Argentina Device: Kindle 4 NT | Quote: 
 
 Following your example, you need to write in the "Find:" field, the following: Code: (\b<p> </p>\b) Code: <em><p> </p></em>  Regards Rubén Last edited by RbnJrg; 08-27-2016 at 09:25 AM. | |
|   |   | 
|  08-27-2016, 10:01 AM | #9 | |
| A Hairy Wizard            Posts: 3,395 Karma: 20212733 Join Date: Dec 2012 Location: Charleston, SC today Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire | 
			
			Thanks Rubén, I was just trying to show an example of how the "clip" acts differently depending on where your cursor is placed, not how to do a find/replace or the proper semantics of <em><p>. I guess I wasn't very good at explaining...   Quote: 
 | |
|   |   | 
|  08-28-2016, 06:04 AM | #10 | 
| mostly an observer            Posts: 1,519 Karma: 996810 Join Date: Dec 2012 Device: Kindle | 
			
			(Just thought I'd ask! I don't MIND the symbol icon, or using macros.)
		 | 
|   |   | 
|  | 
| Thread Tools | Search this Thread | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Humor Swift, Jonathan: A Modest Proposal. 18 Aug 07 | RWood | Kindle Books | 1 | 05-23-2014 02:26 PM | 
| A Modest Proposal - Eternal Copyright | Ninjalawyer | General Discussions | 206 | 03-09-2012 07:05 PM | 
| Humor Swift, Jonathan: A Modest Proposal | RWood | BBeB/LRF Books | 2 | 04-21-2007 07:01 PM |