![]() |
#1 |
mostly an observer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,519
Karma: 987654
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.
|
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,509
Karma: 204127028
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 | |
|
![]() |
#3 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,706
Karma: 24031401
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-) |
|
![]() |
![]() |
![]() |
#4 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,950
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#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 | |
|
![]() |
#6 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,509
Karma: 204127028
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. |
|
![]() |
![]() |
![]() |
#7 |
A Hairy Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,332
Karma: 20171571
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. |
![]() |
![]() |
![]() |
#8 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,679
Karma: 8700123
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. |
|
![]() |
![]() |
![]() |
#9 | |
A Hairy Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,332
Karma: 20171571
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:
|
|
![]() |
![]() |
![]() |
#10 |
mostly an observer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,519
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
(Just thought I'd ask! I don't MIND the symbol icon, or using macros.)
|
![]() |
![]() |
![]() |
|
![]() |
||||
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 |