Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old Today, 03:09 AM   #16
BeckyEbook
Guru
BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.
 
BeckyEbook's Avatar
 
Posts: 884
Karma: 3501166
Join Date: Jan 2017
Location: Poland
Device: Various
Ad 2. On fresh Sigil from GitHub repository the Inspector changes the language nicely.
The default was English, but it offered me Polish and changed it.
I can also choose any other language via the gear icon in the Inspector -> Preferences -> Language, and it is remembered.
I can also change the language manually in the file <SIGIL_PREFS_FOLDER>\local-devtools\user_prefs.json
Attached Thumbnails
Click image for larger version

Name:	sigil-devtools-user-prefs.png
Views:	22
Size:	34.9 KB
ID:	218162  
BeckyEbook is online now   Reply With Quote
Old Today, 08:21 AM   #17
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: 8,964
Karma: 6361444
Join Date: Nov 2009
Device: many
Quote:
Originally Posted by jugaor View Post
A non-binding question: will this also apply to Ctrl+cursor movement/selection? (not a vital issue.)
No unfortunately not. Using ctrl+cursor move with an arrow key, still uses Qt QPlainTextEdit's internal approach to finding word breaks which we now know is broken.

I could "workaround" the separate double click event in CodeView because there is a specific double-click event handler that I could hijack to override their choice in a safe manner.

I can look to see if there is a way to override an arrow key press event but that is going to impact all uses of arrow keys, which is probably not want anyone wants and key press events need to be handled efficiently to prevent typing slowdowns.

The best approach is for you (or someone else who has this issue) to open a QtBug directly with Qt, and point out the inconsistencies in both approaches across multiple languages so that they will fix the word break iterator used by their QTextCursor routine to be unicode aware and not just a list of ascii quote and punctuation characters. You could even point them to this thread in Mobileread post for additional details.

Hope this helps.
KevinH is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Informal English usage and possible translation issues j.p.s General Discussions 91 01-30-2024 06:08 AM
Font issues - Chinese, Japanese, English Elfwreck PocketBook 2 06-30-2023 11:07 PM
Having issues while converting non-English books shraddhajadhav7 Conversion 2 01-12-2022 09:09 AM
Problem: Calibre converts non-English titles to English equivalents. Fritz_Katz Conversion 2 05-18-2021 07:06 PM
PB302 - How to replace English->Russian dictionary with English only (with defin.)? guyanonymous PocketBook 29 08-03-2010 06:05 PM


All times are GMT -4. The time now is 05:35 PM.


MobileRead.com is a privately owned, operated and funded community.