|
|
#76 |
|
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Nov 2025
Device: none
|
Search/Replace for quotes
When I search/replace “ or ”, in the "Find:" or "Replace:" fields only closing quotes ” show up. The search/replace works correctly, though. The same happens with single quotes ‘ and ’: the display always shows ’.
|
|
|
|
|
|
#77 |
|
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Nov 2025
Device: none
|
CSS selectors are consistently separated by a single blank line, indentations are consistently two spaces, and the last line is terminated in a semicolon ... sure looks like some sort of pretty-printing to me.
Also, on Windows 10, Sigil 2.7.0, I can't seem to locate a popup menu for CSS formatting. A little pointer please? |
|
|
|
| Advert | |
|
|
|
|
#78 | ||
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 928
Karma: 3501168
Join Date: Jan 2017
Location: Poland
Device: Various
|
Quote:
Use tip from Sigil User Guide (Advanced Topics > Customizing Sigil with Qt QSS) Source: here Quote:
|
||
|
|
|
|
|
#79 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 928
Karma: 3501168
Join Date: Jan 2017
Location: Poland
Device: Various
|
Simply right-click in the Code View window while editing the CSS file.
|
|
|
|
|
|
#80 | |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,241
Karma: 6565382
Join Date: Nov 2009
Device: many
|
Quote:
So I am seeing none of the truncation you are. I ran this test with both my own built Sigil and with the latest AppImage version of Sigil. So it is probably something specific to your window manager or theming, as on stock Manjaro Plasma KDE, it does not happen. UPDATE: That said, I looked into the RERenamer.ui file and it has hard coded widths for the label field. I have no idea why that is but I will try removing them. UPDATE2: I have now pushed this change to master. Let's hope that does the trick. UPDATE3: Whoops that lost all the labels so I will revert and keep looking. UPDATE4: Reverting that change and just grew the width of the QLabel fields which should hopefully prevent the the text clipping in the RERenamer label fields. Master should now have this fix. Last edited by KevinH; Today at 12:55 PM. |
|
|
|
|
| Advert | |
|
|
|
|
#81 | |
|
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Nov 2025
Device: none
|
Quote:
#cbFind, #cbReplace { font-family: "Courier New"; font-size: 10pt; } it works fine now. I'm not sure the problem was the font size of the default font, though. I pasted “ ” ‘ ’ into both fields, and the quotation marks are both clearly the same (see screenshot). |
|
|
|
|
|
|
#82 |
|
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Nov 2025
Device: none
|
|
|
|
|
|
|
#83 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,241
Karma: 6565382
Join Date: Nov 2009
Device: many
|
Summary so far: (numbering is random)
1. show clip # in Clip Editor to easy shortcut assignment (accepted - no work on this yet) 2. add min and max titlebar buttons for Reports to make hiding them temporarily easier (accepted- change already in master and added it to Spellcheck Editor as well) 3. fix force_titlecase to work with multiple file search and replace (accepted - fix pushed to master) 4. Regex Renamer - make Regex field have focus on launch (accepted - change already in master) 5. fix Regex Renamer label truncation on some platforms (accepted - fix already in master) 6. Add a Font Report (uncertain - since no justification yet and no response on what new info would be in a Font report that you can not already get in other ways. 7. add tool like "Check Epub" from calibre with autofix (not accepted - WellFormed Check already handles structural errors and has a cleaner error report via Validation, Mend will autofix these errors but as in calibre - autofixing may not be the right thing to do. 8. Add IDE syntax colouring for errors (not accepted - latest calibre does NOT do this and there is no accurate way to highlight an error condition, nor is there a way to highlight errors of omission. Tested the latest calibre Check Epub with autofix and it lost complete paragraphs depending on error. Tested Sigil for error detection, Well Formed Check, epubcheck, and css validator, and I feel these are much better tools than allowing autofix without forcing a Checkpoint first.) 9. add session ID for plugins (not accepted - no reasoning given why Sigil process ID was needed plus a way to generate a proper cache key can be done easily inside python - including the parent process id.) 10. autofix attribute order for old nook e-readers (not accepted - against the xhtml and xml specs on attribute order and supporting old broken epub2 nook e-readers is not something for Sigil. Much better to discourage their continued use) 11. add name for char under cursor in status bar (accepted after much trial and error - under test for negative editing speed impacts, this change is already in master, and improvements by BeckyEbook have already been added) 12. add live CSS panel (not accepted - this functionality already exists in Preview's Inspector. FWIW, calibre is adding lots of data- attributes with line number info for every element to what they input to Preview behind the scenes in order to identify elements inside the DOM and uses javascript to do what the Inspector already does. These types of change to what Preview is showing just add overhead with no benefit given Sigil's tag path approach.) 13. add way to get a complete list of words in an epub written to CSV (accepted - added Save Selected to SpellcheckEditor, change already in master) 14. allow Classes Used Report to take you directly to that class in the CSS (just like the CSS Selector Report does now) (under evaluation) 15. Fix "extra find needed bug" when in html but searching all css files, js files, svg files, etc (accepted, fixed pushed to master) Thanks for everyone who has taken the time to make suggestions. If a suggestion was "not accepted" the reason behind this decision was also provided. Last edited by KevinH; Today at 04:43 PM. |
|
|
|
|
|
#84 |
|
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Nov 2025
Device: none
|
I've got another one: If I search for a class name in "All CSS Files" and the CSS file is not already open, then clicking the "Find" button will only open the CSS file, but not find the right selector. To get that, I have to click "Find" again.
|
|
|
|
|
|
#85 | |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,241
Karma: 6565382
Join Date: Nov 2009
Device: many
|
Quote:
It appears that the first CSS file is opened but the text inside the CodeView has not yet quite been loaded yet. So this is a race. The routine that waits until a new Tab is Open and Loaded is not working properly. UPDATE: The bug was found and fixed. The fix has been pushed to master. Last edited by KevinH; Today at 04:37 PM. |
|
|
|
|
|
|
#86 | |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 877
Karma: 4125986
Join Date: Jun 2012
Location: London, UK
Device: Sony PRS-505, Pocketbook TL3, TL4, TL5, Verse
|
Quote:
I only have a single, 21" monitor as I don't have enough room for a second or larger one. 2) The problem is that if you have a large book it can be difficult to locate the font files in All Files even if you sort by file name. I can live without this if there is not enough interest from other users for it. 3) Thanks. |
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Suggestions for Sigil Improvements or New Features | KevinH | Sigil | 168 | 11-18-2025 01:23 PM |
| Suggestions for New Plugins and Plugin Improvements | KevinH | Plugins | 0 | 09-22-2025 11:53 AM |
| Ideas for New Improvements or Features | KevinH | Sigil | 97 | 04-09-2025 10:45 AM |
| Improvements/bugs/features | dontcrash | KOReader | 10 | 10-23-2019 11:05 AM |
| Onyx M92: Suggestions for possible improvements | Lode | Onyx Boox | 3 | 02-11-2013 08:40 AM |