![]() |
#1 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 73
Karma: 7130
Join Date: Apr 2015
Device: PRS-T3
|
Moving text with a non-breaking space [ ]
Hi,
I've noticed a strange behavior. If you select a text including a non-breaking space (wherein the code is replaced by a "yellow space") with the mouse and move it to a different position, the non-breaking space is converted into a normal space. The behavior does not occur when copy and paste is used or the passage contains the code instead of the yellow space. Regards, McDummy |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,199
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
This is a limitation of Qt the graphics toolkit calibre uses. I've worked around it for the case of copy/paste but working around it for drag and drop is harder.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,199
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Actually with modern versions of Qt this turned out to be a pretty simple fix: https://github.com/kovidgoyal/calibr...2a7b8c0c3c5b64
|
![]() |
![]() |
![]() |
#4 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 73
Karma: 7130
Join Date: Apr 2015
Device: PRS-T3
|
I don't know if this is related, but if you replace a normal space with a non-breaking space, text on the left(or right?) side of the editor is sometimes disappearing.
Regards, Werner |
![]() |
![]() |
![]() |
#5 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
That is a different, known Qt bug. It is because of the highlighting.
Upstream hasn't gotten around to looking at it to fix it... |
![]() |
![]() |
Advert | |
|
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Non-Breaking space | drago87 | Conversion | 0 | 01-20-2016 05:52 AM |
Sigil adding nbsp when a simple space should do | eggheadbooks1 | Sigil | 12 | 12-04-2015 03:59 PM |
Why the non-breaking space? | Notjohn | Sigil | 2 | 06-08-2015 05:24 AM |
Odd S&R with non breaking space | BobC | Editor | 2 | 07-30-2014 04:19 AM |
Use of nonbreaking space ( ) | Ti-Ron | ePub | 10 | 04-14-2013 10:57 PM |