1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-19 08:14:50 +00:00
TiddlyWiki5/core/modules/utils
BurningTreeC 3592333cb8 Add support for global keyboard shortcuts (#3493)
* changes for global keyboardshortcuts

* add keyboard.js startup module

* remove not existing "th-opening-window" hook

* correct title

* use utils.addEventListeners

* define platform lookup-names on startup

* use the startup-lookup-names array

* use the platform-specific lookupNames only

* Update keyboard.js

* move initializations to the constructor

* move initializations to the constructor

* rename hasAnyTiddlerChanged

* don't explicitely create new RegExp

* use $tw.utils.hopArray

* match strings, no regex

* remove hopArray, move to boot.js

* add $tw.utils.hopArray to boot.js

* style update

* style updates

* move more to keyboardManager module

this could probably be moved to rootwidget.js

* move more to keyboardManager module

* add event listener for shortcuts in new windows

* prevent error when opening window is blocked

* add keydown listener on document in startup.js

* delete startup/keyboard.js

* add missing this.shortcutTiddlers

* Update keyboard.js

* Update boot.js

* add exports.hopArray to utils.js

* minor codingstyle tweak

* change how lookupnames get pushed to array

* Update windows.js

* re-add shortcuts-listener for new windows

I removed this before which I think was because I misunderstood what exactly should go to a separate PR
2018-11-06 13:34:51 +00:00
..
diff-match-patch Incorporate “diff” engine to show visual differences (#3112) 2018-03-16 20:38:35 +00:00
dom Fix scrolling with tc-adjust-top-of-scroll (#3467) 2018-10-07 10:23:41 +01:00
crypto.js Fix support for upgrading encrypted wikis 2014-07-16 10:06:24 +01:00
csv.js Module-ize server routes, add static file support and other enhancements(#2679) 2018-07-18 16:54:43 +01:00
edition-info.js Refactor edition-info handling 2015-01-11 15:00:54 +00:00
fakedom.js Don't throw errors when hitting limits of the fakedom 2017-06-09 15:20:45 +01:00
filesystem.js Avoid deprecated new Buffer() usage 2018-06-13 11:22:17 +01:00
logger.js Syncer: allow logging to be disabled 2017-09-26 17:10:57 +01:00
parsetree.js Add parse tree utility for collecting text 2015-08-01 13:14:32 +01:00
performance.js Add user interface for enabling performance instrumentation 2015-10-14 10:59:55 +01:00
pluginmaker.js Add localisable strings for error (#2447) 2016-05-17 21:58:47 +01:00
transliterate.js Transliterate servername to safe ASCII 2018-08-24 14:33:31 +01:00
utils.js Add support for global keyboard shortcuts (#3493) 2018-11-06 13:34:51 +00:00