View Single Post
Old 01-12-2026, 11:26 AM   #23
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 9,439
Karma: 6733960
Join Date: Nov 2009
Device: many
Okay, I have looked and Qt does *not* have a built in way to get the official name for any QChar value, just its category. To add this to a C++ app you must link it to the ICU library which is not directly accessible on some platforms, and some platforms use older private versions.

In python, this name is available in the unicodedata module. And I believe Calibre already links to the ICU library for other things.

So getting the character name would either slow down the editor forcing it to call into the python interpreter every time you move the cursor, or add 31 meg of app size to embed the ICU data tables and library into Sigil.

Neither of these am I willing to do for such limited benefit, especially given it would also consume a line of vertical space in the CodeEditor.

So the character name of the character under the cursor is not going to happen.


That said ...

I will either add a Words Report with the ability to save to csv or simply add a Save Selected pop up menu item to the Spellcheck dialog so that you can save the table to CSV. Most probably the latter as it is simpler and makes more sense.

Last edited by KevinH; 01-12-2026 at 03:36 PM.
KevinH is online now