apostrophe/uberwriter
Gonçalo Silva c5abc531e0 Fix scrolling glitch during preview
Typing while in preview mode would occasionally lead to a scrolling
glitch, where scroll would briefly be at 0, before jumping to the
location it was supposed to be in in the first case.

This happened due to the async nature of JS calls, in the following
scenario:
1. Load
2. Read started
3. Read finished
4. Read started
5. Load
6. Read finished

The results from op 4 would be invalid due to loading in-between, and
handling the result in 6 would set the wrong scroll value.

This change ensures results are discarded whenever we are waiting for
them and a new load starts.
2019-05-08 04:11:35 +01:00
..
plugins Workaround for Bibtex hardcoded paths 2018-02-15 13:45:32 +01:00
pressagio move all modules to /uberwriter 2019-04-01 18:00:17 +02:00
pylocales move all modules to /uberwriter 2019-04-01 18:00:17 +02:00
webkit2png Remove uneeded threads_init calls 2019-04-13 02:47:26 +01:00
.pylintrc move all modules to /uberwriter 2019-04-01 18:00:17 +02:00
__init__.py Improve full-width preview workflow 2019-05-04 16:33:09 +01:00
application.py Allow disabling scroll sync 2019-05-04 16:33:09 +01:00
auto_correct.py use pep8 naming style for modules and classes 2019-04-01 22:40:59 +02:00
builder.py use pep8 naming style for modules and classes 2019-04-01 22:40:59 +02:00
config.py flatpak improvements 2019-04-20 18:24:21 +02:00
export_dialog.py Cleanup left-over from removing ODT as a default export option 2019-04-17 02:10:19 +01:00
fix_table.py use pep8 naming style for modules and classes 2019-04-01 22:40:59 +02:00
format_shortcuts.py Refactor textview / textbuffer into separate modules 2019-04-13 02:00:13 +01:00
headerbars.py Improve full-width preview workflow 2019-05-04 16:33:09 +01:00
helpers.py Further remove unecessary prefixes 2019-04-15 03:01:59 +01:00
inline_preview.py Replace get_value(X).get_Y() with get_Y(X) for Settings 2019-05-04 16:33:09 +01:00
latex_to_PNG.py use pep8 naming style for modules and classes 2019-04-01 22:40:59 +02:00
main_window.py Improve gspell_view encapsulation inside TextView 2019-05-04 16:33:09 +01:00
preferences_dialog.py Replace set_value(X, type(Y)) with set_type(X, Y) for Settings 2019-05-04 16:33:09 +01:00
preview_converter.py Improve side-by-side experience 2019-05-04 16:33:09 +01:00
preview_handler.py Allow disabling scroll sync 2019-05-04 16:33:09 +01:00
preview_renderer.py Allow disabling scroll sync 2019-05-04 16:33:09 +01:00
search_and_replace.py Disable search during full-width preview 2019-05-04 16:33:09 +01:00
settings.py Add input format setting 2019-04-15 02:50:28 +01:00
sidebar.py Further remove unecessary prefixes 2019-04-15 03:01:59 +01:00
stats_counter.py Fix character count with horizontal rules 2019-05-01 19:04:50 +01:00
stats_handler.py Add toggle between various preview modes 2019-05-04 16:33:09 +01:00
styled_window.py Improve full-width preview workflow 2019-05-04 16:33:09 +01:00
tables.py move all modules to /uberwriter 2019-04-01 18:00:17 +02:00
text_view.py Improve gspell_view encapsulation inside TextView 2019-05-04 16:33:09 +01:00
text_view_drag_drop_handler.py Refactor textview / textbuffer into separate modules 2019-04-13 02:00:13 +01:00
text_view_format_inserter.py Refactor textview / textbuffer into separate modules 2019-04-13 02:00:13 +01:00
text_view_markup_handler.py Optimize markup update on margin/indent change 2019-05-04 16:33:09 +01:00
text_view_scroller.py Improve full-width preview workflow 2019-05-04 16:33:09 +01:00
text_view_undo_redo_handler.py Fix warning due to missing argument 2019-04-13 03:45:27 +01:00
theme.py Replace get_value(X).get_Y() with get_Y(X) for Settings 2019-05-04 16:33:09 +01:00
web_view.py Fix scrolling glitch during preview 2019-05-08 04:11:35 +01:00