1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-30 10:36:35 +02:00
joplin/packages
Kenichi Kobayashi 5c82e439a7
Desktop: Fixes #5708: Scroll positions are preserved (#5826)
Features:
- Scroll position is preserved when the editor layout changes.
- Scroll position is remembered when a note selection changes.

Modifications:
- The current Sync Scroll feature (in v2.6.2) is modified to use line-percent-based scroll positions.
- Scroll position translation functions, Viewer-to-Editor and Editor-to-Viewer, are separated into V2L / L2E and E2L / L2V respectively.
- The scrollmap is moved from gui/utils/SyncScrollMap.ts to note-viewer/scrollmap.js.
- IPC Protocol about the scrollmap becomes not necessary and is removed.
- Ignores non-user scroll events to avoid sync with incorrect scroll positions.
- When CodeMirror is not ready, setEditorPercentScroll() is waited.
- Fixes the bug: An incorrect scroll position is sometimes recorded.
- Since scroll positions become line-percent-based, the following incompatibilities of scroll positions are fixed:
  - Between Editor and Viewer.
  - Between Viewer Layout and Split Layout of Viewer
  - Between Editor Layout and Split Layout of Editor
2021-12-15 18:03:20 +00:00
..
app-cli All: Fixed "Invalid lock client type" error when migrating sync target 2021-12-13 10:32:22 +01:00
app-clipper Update clipper button text 2021-11-29 11:24:34 +00:00
app-desktop Desktop: Fixes #5708: Scroll positions are preserved (#5826) 2021-12-15 18:03:20 +00:00
app-mobile Android 2.6.6 2021-12-13 13:32:34 +01:00
fork-htmlparser2 Releasing sub-packages 2021-11-03 11:18:03 +00:00
fork-sax Releasing sub-packages 2021-11-03 11:18:03 +00:00
generator-joplin Setup new release 2.6 2021-11-02 20:07:13 +00:00
htmlpack Tools: Add missing package to Docker image 2021-11-23 16:09:09 +00:00
lib Update translations 2021-12-14 17:44:19 -05:00
plugin-repo-cli Tools: Fixed package version numbers 2021-11-07 17:36:48 +00:00
plugins
renderer lock file 2021-12-13 11:52:35 +01:00
server Server v2.6.14 2021-12-09 10:20:47 +01:00
tools Update translations 2021-12-14 17:44:19 -05:00
turndown Releasing sub-packages 2021-11-03 11:18:03 +00:00
turndown-plugin-gfm Releasing sub-packages 2021-11-03 11:18:03 +00:00
style.min.css