eight
60776fc782
Add: gotoLintIssue
2018-09-01 15:05:29 +08:00
eight
5ec82adaf9
Add: unhook event
2018-09-01 14:47:54 +08:00
eight
30fb084d4d
Add: matain the order of lint report for section editor
2018-09-01 14:44:05 +08:00
eight
d57c327955
Fix: toggle hidden state
2018-09-01 14:23:25 +08:00
eight
f79b92c7b0
WIP: linter-report
2018-09-01 01:42:17 +08:00
eight
fe4cc7b59f
Fix: logic to get correct linter
2018-08-31 23:17:42 +08:00
eight
ed3ec6215c
Add: getStylelintRules, getCsslintRules
2018-08-31 22:50:15 +08:00
eight
3b4db6f858
Add: stylelint
2018-08-31 22:31:50 +08:00
eight
cb77774310
Fix: refresh linter if the editor.linter changes
2018-08-31 22:31:44 +08:00
eight
873c0cff4b
Switch to new linter and worker
2018-08-31 20:01:39 +08:00
eight
af08f1ae23
Refactor: pull out editor worker
2018-08-31 20:00:21 +08:00
eight
fd01abe553
Add: implement new linter system
2018-08-31 19:59:40 +08:00
tophf
681176ce31
use showHelp.close when it's defined
...
fixes #485
2018-08-29 15:39:18 +03:00
tophf
2ac9a9db29
fix headerOnScroll
2018-08-24 14:31:29 +03:00
tophf
c0c5f1dbcc
avoid overwriting existing usercss on saving a new one
2018-08-18 23:17:20 +03:00
tophf
adc165723c
actually run restoreWindowScrollPos in a microtask
2018-08-16 18:09:50 +03:00
tophf
92d6530c8f
simplify listener registration
...
since the function reference is constant, only one listener will be registered
2018-08-07 20:11:11 +03:00
tophf
eff0a7030c
display only style name in the editor tab title
...
"Edit Style" was redundant and made the title unreadable when many tabs were opened.
"Add Style" is still displayed for the new styles.
2018-08-07 19:59:16 +03:00
tophf
bfb35e77b8
strip more trailing spaces in a custom usercss template
2018-08-06 20:56:33 +03:00
tophf
2db52c9e2d
code cosmetics
2018-08-06 15:11:27 +03:00
tophf
f6a90ad166
suppress stylelint warning for stylus-lang's @css block
...
fixes #459
2018-08-06 15:10:42 +03:00
tophf
5f623f2f0e
fill an empty @name with the default placeholder
...
fixes #462
2018-08-06 13:35:33 +03:00
tophf
e27636b93d
preserve linebreaks in live-preview error text
...
fixes #460
2018-08-06 13:13:15 +03:00
tophf
5da1e0fb9b
set onbeforeunload only when dirty
...
https://developers.google.com/web/updates/2018/07/page-lifecycle-api#legacy-lifecycle-apis-to-avoid
2018-08-02 20:54:40 +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
tophf
0c58783a6c
add buttons to restore, clone, move a section
2018-07-23 21:24:35 +03:00
tophf
0a3ffb0bc8
show an empty applies-to URL-prefix in manually added sections
...
because global sections are less frequently used.
2018-07-23 21:24:35 +03:00
tophf
47c4b8157a
expose 'preserve_newlines' in beautifier; dehtmlize
...
fixes #435
2018-07-23 00:28:11 +03:00
tophf
7d1bf4119a
show "close" button in beautifier dialog
...
fixes #436
2018-07-22 20:12:42 +03:00
tophf
4283cc53a7
use the global line wrapping option in moz-export popup
2018-07-22 20:08:13 +03:00
tophf
662b4f8e49
don't show "saved" note in linter config
...
* because we don't show it anywhere else
* disabling the save button is a sufficient indicator used by lots of apps
2018-07-22 19:58:40 +03:00
tophf
126d909ca7
use a typical OS order for #help-popup buttons
...
* horizontally centered in Windows
* right-aligned otherwise
2018-07-22 19:55:27 +03:00
tophf
87da06037f
make showCodeMirrorPopup modal
...
closes #437
2018-07-22 19:37:49 +03:00
tophf
67f48d5e60
make a copy of the applies-to template
...
fixes #442
2018-07-22 16:36:50 +03:00
Rob Garrison
c61d34d053
Update libraries ( #440 )
2018-07-21 20:58:54 +03:00
tophf
6f64bd840c
code cosmetics: strip trailing spaces
2018-07-17 11:24:13 +03:00
narcolepticinsomniac
70b8a1172f
Responsive layout ( #410 )
2018-07-16 19:37:01 +03:00
tophf
e51c632db6
fixup 74ef2f6f: 'editors' is a const
2018-07-10 11:45:52 +03:00
tophf
26f673f30d
move linter worker loaders to edit/
2018-07-10 11:35:19 +03:00
tophf
796b2b132d
FF execCommand bug workaround needs 'input' event dispatched
...
fixes #419
2018-07-06 12:37:35 +03:00
tophf
74ef2f6fcf
editors isn't defined on some pages like install-usercss
...
fixes #411
2018-07-03 08:42:13 +03:00
tophf
3c13f13ae2
FF workaround for broken execCommand and getSelection
...
closes #407
2018-06-29 13:00:25 +03:00
tophf
79c93ce54a
typo
2018-06-15 08:24:35 +03:00
tophf
468b2f6499
CodeMirror: recognize 'zoom' CSS property
2018-06-15 08:24:35 +03:00
tophf
2b268fc589
CSSLint/CodeMirror: background-position-x and -y
...
These have been used for a long time in the real world and will finally get standardized by the upcoming CSS Backgrounds and Borders Module L4.
fixes #397
2018-06-12 12:31:12 +03:00
tophf
44f3a79353
CSS Logical Properties and Values L1 - CodeMirror
2018-06-10 12:42:41 +03:00
tophf
f0c31f75b3
CSS Containment L1 (CR 2018-05-24)
...
https://www.w3.org/TR/css-contain-1/
2018-05-24 12:53:36 +03:00
tophf
0e81a4679d
typo: FF doesn't have window.event
2018-05-17 01:33:18 +03:00