![]() |
#76 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() Posts: 268
Karma: 516
Join Date: Nov 2015
Location: Europe EEC
Device: Kindle Fire HD6 & HD8
|
Quote:
I edited the sigil_clips_v6.ini to see how it looks in my MacBook and Linux box. From my point of view, the only useful place is in the Clips pane where the message shows when the cursor hovers on the item. Hover doesn't produce a tool tip elsewhere. The only place where "Right click for menu to add groups and entries." is true is in the Clip Editor. Elsewhere, the right click just produces 'Expand all, Collapse all'. |
|
![]() |
![]() |
![]() |
#77 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,769
Karma: 6000000
Join Date: Nov 2009
Device: many
|
That text is in an EXAMPLE clip. Those are primarily used in the Clips Editor as examples to help users design their own clips (especially by newbies).
The tooltip for a clip is always the contents of the clip. Nothing else. It and its tooltip are meant to introduce new users of Sigil to clips. It is not meant for anthing else and is typically the first clip deleted and replaced by something more useful by the user.. So I am going to leave it as it stands now. |
![]() |
![]() |
![]() |
#78 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,733
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Clips can be deleted in the Clip Editor. I deleted the "Help" clip two minutes after I inadvertently inserted it into the code, not seen it since.
Reading the text (from my saved default settings), I'm not sure it even makes sense in the context of the editing in Code View, or the Clips window. Quote:
It reads as if the actions available in the Clip Editor can be done directly from the CV context menu… or the Clips window. BR |
|
![]() |
![]() |
![]() |
#79 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,769
Karma: 6000000
Join Date: Nov 2009
Device: many
|
It was meant to be help for the clips editor.
But since people had issue with the word "help" ... I am done with this topic. It only impacts new users and is meant to be an example only. Please focus instead on more meaningful improvements in this thread. Last edited by KevinH; 03-06-2025 at 06:48 PM. |
![]() |
![]() |
![]() |
#80 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,733
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
![]() |
![]() |
![]() |
#81 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,576
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I don't think we'll be going down that road. The standalone user guide is not going to become an integrated help file.
|
![]() |
![]() |
![]() |
#82 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,769
Karma: 6000000
Join Date: Nov 2009
Device: many
|
And it is simply not worth my time to spend any more of it on an Example clip. If you do not like it delete it. Its previous version was meant to show help when a *new* user opens up the clips editor for the first time. And it has filled that function for over a decade or more. I understood that some people who do not read the user guide may be confused by the word "help" and so removed it. But that is as far as I will go for something that should not even exist in a user's production version of Sigil unless they never bothered to assign any of their own clips and just left the examples.
|
![]() |
![]() |
![]() |
#83 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,769
Karma: 6000000
Join Date: Nov 2009
Device: many
|
Any bugs or other feedback on the Python Function Replace mechanism we added to Sigil master (see the Beta 4 builds)? I would love to wrap that up and move on to other new features but wanted to make sure that:
1. It works as advertised. 2. That people still feel that this will be a useful addition to Sigil. We can always revert the changes and use the fixed plugin version if needed. Also if there are other suggestions for new features or improvements that will help the majority of users of Sigil, we are willing to consider them. Thanks! |
![]() |
![]() |
![]() |
#84 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,280
Karma: 169098402
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
I haven't seen any issues with it other than those that I self-inflicted. And I do find it useful.
|
![]() |
![]() |
![]() |
#85 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,769
Karma: 6000000
Join Date: Nov 2009
Device: many
|
Good to know. I will leave it in place and move on to other things.
That said, I do not have a testcase that has lots of emojis in it - emojis are typically in the range which require two utf-16 chars paired. ie. a high surrogate and a low surrogate pair This impacts searches done when parts are done inside Qt (utf-16) and parts are done in python (utf-32). So if anyone has a testcase epub which has a few emojis in it, or makes use of characters made from surrogate pairs, I would love to have a copy for testing and debugging the code that maps positions from inside Qt to inside python. None of my current testcases exercise any of that code. |
![]() |
![]() |
![]() |
#86 | |
A Hairy Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,355
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
|
Quote:
|
|
![]() |
![]() |
![]() |
#87 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,733
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
![]() |
![]() |
![]() |
#88 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Jan 2025
Device: none
|
Can we get a new Clips variable that allows a clip to replace the nearest set of opening/closing tags with whatever is defined for the clip?
For example in the regular tool panel, if your cursor is anywhere inside a paragraph and you click on Heading 1 or Ctrl+1 it will replace both of the surrounding p tags with h1 tags without needing to select the entire paragraph first. It would be nice if we could create clips that could do something similar and turn a paragraph into an <aside>, <cite>, <blockquote> or whatever. It would also make existing example clips such as <h1 class="heading"> more useful. Technically you aren't supposed to have the H tags inside a paragraph or vice-versa. |
![]() |
![]() |
![]() |
#89 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,769
Karma: 6000000
Join Date: Nov 2009
Device: many
|
You can hold down the shift key and doubleclick on any tag pair to select just its contents. Apply the clip to wrap it in a new tag, then slide the mouse to the now unwanted outer tag open or close tag and auto delete that tag pair using the Format -> Remove Tag Pair menu item (or assign your own keyboard shortcut to it). On my machine I have assigned Meta-Shift-P to that command. So it is easy run without needing to use the menu.
I will think about adding the Remove Tag Pair to the pop-up menu in CodeView for the next release, as many people do not seem to know about that specific Format menu command, nor the ability to use doubleclick with shift held down to select just the contents of the tag open/close pair. Or hold down the Alt key and doubleclick to select the tag pair and its contents. Last edited by KevinH; 03-29-2025 at 01:15 PM. |
![]() |
![]() |
![]() |
#90 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 841
Karma: 2657572
Join Date: Jan 2017
Location: Poland
Device: Various
|
Quote:
"print" or trying to save information to an external debug file does not work. If I need any "output" I am helpless. What can I do? I checked in Calibre and there is a special window with results, so that such a function works. There are certainly people who are able to write a working function right away. I like to test my solutions, so "print" is my friend. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Improvements/bugs/features | dontcrash | KOReader | 10 | 10-23-2019 10:05 AM |
Touch HD, Future features or dead features? | ElWorm | PocketBook | 4 | 02-07-2018 11:36 AM |
[FREE]Innovative Ideas to Ignite Your Mind: Business Ideas to Start Entrepreneurship | amazon author | Self-Promotions by Authors and Publishers | 0 | 04-01-2015 04:09 AM |
How many 'improvements' do we really need? | Fozzybear | General Discussions | 61 | 04-15-2012 12:38 PM |
ideas for calibre features | smarties86 | Recipes | 3 | 07-01-2011 10:23 AM |