1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-11-27 08:21:03 +02:00

formatting

This commit is contained in:
j-krl 2020-05-24 03:20:05 -06:00
parent 79e77b5a10
commit dbde239a25
5 changed files with 8 additions and 12 deletions

View File

@ -461,7 +461,6 @@ class AppGui {
}
} else if (cmd === 'next_link' || cmd === 'previous_link') {
const noteText = this.widget('noteText');
// if (noteText.hasFocus) {
noteText.render();
@ -480,7 +479,6 @@ class AppGui {
);
setTimeout(() => this.term_.term().inverse(this.linkSelector_.link), 50);
}
// }
} else if (cmd === 'open_link') {
if (this.widget('noteText').hasFocus) {
this.linkSelector_.openLink(this.widget('noteText'));
@ -779,6 +777,7 @@ class AppGui {
// -------------------------------------------------------------------------
// Process shortcut and execute associated command
// -------------------------------------------------------------------------
const shortcutKey = this.currentShortcutKeys_.join('');
const keymapItem = this.keymapItemByKey(shortcutKey);
@ -792,6 +791,7 @@ class AppGui {
this.logger().debug('Shortcut:', shortcutKey, keymapItem);
this.currentShortcutKeys_ = [];
if (keymapItem.type === 'function') {
this.processFunctionCommand(keymapItem.command);
} else if (keymapItem.type === 'prompt') {

View File

@ -314,7 +314,6 @@ class Application extends BaseApplication {
}
async loadKeymaps() {
// NOTE: This is where the shortcuts are mapped. types are stored in app-gui.js. Mine are now already input.
const defaultKeyMap = [
{ keys: [':'], type: 'function', command: 'enter_command_line_mode' },
{ keys: ['TAB'], type: 'function', command: 'focus_next' },

View File

@ -506,9 +506,9 @@ PAGE_DOWN page_down
ENTER activate
DELETE, BACKSPACE delete
(SPACE) todo toggle $n
n next_link
b previous_link
o open_link
n next_link
b previous_link
o open_link
tc toggle_console
tm toggle_metadata
/ search ""

View File

@ -8,9 +8,6 @@
"name": "Joplin Nextcloud App",
"path": "D:/Web/www/nextcloud/apps/joplin"
},
{
"path": "../tkwidgets"
}
],
"settings": {
"files.exclude": {

View File

@ -176,9 +176,9 @@ There are two types of shortcuts: those that manipulate the user interface direc
ENTER activate
DELETE, BACKSPACE delete
(SPACE) todo toggle $n
n next_link
b previous_link
o open_link
n next_link
b previous_link
o open_link
tc toggle_console
tm toggle_metadata
/ search ""