narcolepticinsomniac
|
407e70b20c
|
Reincorporate 8's updates
|
2018-10-12 17:25:46 -04:00 |
|
narcolepticinsomniac
|
586ad8aad7
|
edit
|
2018-10-12 16:24:42 -04:00 |
|
eight
|
2fd531e253
|
Rewrite linter system (#487)
* Add: implement new linter system
* Refactor: pull out editor worker
* Switch to new linter and worker
* Enable eslint cache
* Fix: undefined error
* Windows compatibility
* Fix: refresh linter if the editor.linter changes
* Add: stylelint
* Add: getStylelintRules, getCsslintRules
* Fix: logic to get correct linter
* WIP: linter-report
* Fix: toggle hidden state
* Add: matain the order of lint report for section editor
* Add: unhook event
* Add: gotoLintIssue
* Fix: shouldn't delete rule.init
* Add: linter-help-dialog
* Drop linterConfig
* Add: linter-config-dialog, cacheFn
* Add: use cacheFn
* Drop lint.js
* Add: refresh. Fix report order
* Fix: hide empty table
* Add: updateCount. Fix table caption
* Switch to new linter/worker
* Fix: remove unneeded comment
* Fix: cacheFn -> cacheFirstCall
* Fix: use cacheFirstCall
* Fix: cache metaIndex
* Fix: i < trs.length
* Fix: drop isEmpty
* Fix: expose some simple states to global
* Fix: return object code style
* Fix: use proxy to reflect API
* Fix: eslint-disable-line -> eslint-disable-next-line
* Fix: requestId -> id
* Fix: one-liner
* Fix: one-liner
* Fix: move dom event block to top
* Fix: pending -> pendingResponse
* Fix: onSuccess -> onUpdated
* Fix: optimize row removing when i === 0
* Fix: hook/unhook -> enableForEditor/disableForEditor
* Fix: linter.refresh -> linter.run
* Fix: some shadowing
* Fix: simplify getAnnotations
* Fix: cacheFirstCall -> memoize
* Fix: table.update -> table.updateCaption
* Fix: unneeded reassign
* Fix: callbacks -> listeners
* Fix: don't compose but extend
* Refactor: replace linter modules with linter-defaults and linter-engines
* Fix: implement linter fallbacks
* Fix: linter.onChange -> linter.onLintingUpdated
* Fix: cms -> tables
* Fix: parseMozFormat is not called correctly
* Move csslint-loader to background
* Fix: watch config changes
* Fix: switch to LINTER_DEFAULTS
* Fix: csslint-loader -> parserlib-loader
|
2018-10-01 09:03:17 -05:00 |
|
tophf
|
c49f4dd11e
|
don't hook auxiliary CMs
fixes #491
|
2018-09-03 20:54:25 +03:00 |
|
tophf
|
e27636b93d
|
preserve linebreaks in live-preview error text
fixes #460
|
2018-08-06 13:13:15 +03:00 |
|
tophf
|
d3c8812e51
|
listen on newly added section's CodeMirror too
|
2018-08-02 01:44:10 +03:00 |
|
tophf
|
9cebf91e28
|
don't call updatePreview twice for the same input event
|
2018-08-02 00:46:14 +03:00 |
|
tophf
|
68cc033942
|
trigger live preview also for changes in applies-to
|
2018-08-01 23:29:21 +03:00 |
|
Rob Garrison
|
c61d34d053
|
Update libraries (#440)
|
2018-07-21 20:58:54 +03:00 |
|
tophf
|
0e81a4679d
|
typo: FF doesn't have window.event
|
2018-05-17 01:33:18 +03:00 |
|
tophf
|
f5750c7ab6
|
properly start live-preview after first save
|
2018-05-04 22:27:14 +03:00 |
|
tophf
|
05dbcff7c3
|
insert spaces on <Tab> when editor.indentWithTabs is false
|
2018-05-01 23:13:53 +03:00 |
|
tophf
|
dbba338229
|
report line:ch in live-preview errors for usercss
|
2018-03-11 16:47:27 +03:00 |
|
tophf
|
66704a78b3
|
actually use 'pre' font for code errors in messageBox.alert/confirm
|
2018-03-11 16:31:25 +03:00 |
|
tophf
|
f9789e327b
|
show the new CM themes in the editor options
|
2018-03-03 23:36:29 +03:00 |
|
tophf
|
2c86f2f4b9
|
move commentSelection command to other editing commands
|
2018-03-03 23:36:29 +03:00 |
|
tophf
|
6e8ff5b9ef
|
simplify toggleEditorFocus now that CM 5.35 handles Ctrl-Pause
|
2018-03-03 23:36:29 +03:00 |
|
tophf
|
0f8bca03b8
|
fixup eaed0de4: don't enable livepreview for unsaved code
|
2018-01-15 19:16:48 +03:00 |
|
tophf
|
eaed0de486
|
init autocomplete/blur/focus for usercss in a common hook
|
2018-01-14 15:57:29 +03:00 |
|
tophf
|
9affcd13bc
|
don't preview unsaved styles
|
2018-01-12 14:11:24 +03:00 |
|
tophf
|
989df35b05
|
live preview in editor
* refreshAllTabs was extracted
* ...and fixed to use each frame's url when getting the styles
|
2018-01-12 00:54:36 +03:00 |
|
tophf
|
a249167539
|
remove the no longer used defocusEditor command
|
2017-12-22 18:35:46 +03:00 |
|
tophf
|
d10e83d15c
|
editor: rewrite global search/replace
|
2017-12-18 10:27:50 +03:00 |
|
tophf
|
1f45618954
|
group similar items in keymap option selector
|
2017-12-18 10:27:50 +03:00 |
|
tophf
|
748b9afdb4
|
remember last used search text in editor
|
2017-12-14 11:35:32 +03:00 |
|
tophf
|
cc5a254e01
|
make multi-section search instantaneous
|
2017-12-14 11:20:22 +03:00 |
|
tophf
|
49a995afae
|
fixup 1c68ac1a: init the find hook after the original one
|
2017-12-14 09:27:46 +03:00 |
|
tophf
|
3a82a66954
|
open editor a bit faster, fixup <select> bug and widget style
|
2017-12-11 09:12:56 +03:00 |
|
tophf
|
fb29638d00
|
defocus codemirror on Esc
|
2017-12-11 08:32:27 +03:00 |
|
tophf
|
5faff66fab
|
fix cross-section cursor navigation via keyboard
|
2017-12-08 11:42:33 +03:00 |
|
tophf
|
1c68ac1a3a
|
initialize editor page fully in First Meaningful Paint frame
* previously it wasn't the case when colorpicker option was enabled
* the cost of always loading colorview is ~1ms for >200ms here
|
2017-12-08 06:20:56 +03:00 |
|
tophf
|
6a838e9d5e
|
make sure all pre-create hooks finished
|
2017-12-07 20:26:41 +03:00 |
|
tophf
|
8e992299c6
|
clear previous search highlight from scrollbar in all sections
|
2017-12-05 05:40:27 +03:00 |
|
tophf
|
c0c60fb7a2
|
add a terse invocation syntax for $element and rename it to $create
|
2017-12-04 08:57:12 +03:00 |
|
tophf
|
9314fa0e8a
|
fixup 0e61de29: register the listener before setupLivePrefs()
|
2017-12-03 04:18:58 +03:00 |
|
tophf
|
0e61de2920
|
edit.js: pull out hooks, sections, keymap help, beautify
just a simple preparation for a proper encapsulation in the future
|
2017-12-02 23:46:00 +03:00 |
|