Kovid Goyal
0172b61217
Edit book: Preview panel: Fix hyphenation at end of line being rendered as boxes on macOS. Fixes #1958730 [Ebook editor: Breaking long words at the ends of lines causing boxes to be rendered instead of hyphens on macOS]( https://bugs.launchpad.net/calibre/+bug/1958730 )
2022-01-23 11:44:37 +05:30
Kovid Goyal
2fa3561aef
Avoid JS errors when previewing non html documents such as svg images
2021-11-19 08:15:44 +05:30
Kovid Goyal
2a66dfead0
Edit book: A new option to show a configurable number lines above the current line when syncing the position of the preview panel to the current position in the code editor (under Preview settings in the Editor preferences). Fixes #1908929 [Enhancement request for seeing code changes in file previewer.]( https://bugs.launchpad.net/calibre/+bug/1908929 )
2020-12-23 19:16:06 +05:30
Kovid Goyal
b7b7d9d681
Edit book: Preview: Support displaying mathematics
2020-06-19 20:59:50 +05:30
Kovid Goyal
609c8a2215
Edit book: Apply the same workaround for use of 100% instead of 100vh in full screen SVG images as is used in the viewer. This should give the same rendering as in the viewer, leading to less confusion.
...
I of course dont like implementing this kind of hackery, but...
2019-10-17 13:12:08 +05:30
Kovid Goyal
1d64be1032
Avoid error print on shutdown
2019-09-13 09:13:36 +05:30
Kovid Goyal
37bde2c949
...
2019-09-13 09:12:31 +05:30
Kovid Goyal
0f0470a9ee
Live CSS: Fix properties from more distant ancestors overriding properties from nearer ancestors with the same specificity
2019-09-13 09:12:11 +05:30
Kovid Goyal
8c1a3e0467
Move the live css related client side code into its own module
2019-09-13 09:12:10 +05:30
Kovid Goyal
4eb75032db
Start work on porting live css
2019-09-13 09:12:10 +05:30
Kovid Goyal
92fe190f63
Drop use of Qt Web Channel
...
One less possible cause of lifetime related crashes/leaks. Plus my
custom solution has a nicer interface. It's slower but since
communication between python and js is not a bottleneck...
2019-09-13 09:12:10 +05:30
Kovid Goyal
883717039e
Go to anchor explicitly in the preview
2019-09-13 09:12:10 +05:30
Kovid Goyal
50ed25a6d9
Dont assume head exists
2019-09-13 09:12:10 +05:30
Kovid Goyal
cae36d2cc1
Avoind double serialization of sourceline address
2019-09-13 09:12:10 +05:30
Kovid Goyal
37c277d684
Fix split button
2019-09-13 09:12:09 +05:30
Kovid Goyal
67f3422438
Port addition of css for split marker
2019-09-13 09:12:09 +05:30
Kovid Goyal
561edbe1ea
Two-way syncing work again
2019-09-13 09:12:09 +05:30
Kovid Goyal
00a9d0f275
Migrate editor coffee script to rapydscript
2019-09-13 09:12:09 +05:30