Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Editor

Notices

Reply
 
Thread Tools Search this Thread
Old 01-26-2017, 11:34 AM   #1
Thom*
The Fumbler
Thom* began at the beginning.
 
Posts: 66
Karma: 10
Join Date: Jun 2015
Device: android 4.2/fbreader
Snippet Mania

When I run a simple "insert text" snippet I hit control+j one time and all is well. When I run a snippet that puts text before and after selected text I have to hit control+j an extra time, apparently to "step out" of the snippet. A sample of the offensive snippet template is as follow:

Code:
<div class="docindent">
  <p><br/></p>

${1*}

  <p><br/></p>
</div>
Procedure is to select some text (usually one or more paragraphs), hit control+j, enter the trigger, hit control+j, hit control+j one more time.

I don't like this. Who would?

Am I doing this wrong? Is there something I can do to eliminate the extra control+j?

Thanks
Thom* is offline   Reply With Quote
Old 01-26-2017, 10:53 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The editor has to know that you have finished editing the snippet in some way. In your use case presumably you dont intend to make any edits to the selected text, but, there is no way for the editor to know that.
kovidgoyal is online now   Reply With Quote
Advert
Old 01-27-2017, 09:45 AM   #3
Thom*
The Fumbler
Thom* began at the beginning.
 
Posts: 66
Karma: 10
Join Date: Jun 2015
Device: android 4.2/fbreader
I guess then it is just the Nature of the Beast.

Thanks for your response, Calibre is a great program.
Thom* is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Pre-formatted code snippet renders badly CBSA Editor 19 02-25-2017 12:47 PM
What is the little snippet in the front of a paperback called? bfollowell Writers' Corner 9 06-24-2011 04:09 AM
What's with the cat-mania ? Enkidu of Abydos Lounge 307 03-28-2011 11:12 AM
Mania - thriller/crime novel. Direct Ebooks Reading Recommendations 6 11-18-2009 06:58 AM
Kindle Mania and Kindlegate ;) daffy4u Amazon Kindle 1 11-04-2009 09:49 AM


All times are GMT -4. The time now is 10:18 PM.


MobileRead.com is a privately owned, operated and funded community.