11-23-2020, 09:09 AM | #1 |
Enthusiast
Posts: 38
Karma: 10
Join Date: Aug 2018
Location: Paris (France)
Device: Kobo Kindle Vivlio-Inkpad3
|
Request more editing features in Calibre-editor
As a complement to my previous thread, so here are my wishes for text editing :
a) being able to select the contents of a tag is already possible by Ctrl-Alt-T. Say I have Code:
<div><p>blah blah<I>blah in italic</I>foo foo</p></div> Incidentally, I couldn't find a way to change the hotkey for Ctrl-Alt-T b) be able to select an entire line (with or without CRLF) and be able to associate it with a hotkey c) be able to clone selected line(s) and be able to associate it with a hotkey d) be able to move selected line(s) up or down and be able to associate them with a hotkey e) be able to close (surround) selected text with any tag, or be able to add items to the list of possible tags (menu </>) f) be able to assign hotkeys to all currently available editing functions, such as Ctrl + i for <i> or Ctrl-b for <b> that are already available Best regards |
11-23-2020, 10:14 AM | #2 |
creator of calibre
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I'm afraid making the textual keybings customizable is too much effort for me. For the rest many of them you can already do, for example:
b) Home, Shift+end c) ctrl+c + ctrl+v e) the insert tag button already does this And if you really want to do powerful things with the keyboard, learn to use snippets: https://manual.calibre-ebook.com/snippets.html |
Advert | |
|
11-23-2020, 04:10 PM | #3 |
Enthusiast
Posts: 38
Karma: 10
Join Date: Aug 2018
Location: Paris (France)
Device: Kobo Kindle Vivlio-Inkpad3
|
Thanks for your quick answer.
"Too much effort" for you. Sure, I understand it. e) what I ask you is to be able to customize the list of that button And, yes, I'm aware for snippets. These are good tools. But, unless I'm wrong, snippets are not able to surround some selected text, ie to insert some text1 before selected text, and some text2 after it. Often, I don't have to create code, but I have to modify it, so I select words before modifying around it. About my first wish, to extend selection between imbricated tags recursively from inside to outside, I make a simpler request : instead of that, I'd wish to be able to select all the text (including any tags inside) between selected tag and the paired tag (supposing cursor is anywhere in some tag, between < and >). Of course there would be the matching hotkey It would be almost like current Ctrl-Alt-T, but instead of between >..<, between <tag>..</tag> Best regards |
11-23-2020, 10:28 PM | #4 |
creator of calibre
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
yes, snippets can surround text, read the bottom couple of parapgraphs of https://manual.calibre-ebook.com/sni...tml-link-tag-a
and to expand ctrl+alt+t to the parent tag, after pressing it simply hold down shift and move the cursor beyond the edge of the closing tag and press catrl+alt+t again. |
11-23-2020, 10:51 PM | #5 |
creator of calibre
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
And here you go: https://github.com/kovidgoyal/calibr...451d036444323f
Although since you seem to want to use th keyboard for this, you are better fo creating a snippet. |
Advert | |
|
11-24-2020, 03:41 PM | #6 | |
Enthusiast
Posts: 38
Karma: 10
Join Date: Aug 2018
Location: Paris (France)
Device: Kobo Kindle Vivlio-Inkpad3
|
Quote:
Expand : not perfect, but better than nothing |
|
11-24-2020, 03:50 PM | #7 | |
Enthusiast
Posts: 38
Karma: 10
Join Date: Aug 2018
Location: Paris (France)
Device: Kobo Kindle Vivlio-Inkpad3
|
Quote:
Will you mean that you'll add it in a next version ? So I will be able to add customized tags in </> menu |
|
11-24-2020, 10:53 PM | #8 |
creator of calibre
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
11-27-2020, 02:53 PM | #9 |
Enthusiast
Posts: 38
Karma: 10
Join Date: Aug 2018
Location: Paris (France)
Device: Kobo Kindle Vivlio-Inkpad3
|
Just got 5.6
Thanks for Allow adding tags to the list of tags for the insert tag button |
Tags |
editor selection |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Thanks & Features Request | jadepearl | Marvin | 4 | 11-21-2018 11:57 AM |
New features in the editor | eschwartz | Editor | 69 | 04-08-2015 03:29 AM |
Glo New features request | Start | Kobo Reader | 10 | 06-02-2013 06:50 AM |
Request: some new 'editing' features | ballast | Calibre | 5 | 07-28-2010 06:52 AM |
where to request features or complain? | quillaja | Sony Reader | 1 | 12-21-2009 05:00 PM |