narcolepticinsomniac
ce47e69b8a
Custom UI elements ( #291 )
2017-12-08 06:18:47 +03:00
tophf
99cce55a8e
ensure long words break before breaking the layout
...
supersedes 40075a0d
2017-12-07 23:21:27 +03:00
tophf
6a838e9d5e
make sure all pre-create hooks finished
2017-12-07 20:26:41 +03:00
tophf
7a07ee9fd9
unbreak narrow editor layout
2017-12-07 05:31:42 +03:00
tophf
9c8e835a80
relay scrolling over #header to usercss code section
2017-12-07 04:36:46 +03:00
tophf
d4ffa04bb6
raise applies-to widget above .CodeMirror-activeline
2017-12-07 04:00:26 +03:00
tophf
ebef35c28c
drop linter name from "see all rules" and make it a link
2017-12-07 01:21:05 +03:00
tophf
d998fb235a
center editor config icons
2017-12-07 01:20:04 +03:00
tophf
8f9705c165
recognize USO vars ending with -rgb
2017-12-06 06:34:02 +03:00
tophf
44ce51e54f
dim regexp-tester note and avoid extending the report width
2017-12-05 22:12:04 +03:00
tophf
61003b378c
usercss editor: show all section regexps in tester
2017-12-05 21:52:24 +03:00
tophf
963930ea1d
usercss editor: restore "Add" and "Regexp test", convert \ in regexps
2017-12-05 21:32:28 +03:00
tophf
bd0f460c56
usercss editor: use real theme color for inputs in widgets
2017-12-05 21:01:32 +03:00
tophf
edfca7bfed
match-highlighter-helper: do nothing when disabled
2017-12-05 07:40:28 +03:00
tophf
3e34c77625
clear previous token/selection highlight from scrollbar
2017-12-05 05:40:33 +03:00
tophf
8e992299c6
clear previous search highlight from scrollbar in all sections
2017-12-05 05:40:27 +03:00
tophf
cb7f1de348
use hyphens when breaking words (works only in FF though)
2017-12-05 05:02:28 +03:00
tophf
40075a0d39
forcefully break long labels in aligned options
2017-12-05 04:39:29 +03:00
tophf
1e1ff73612
simplify theme preloader
2017-12-05 04:39:29 +03:00
tophf
a6f63d096e
extract checkboxes to global.css, fixes
2017-12-05 04:39:29 +03:00
narcolepticinsomniac
7339643ec3
Custom checkbox and select elements
2017-12-05 04:39:29 +03:00
tophf
3e9810678a
fixup 0e61de29: use break/continue instead of return
...
fixes #282
2017-12-04 20:13:56 +03:00
tophf
01e8c3b080
disable spellchecking in input fields
2017-12-04 09:00:14 +03:00
tophf
48dda41e2e
fixup 99512da9
and 493c1a65: show csslint rule info in issues info box
2017-12-04 08:57:12 +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
e905e4e079
properly escape/unescape regexp in applies-to widgets
2017-12-03 22:51:03 +03:00
tophf
489546e35c
use just one event listener per applies-to widget in usercss editor
2017-12-03 21:21:51 +03:00
tophf
f4677a7b7b
actually use the name when saving
2017-12-03 20:32:50 +03:00
tophf
9314fa0e8a
fixup 0e61de29: register the listener before setupLivePrefs()
2017-12-03 04:18:58 +03:00
tophf
8622dffe1e
usercss: make nextPrevMozDocument work with minified CSS
2017-12-03 04:05:35 +03:00
tophf
43fc26619d
editor: raise highlight limit from 10k to 100k chars in one line
2017-12-03 02:02:22 +03:00
tophf
a5c3c2e895
editor: use 'editor.lineWrapping' option on opening
2017-12-03 01:52:46 +03:00
tophf
904e6017f2
close showHelp() if input element has can-close-on-esc class
2017-12-03 00:22:03 +03:00
tophf
a5f31162f6
de-htmlize showKeymapHelp
2017-12-03 00:20:42 +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
tophf
0de69e306d
code refactor: add $.remove() and $$.remove()
2017-12-02 19:54:54 +03:00
tophf
0ba3cfb725
FF: fix transition-bug-suppressor condition
2017-12-02 19:38:03 +03:00
tophf
e32fecd1e3
usercss: tint the active line's @mozdoc widget
2017-12-02 18:53:37 +03:00
tophf
fbd7526092
usercss: Alt-PgUp/PgDn go to prev/next @-moz-document
2017-12-02 18:29:12 +03:00
tophf
d263bc8e55
disallow more nav keys in colorpicker hotkey config dialog
2017-12-02 17:15:55 +03:00
tophf
5bdaacc049
stabilize token highlighting for the match/search mode
2017-12-01 21:16:19 +03:00
tophf
2760b0764b
fixup b41cc8bc: only rewrite query if regexp
2017-12-01 16:22:43 +03:00
tophf
bf8d33a3f4
followup for a60d53de: move #footer down when #lint is collapsed
2017-12-01 06:17:24 +03:00
tophf
b41cc8bca3
4x speed-up of showMatchesOnScrollbar
...
at the cost of a marginally reduced accuracy when line wrapping is enabled, but the difference shouldn't be more than a few pixels, presumably
2017-12-01 05:14:52 +03:00
tophf
a6fbc9db11
render lint squigglies 4x faster
...
* turns out codemirror lint addon doesn't open an overall op,
instead it creates an op for each marker.
* also, now there's no need to disable the lint option when initializing codemirror
2017-12-01 03:49:09 +03:00
tophf
71f3dfbffd
usercss: don't relint on save; mode is an object once initialized
2017-11-30 20:42:52 +03:00
tophf
a60d53de29
edit: workaround for <details> not showing the toggle
2017-11-29 19:27:31 +03:00
tophf
189342472e
manage: collapsible #options block
2017-11-29 19:27:31 +03:00
tophf
fc0b1dc739
fixup 493c1a65: missed some null checks and a return
2017-11-29 17:59:00 +03:00
tophf
be633bf903
usercss: update URL and sessionStorage on replacing the style
2017-11-29 13:35:27 +03:00