1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 18:17:20 +00:00
TiddlyWiki5/core/modules
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
..
commands Module-ize server routes, add static file support and other enhancements(#2679) 2018-07-18 16:54:43 +01:00
editor New text editor operation: save selection to a tiddler 2018-06-29 15:09:51 +01:00
filters Fix crash with search operator with blank field list 2018-11-01 12:56:56 +00:00
info Add screen width/height to platform information exposed at startup 2018-03-23 09:13:45 +00:00
macros Refactor utility for converting tiddlers to JSON 2018-10-01 11:27:45 +01:00
parsers Add new "\import" pragma 2018-09-28 16:01:32 +01:00
savers Fix coding standards for put.js 2018-06-13 15:50:47 +01:00
server WebServer - change /login-basic route to /login/basic 2018-10-13 17:22:21 +01:00
startup Add support for global keyboard shortcuts (#3493) 2018-11-06 13:34:51 +00:00
storyviews Revert getTiddlerData() and add getTiddlerDataCached() 2015-07-10 16:43:50 +01:00
upgraders Revert getTiddlerData() and add getTiddlerDataCached() 2015-07-10 16:43:50 +01:00
utils Add support for global keyboard shortcuts (#3493) 2018-11-06 13:34:51 +00:00
widgets Problem: revealed dropdown menu on mobiles (#3491) 2018-10-21 16:53:45 +01:00
commander.js Module-ize server routes, add static file support and other enhancements(#2679) 2018-07-18 16:54:43 +01:00
config.js Move the wikilink regexps into global config 2014-11-26 11:12:25 +00:00
deserializers.js Add support for JSON files containing a single tiddler 2017-03-17 14:19:43 +00:00
filters.js Enhance search operator (#3502) 2018-10-30 17:39:18 +00:00
keyboard.js Add support for global keyboard shortcuts (#3493) 2018-11-06 13:34:51 +00:00
language.js Make lazy loading message be translateable 2015-09-08 10:41:27 +01:00
pluginswitcher.js Add experimental support for RTL languages 2016-08-15 19:47:26 +01:00
saver-handler.js Rename variable for clarity 2017-02-04 17:24:25 +00:00
story.js Fix issues with creation and modification dates 2015-09-11 13:34:01 +01:00
syncer.js Syncer: support configurable polling interval 2018-10-19 16:32:23 +01:00
tiddler.js Add "contains" filter operator for searching list fields 2018-08-15 13:50:07 +01:00
wiki-bulkops.js Add several new hooks for UI actions 2017-02-09 15:42:55 +00:00
wiki.js Fix crash with search operator with blank field list 2018-11-01 12:56:56 +00:00