tophf
1f237a98eb
editor: focus the name input when saving a nameless style
2017-09-01 12:27:59 +03:00
tophf
874088e067
edit: focus the first section upon opening
2017-09-01 12:25:40 +03:00
tophf
96b47e7bdd
editor: autoswitch to next/prev editor on cursor movement
2017-09-01 12:23:49 +03:00
tophf
8809384264
debounce indicateCodeChange per cm
2017-09-01 11:16:57 +03:00
tophf
0a5d9d86bf
editor: on disabling CSS linter option, hide the report entirely
2017-09-01 11:08:48 +03:00
tophf
27ad478f8c
fixup fb7f7d54: isMatching must be boolean
2017-09-01 11:04:24 +03:00
tophf
86ebca5e1a
editor: show progress bar while opening huge styles
2017-09-01 00:52:38 +03:00
tophf
85a5702fe0
refactor lint report stuff, use $element
2017-08-31 23:19:43 +03:00
tophf
ec01914f17
separate 'rule' property in lint annotations
2017-08-31 22:25:28 +03:00
tophf
7f9c377d33
use 'changes' event to reduce overhead upon replaceAll
2017-08-31 22:25:28 +03:00
tophf
ab97108e6f
properly replace the editors in initWithStyle
2017-08-31 21:27:10 +03:00
tophf
799108e880
create code box in write-new-style editor immediately
2017-08-31 21:27:10 +03:00
tophf
0189ae1d64
show lint report on open earlier; lint on import
2017-08-31 21:27:07 +03:00
tophf
4c616442f6
correctly show/hide #no-styles message in the popup
2017-08-31 13:42:30 +03:00
tophf
35615eb2d4
make message-box.danger close icon match the red title
2017-08-31 13:42:30 +03:00
tophf
fa5ebb8958
use callbacks in animateElement to avoid re-animation
2017-08-31 13:42:30 +03:00
tophf
58b52b0bf0
make #confirm popup more flexible
...
kinda fixes #175
2017-08-31 13:42:30 +03:00
tophf
8960a9f5ce
fixup 3c5d20f8: show detection results properly
...
fixes #180
2017-08-30 21:21:48 +03:00
tophf
916a3bced3
fixup bf4619fc
possible OOB
2017-08-30 20:54:03 +03:00
tophf
bf4619fc2e
exponentially speedup getEditorInSight to avoid delaying 'find'
...
related: #178
2017-08-30 20:44:41 +03:00
tophf
c88438c6eb
use tryCatch to simplify 7e5396a1
2017-08-30 18:05:22 +03:00
tophf
3c5d20f862
proper partial match detection and display in showRegExpTester
...
closes #180
2017-08-30 17:50:32 +03:00
tophf
58b1c5be81
fixup 508f71f2: revert to 'function' to use the correct 'this'
2017-08-30 16:32:08 +03:00
tophf
6f0ab8113e
suppress reverting to a blank in auto-import on paste
2017-08-30 10:51:29 +03:00
tophf
edc2ab0ead
auto-open import dialog when pasted text has @-moz-document
2017-08-30 02:26:47 +03:00
tophf
f308d0be6c
increase height of a single code box upon pasting
2017-08-30 02:04:41 +03:00
tophf
22824d9ad5
deepCopy linterConfig to avoid rule normalization by stylelint
2017-08-30 00:05:07 +03:00
tophf
79c6f3e578
csslint: support var() in compound properties
2017-08-29 19:10:42 +03:00
tophf
e4ea7a44af
updateLinter will be called by watchStorage on save
2017-08-29 18:30:39 +03:00
tophf
c7a0759216
don't run CSS linters in the config dialog json
2017-08-29 18:22:08 +03:00
tophf
3d5383ceaf
debounce and subscribe updateLinter
2017-08-29 17:59:53 +03:00
tophf
b91324992d
skip already queued in onDOMscripted
2017-08-29 17:14:57 +03:00
tophf
c15082fed4
editor: preload lint gutters css; update on disabling
2017-08-29 17:12:39 +03:00
tophf
e65e3c9c0b
fixup efc001c0: css_beautify is dodgy
2017-08-29 14:28:59 +03:00
tophf
73dc33d376
fixup f603d9b6: correctly apply 'highlight' selector
2017-08-29 00:12:53 +03:00
tophf
81e6720341
use $element in showLintHelp
2017-08-28 16:33:45 +03:00
tophf
76eb3f7e28
remove deprecated confirm() from onbeforeunload
2017-08-28 15:20:39 +03:00
tophf
efc001c01d
fixup a44b4e78: css_beautify is exposed via exports
2017-08-28 15:20:38 +03:00
tophf
dd6182aef3
lint issues list: show rule name only on hover
2017-08-28 15:20:38 +03:00
tophf
37bff1c5c9
handle null response from API in chromeSync
2017-08-28 15:20:38 +03:00
tophf
5330db11af
FF: ignore lastError in sendMessage where irrelevant
2017-08-28 15:20:38 +03:00
tophf
cd6bcc6511
FF: when not dom.storage.enabled use dummies
2017-08-28 15:20:38 +03:00
tophf
777fc06834
FF: avoid reloading if dysfunctional
2017-08-28 15:20:37 +03:00
tophf
9946f3c781
regroup some of lint* data and code
...
* all lint-related js files are prefixed by lint-
* config-related stuff is grouped in linterConfig
* CM helper is rewritten and moved in /edit now that CSSLint supports these features
* chromeSync methods that apply LZString got LZ in their names
* empty string is used for 'disabled' in linter selector
2017-08-28 15:20:37 +03:00
tophf
dfc3deaf01
csslint: support background-blend-mode
2017-08-28 15:20:37 +03:00
tophf
5c506f5cc9
csslint: support unicode-range
2017-08-28 12:53:10 +03:00
tophf
f80af3721c
csslint: fix hsl/hsla regexp as per spec
...
* hue can be deg, %, rad, grad, turn - deg is default
* all numbers can be fractional
* hsla = hsl
2017-08-28 12:53:10 +03:00
tophf
da565a5fa5
Merge pull request #150 from Mottie/stylelint
...
Include both CSSLint and stylelint
2017-08-28 08:12:10 +03:00
Rob Garrison
fdeffde2c3
Set selected linter during import
2017-08-27 17:20:48 -05:00
Rob Garrison
6c3501bf9a
Use rules or config consistently
2017-08-27 17:20:48 -05:00