|
|
#61 | |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,249
Karma: 6565382
Join Date: Nov 2009
Device: many
|
Quote:
I will see about adding that to the Reports code. Are there any other particular windows in Sigil that would benefit from such a treatment? Last edited by KevinH; 01-15-2026 at 05:35 PM. |
|
|
|
|
|
|
#62 | |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,249
Karma: 6565382
Join Date: Nov 2009
Device: many
|
Quote:
Code:
def create_sigilmatch_copy(m):
grouplist = []
n = len(m.groups())
if n > 0: n = n + 1
s = m.start()
for i in range(n):
grouplist.append([m.span(i)[0] - s, m.span(i)[1] - s])
nm = SigilMatch(m.group(0), grouplist)
return nm
With this change the force_titlecase function now simplifies to the following: Code:
def replace(match, number, file_name, metadata, data):
if match:
new_match = create_sigilmatch_copy(match)
new_match.string = replace_lowercase(match, number, file_name, metadata, data)
return replace_titlecase(new_match, number, file_name, metadata, data)
Last edited by KevinH; 01-15-2026 at 06:27 PM. |
|
|
|
|
|
|
#63 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 928
Karma: 3501168
Join Date: Jan 2017
Location: Poland
Device: Various
|
Important note: add setWindowsFlags after
Code:
ui.setupUi(this); |
|
|
|
|
|
#64 | |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,249
Karma: 6565382
Join Date: Nov 2009
Device: many
|
Quote:
So far the list of where to make these changes is: Reports Spellcheck But there are a number of other informational windows that it may be useful for, such as GetInfo, some of the RepoManager windows, and etc. I had no idea about this difference between platforms. |
|
|
|
|
|
|
#65 |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 49,593
Karma: 174632684
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
So far the changes look good here. I was able to see a slowdown in the character report but that involved preloading an ~16K block of data which was then "typed" into Code View. The delay was about 2 seconds between the two versions of Sigil.
As for the minimize/full screen, much like @BeckyEbook, I don't remember ever seeing them so I never missed them. It is nice to have them now. Last edited by DNSB; 01-15-2026 at 08:12 PM. |
|
|
|
|
|
#66 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 29,033
Karma: 210162574
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I never needed to minimize anything other than the main window on any OS. So I never noticed there being (or not being) a minimize button.
EDIT: It's not just Windows by the way. The 'x' (close) button is the only button visible on any Sigil dialog on my Arch Linux machine using the Cinnamon desktop. I just checked. Last edited by DiapDealer; 01-15-2026 at 09:30 PM. |
|
|
|
|
|
#67 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,249
Karma: 6565382
Join Date: Nov 2009
Device: many
|
Whereas on Manjaro under KDE Plasma 6, I get both the min and max buttons on the Reports window title bar.
|
|
|
|
|
|
#68 | |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,249
Karma: 6565382
Join Date: Nov 2009
Device: many
|
Quote:
Update: I have pushed this change to master. Last edited by KevinH; Yesterday at 12:30 PM. |
|
|
|
|
|
|
#69 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 928
Karma: 3501168
Join Date: Jan 2017
Location: Poland
Device: Various
|
I like this feature, but I think it could be even better if we added a bonus in parentheses.
Spoiler:
|
|
|
|
|
|
#70 |
|
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Nov 2025
Device: none
|
RegEx Rename
1) Just a thought: When selecting files and calling RegEx Rename, maybe the cursor should be placed in the "Regular Expression:" field.
2) Would it be possible to RegEx Rename files in different folders? I think in a previous Sigil version I could select files in different folders and call RegEx Rename, but then it would only process the files in one folder anyway. The current version of Sigil (2.7.0 on Windows 10) does not even bring up a popup menu when I select files in more than one folder and right-click. This request is very low priority, so if it's any bother - don't bother :-) 3) I often use "Delete Unused Stylesheet Selectors...". This also pretty-prints the CSS, but _only_ if there are selectors to delete. It would be nice to be able to pretty-print the CSS even if there is nothing to delete. |
|
|
|
|
|
#71 | |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() Posts: 317
Karma: 516
Join Date: Nov 2015
Location: Europe EEC
Device: Kindle Fire HD6 & HD8
|
Quote:
However, I made that post because it seemed that aspect of the internal Sigil windows on the Windows platform was what caused the grief for the OP (MickiTee). |
|
|
|
|
|
|
#72 | |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,249
Karma: 6565382
Join Date: Nov 2009
Device: many
|
Quote:
Update: I have pushed this change to master. 2. No, as mixing files from Virtual folders is purposely disabled in BookBrowser and xhtml naming typically differs from font, image, and other file renaming patterns. That selection limitation is by design. 3. You can reformat the CSS at any time. See the pop-up menus. No pretty printing is actually done, just one line vs multi line formatting. Last edited by KevinH; Yesterday at 12:32 PM. |
|
|
|
|
|
|
#73 |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() Posts: 317
Karma: 516
Join Date: Nov 2015
Location: Europe EEC
Device: Kindle Fire HD6 & HD8
|
Display problem in Regex Rename
On my linux box, UbuntuStudio 24.04.3 LTS and KDE Plasma, with Sigil 2.7.0 QT6.9.3 (from the appimage), the text for the replacement string name is truncated.
See screenshot: This could be a system issue, but I've never encountered it elsewhere in Sigil or in any other application on my linux box. Doesn't affect the usage - just the appearance. |
|
|
|
|
|
#74 | |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,249
Karma: 6565382
Join Date: Nov 2009
Device: many
|
Quote:
Update: I have pushed this change to master. Last edited by KevinH; Yesterday at 12:31 PM. |
|
|
|
|
|
|
#75 | |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,249
Karma: 6565382
Join Date: Nov 2009
Device: many
|
Quote:
Could be theme or font scaling related? Last edited by KevinH; Yesterday at 11:07 AM. |
|
|
|
|
![]() |
|
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 |