1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-12 08:54:00 +02:00
joplin/packages/app-desktop
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
..
build Desktop: Fixed Sync Wizard logo images on Windows 2021-09-20 16:29:05 +01:00
build-mac macOS: Notarize application 2020-11-29 17:15:42 +00:00
build-win All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
commands Desktop: Upgrade Electron from v10 to v14 2021-10-01 19:35:27 +01:00
gui Desktop: Fixes #5708: Scroll positions are preserved (#5826) 2021-12-15 18:03:20 +00:00
locales All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
plugins Desktop: Fixed Goto Anything scrolling for long lists 2021-10-24 19:12:25 +01:00
services Desktop: Sort Order Buttons and Per-Notebook Sort Order (#5437) 2021-11-11 15:33:37 +00:00
style/icons All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
tools Desktop: Upgrade Electron from v10 to v14 2021-10-01 19:35:27 +01:00
utils Desktop: Pass custom CSS property to all export handlers and renderers 2021-05-19 15:00:16 +02:00
.gitignore All: Add support for public-private key pairs and improved master password support (#5438) 2021-10-03 16:00:49 +01:00
app.reducer.test.ts fixed tests 2021-11-15 19:27:31 +00:00
app.reducer.ts Desktop, Mobile: Added support for notebook icons 2021-11-15 17:19:51 +00:00
app.ts Desktop, Mobile: Added support for notebook icons 2021-11-15 17:19:51 +00:00
bridge.ts Desktop: Fixed crash on certain Linux distributions when importing or exporting a file 2021-11-01 07:38:06 +00:00
checkForUpdates.ts Desktop: Added button to skip an application update 2021-05-14 11:29:06 +02:00
ElectronAppWrapper.ts Desktop: Resolves #5168: Add support for callback URLs (#5416) 2021-10-16 10:07:41 +01:00
generateSha512.js All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
global.d.ts All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
gulpfile.js Chore: Refactor compilePackageInfo script so that it can be used from both desktop and server app 2021-10-09 15:32:15 +01:00
index.html All: Add support for public-private key pairs and improved master password support (#5438) 2021-10-03 16:00:49 +01:00
InteropServiceHelper.ts Desktop: Fixed crash on certain Linux distributions when importing or exporting a file 2021-11-01 07:38:06 +00:00
jest.config.js Desktop: Fixes #4669: Copying code block from Rich Text editor results in two copies of the text 2021-04-11 19:01:06 +02:00
main-html.js Desktop: Upgrade Electron from v10 to v14 2021-10-01 19:35:27 +01:00
main.js Desktop: Resolves #5168: Add support for callback URLs (#5416) 2021-10-16 10:07:41 +01:00
main.scss Desktop: Allow showing passwords in Master Password dialog 2021-11-15 12:10:47 +00:00
package-lock.json Desktop release v2.6.6 2021-12-13 11:52:48 +01:00
package.json Desktop release v2.6.6 2021-12-13 11:52:48 +01:00
README.md Tools: Renamed package namespace from @joplinapp to @joplin 2020-11-07 15:59:37 +00:00
runForTesting.sh Tools: Improved desktop app runForTesting script 2021-10-24 19:13:56 +01:00
style.scss Desktop, Mobile: Added support for notebook icons 2021-11-15 17:19:51 +00:00
testPluginDemo.sh Plugins: Add support for loading application chrome and note CSS from the plugin 2021-07-23 11:05:21 +01:00
tsconfig.json All: Fix sorting by title in a case insensitive way 2020-11-27 15:16:50 +00:00

@joplin/app-desktop

TODO: description

Usage

const appDesktop = require('@joplin/app-desktop');

// TODO: DEMONSTRATE API