MobileRead Forums

MobileRead Forums (https://www.mobileread.com/forums/index.php)
-   Sigil (https://www.mobileread.com/forums/forumdisplay.php?f=203)
-   -   A few Sigil Feature Requests (https://www.mobileread.com/forums/showthread.php?t=267100)

crankypants 11-03-2015 08:05 AM

A few Sigil Feature Requests
 
Sigil 0.8.7

I'd like a control-alt-shift key combination to be able to comment out selected text in a CSS file. Basically, I'm going through a public EPUB and commenting out all CSS that should not be set, like font-size, color, etc. These should all be handled by the reader itself. So I'm doing a LOT of commenting.

The process:
  1. Select text to be commented.
  2. Hit control key combo.
  3. Text is commented out, surrounded by /* and */
Thanks!

crankypants 11-03-2015 08:13 AM

Request: Show ascii and unicode value in status bar of selected character
 
In a previous thread (https://www.mobileread.com/forums/sho...d.php?t=266289) about most words being misspelled, I can see the need for the status bar to show both the ascii, hex, and unicode values for a selected character.

Can the author of Sigil add that in a later release? It's really hand for troubleshooting.

Thank you!
:D

Toxaris 11-03-2015 08:26 AM

Quote:

Originally Posted by crankypants (Post 3199300)
Sigil 0.8.7

I'd like a control-alt-shift key combination to be able to comment out selected text in a CSS file. Basically, I'm going through a public EPUB and commenting out all CSS that should not be set, like font-size, color, etc. These should all be handled by the reader itself. So I'm doing a LOT of commenting.

The process:
  1. Select text to be commented.
  2. Hit control key combo.
  3. Text is commented out, surrounded by /* and */
Thanks!

Why don't you use a clip?

crankypants 11-03-2015 08:27 AM

Request: Can Sigil have a different "night mode" defined in prefs?
 
I mentioned in another thread that I'm cleaning up an EPUB where the author (or their editing tool) put background colors in. I'm currently commenting out these background colors in the CSS file. I can't double check this was done unless I can have a "night mode" where I defined the background and foreground color of fonts.

I'd like Sigil to have a user-settable "night mode" where I can define the background and foreground colors, then be able to switch the preview window between "day mode" and "night mode", which readers also do.

Thanks!

crankypants 11-03-2015 09:15 AM

Quote:

Why don't you use a clip?
Maybe I'm misunderstanding how a clip is used, but my understanding is I type a string of words, hit CONTROL-J, and those words are replaced with text.

Or can you help me design a clip that will do what I need?

I think I have a clip with will do what I want. I named it "Cmt" and the Desc column is: /* \1 */. The problem is I can't figure out how to assign it to a hotkey combination, or get it to appear next to the other clip buttons on the toolbar near H1...H5, and P. I read the Sigil userguide but it's from v0.7.2 and doesn't mention how to assign hot keys to a clip. It just says it can be done.

eschwartz 11-03-2015 10:15 AM

Quote:

Originally Posted by crankypants (Post 3199331)
Maybe I'm misunderstanding how a clip is used, but my understanding is I type a string of words, hit CONTROL-J, and those words are replaced with text.

Or can you help me design a clip that will do what I need?

I think I have a clip with will do what I want. I named it "Cmt" and the Desc column is: /* \1 */. The problem is I can't figure out how to assign it to a hotkey combination, or get it to appear next to the other clip buttons on the toolbar near H1...H5, and P. I read the Sigil userguide but it's from v0.7.2 and doesn't mention how to assign hot keys to a clip. It just says it can be done.

Are you perhaps conflating calibre Editor's Snippets feature with Sigil's clips? They're not the same thing at all.

Edit ==> Preferences ==> Keyboard Shortcuts (tab)
Default shortcuts for clips are CTRL+ALT+num where num is the number of the clip from 1 to 9 plus 0 (for 10).

crankypants 11-03-2015 10:56 AM

Yes I think I was confusing something in Calibre. I found the key stroke editor for clips. Thanks!


All times are GMT -4. The time now is 08:13 PM.

Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.