Quantcast
Channel: MobileRead Forums
Viewing all articles
Browse latest Browse all 50094

Bug: "Go to link or style" not working

$
0
0
I have run into an extremely strange bug (i think) where the F3 shortcut that is supposed takes you to a style doesn't actually work. And I have been struggling to replicate it except in this single instance...

In the attached file, if you go to line 28, place the cursor in the class ("vale") and hit F3, it fails to find it in the stylesheet (it just goes to the top of the stylesheet). The styling from that class is reflected in the html correctly (as far as I can tell), but it just can't find it via the F3 lookup.

EDIT: I think I may be narrowing down replication...: There are several embedded fonts. If I delete them from the stylesheet, the F3 shorcut sort of works. It jumps to the closing bracket of the class (rather than the title).

I've also noticed that F3 on the other classes will jump to the correct class, but not to the beginning of the code. For example if i F3 "calibre1", it will jump to the "calibre1" class in the stylesheet, but it'll place the cursor between the "e" and the "1" rather than at the beginning of the class in the stylesheet.

EDIT2: I've tried changing the "vale" class name (e.g. "bye", "hello") to no improved effect. However I just tried to do it on a longer class name "valeasdfasdf", and it worked the same as it would had i deleted the fonts from the stylesheet (i.e. it jumps to the closing bracket).

EDIT3: Sorry, forgot to mention, this is in Sigil 2.8.0

Attached Files
File Type: epub test - test.epub (83.9 KB)

Viewing all articles
Browse latest Browse all 50094

Latest Images

Trending Articles



Latest Images