1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-12 08:54:00 +02:00
Commit Graph

12 Commits

Author SHA1 Message Date
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
Helmut K. C. Tessarek
c499473467
All: fixes #5801: Links in flowchart Mermaid diagrams (#5830) 2021-12-13 10:38:12 +00:00
Kenichi Kobayashi
d7e08770bd
Desktop: Resolves #4827, Resolves #5652: Fixed and improve laggy scroll in text editor (#5606) 2021-11-11 15:43:32 +00:00
Kenichi Kobayashi
200ba858dd
Deskop: Fixes flickering when switching notes while the Note Search Bar is visible (#5548) 2021-11-09 15:47:25 +00:00
Kenichi Kobayashi
630a400181
Desktop: Resolves #2242: Implements Sync-Scroll for Markdown Editor and Viewer (#5512) 2021-11-03 12:10:46 +00:00
Brett Bender
8de9032321
Deskop: Fixed shortcut to focus the note body (#5597) 2021-10-30 18:00:01 +01:00
Kenichi Kobayashi
1d46d9f657
Desktop: Resolves #4827: Laggy scrolling in Markdown viewer (#5496) 2021-10-16 11:44:02 +01:00
Laurent Cozic
f3b2ca4752 Desktop: Add support for higlighting text from Rich Text editor 2021-03-16 19:39:35 +00:00
Caleb John
da9da7ec62
Desktop: Reset window hash to allow clicking an anchor multiple times (#4538) 2021-02-23 10:59:08 +00:00
Laurent Cozic
2489409abb Plugins: Added support for bi-directional messages in content scripts and webview scripts using postMessage 2021-01-11 23:33:10 +00:00
Laurent Cozic
65cc6853bd Plugins: Added a way to execute commands from Markdown-it content scripts 2020-12-11 12:00:24 +00:00
Laurent Cozic
cc07016b07 All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00