Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 08-30-2017, 03:41 AM   #1
brolny
Connoisseur
brolny began at the beginning.
 
Posts: 64
Karma: 10
Join Date: Sep 2015
Location: Yerevan, Armenia
Device: none
Word's separation marks bug for Armenian

There are 6 punctuation marks in the Armenian
՝ « » ։ ․ ֊
which not recognised by Sigil as word's separation marks.
May be just a hyphen "֊" not needs that behavior.
First 5 are never(!) part of words.

https://en.wikipedia.org/wiki/Armeni...et#Punctuation

To reproduce.

1. Just copy-paste the line below to the program.
"Good morning՝«»։․֊ all."
2. Make a double click on the word "morning".
3. You will see that 6 chars after the word also selected.
PS.
Make a double click on the word "morning" in Chrome or Edge, right here.
You will see that just "morning" is selected.
brolny is offline   Reply With Quote
Old 08-31-2017, 09:27 AM   #2
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: 7,636
Karma: 5433388
Join Date: Nov 2009
Device: many
Do you set the proper language in Sigil for both the interface and the language? At the system level, do you properly set the locale environment variables?

Any double-click block highlighting is controlled by Qt not Sigil. I will search to see if there are any related Qt bugs.

Exactly what platform, version of Sigil, and version of Qt are you using (see the Sigil "About" dialog)?

Update:

Nevermind, this is expected behaviour in all Qt applications as Qt QTextEngine::atWordSeparator() is not Locale specific.

So double-clicking to highlight a word does not depend on language/locale in Qt.
If it matters to you, you whould probably submit an official bug report to Qt so that they fix this.

Last edited by KevinH; 08-31-2017 at 12:29 PM.
KevinH is online now   Reply With Quote
Old 08-31-2017, 01:34 PM   #3
brolny
Connoisseur
brolny began at the beginning.
 
Posts: 64
Karma: 10
Join Date: Sep 2015
Location: Yerevan, Armenia
Device: none
Thanks.
brolny is offline   Reply With Quote
Reply

Tags
bug, bug report


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Word long press bug Nexutix Marvin 8 11-02-2016 11:48 AM
Glo Bug or common, quote split from word? Ripplinger Kobo Reader 4 07-05-2013 08:38 PM
word macro for editing needless paragraph marks excalibra Workshop 6 03-12-2011 10:35 AM
PDF to WORD/HTML conversion, "special characters and marks" errors chengyibo PDF 3 11-06-2010 12:43 AM


All times are GMT -4. The time now is 04:43 PM.


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