![]() |
Sigil-0.9.14 Released
Sigil-0.9.14
For the impatient, the installer files (and source) can be found as assets at the bottom of the Github Release page. --------------------------------------------------------------------------- This Sigil release is primarily to address performance issues and memory leaks, but there are a still some new features and other bug fixes as described below. Bug Fixes
New Features
Sigil 0.9.14 will mark the last version that uses QtWebKit, and will be the last version to support editing in BookView. More here. Be aware that Sigil-0.9.14 still enforces the need for epub3 to have and support an NCX so that it generates as backward a compatible epub as possible. This may be relaxed in future releases. --------------------------------------------------------------------------- Please check the Sigil Wiki for important Sigil support links, additional resource downloads, and platform-specific trouble-shooting tips/requirements. Sigil-0.9.14 release page and downloads. |
As always, :thanks: :thanks:
|
Quote:
Is it possible to change the non-breaking space replacement characters by applying a Qt stylesheet or source code modifications? |
Windows-x32 pack missing from the release page
|
Quote:
|
Quote:
It's set in Misc/XHTMLHighlighter.cpp around line 85. It's the .setUnderLineStyle method of special_space_formats. Available choices can be found here: https://doc.qt.io/qt-5/qtextcharform...lineStyle-enum |
great job! thanx!
|
1 Attachment(s)
Quote:
The non-breaking space is a space, so you can really apply just underlining. For me default thin underlining seems too delicate. File: Misc\XHTMLHighlighter.cpp [here] Original code: Spoiler:
My idea: Spoiler:
|
Too "delicate" as compared to nothing at all?, or ... ;)
|
Please remember that new syntax highlighting is shared by all special spaces and not just nbsp.
static const QString SPECIAL_SPACE_BEGIN = "[\\x{00A0}\\x{2000}-\\x{200A}\\x{202F}\\x{3000}]+"; so if you need to distinguish among the special spaces while editing, selected preserve entities can be set and a Mend on that file or across all files can be done to display them as entities if needed. Clearing the preserve entities and rerunning Mend will remove the entities restoring the character version. Obviously search and replace can be used to do the same thing but Preserve Entities and Mend will be easier if many different special spaces are used throughout your book. |
Sure. I really like it. I use this for two months from the time you added this feature to the code.
I assigned the F1 key to the Mend command, and Shift-F1 to Mend and Prettify. When I want to see (some) entities I prefer to use the ShadyCharacters plugin. Continuous changing Preferences / Preserve Entites takes too long. Now I'm only doing F1 (Mend), and when I want to see (some) entities, I run the plugin (one click). Quickly and efficiently! In the target file, I prefer not to have a special spaces entities, since Sigil now displays them so nicely in the Code View, which makes reading easier. :) The most important thing is that such a feature has appeared. And thank you very much for that. :thumbsup: |
Quote:
|
Quote:
|
I'm getting aberrant behavior from the pulldowns at the bottom of the search box, its three Mode: pulldowns. I have two monitors, Sigil is full screen on the right monitor, and when I click on the last one, the Up/Down one, its menu briefly appears on the left monitor where it would be if Sigil was full screen on that monitor. That happens consistently. Sometimes the other two will appear on the left monitor and stay there and if I click again on the down arrow they'll reappear in the correct location on the right monitor.
When I click on the TOC button its window appears partly on the left monitor and partly on the right monitor. |
Yes Qt has some issues with true "full screen" on many platforms. Especially if you try to grow the original window after going full screen. Take it out of full screen, then hit the mode button to make everything show, the re-enable full screen. Did that help?
|
| All times are GMT -4. The time now is 10:21 PM. |
Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.