tophf
d6c595d94e
detect double-clicked token boundaries better
2017-12-22 16:55:56 +03:00
tophf
068f23b029
fixup: include -+, exclude whitespace at line start
2017-12-22 16:29:52 +03:00
tophf
bf6b4eda83
select entire CSS token on double click
...
* .class-name
* property-name
* #some-id
* #123
* -webkit-any
* !important
* 12.5
2017-12-22 16:23:20 +03:00
tophf
d0380f76c3
rewrite colorview to use CodeMirror::TextMarker
...
* solves all problems with glitching on selection etc.
* perceived performance is same due to lazy-processing
* colors unsupported in current browser are displayed internally as RGB
* the color text is highlighted in the editor when popup is invoked
2017-12-22 11:22:35 +03:00
tophf
2dfaa22c35
Ctrl-Pause defocuses/focuses the editor
2017-12-22 11:22:02 +03:00
tophf
7d8507743d
add the missing CSS colors to codemirror parser
2017-12-20 00:42:51 +03:00
tophf
e50ff316ba
toggle narrow width mode tooltips via html+css; code cosmetics
2017-12-19 02:48:47 +03:00
tophf
1348eeb4e3
code cosmetics
2017-12-18 16:48:33 +03:00
tophf
4ecb6e7bc2
optimistically show 1 in tally only for a code match
2017-12-18 11:28:11 +03:00
tophf
31fd551264
trivial speed-ups for the single editor case
2017-12-18 10:27:50 +03:00
tophf
d10e83d15c
editor: rewrite global search/replace
2017-12-18 10:27:50 +03:00
tophf
fd047f8323
move getRealColors to colorpicker and reuse it
2017-12-18 10:27:50 +03:00
tophf
97e486e139
code cosmetics: silence a warning in edit.css
2017-12-18 10:27:50 +03:00
tophf
db2c4cd6fc
use standard font size in keymap info dialog
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
70d935d1a0
Ctrl-R to invoke replace in pcDefault/sublime keymaps
2017-12-18 10:27:50 +03:00
tophf
b78110aa1c
.CodeMirror-dialog: shorten yellow highlight bright phase
2017-12-18 10:27:50 +03:00
tophf
be20b5a8b4
match-highlighter: always use originalToken
2017-12-18 10:27:50 +03:00
tophf
8119dd4f62
match-highlighter: skip exact tokens highlighted by search
2017-12-18 10:27:50 +03:00
tophf
001db9a19f
make editor fully clean on saving
2017-12-18 10:27:50 +03:00
tophf
9e11435923
make editor permanently dirty when a section is deleted
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
6ee952f3d3
more things made focusable
...
* mozilla-format (i) icon
* showHelp() restores original focus
* showHelp's nested confirmation is debounced to enable focusing Yes/No
* RegExp tester tab URLs are focusable now
2017-12-13 07:38:36 +03:00
narcolepticinsomniac
a6c10fe49d
Adjust margins
...
Removed some redundant fixes. Remaining tweaks were mostly info icons. I also applied a hacky margin for checkbox/label options and `.aligned` select options on edit page. They were too close IMO.
2017-12-12 22:09:51 -05:00
tophf
fefe82fd54
remove what-input, use own implementation, rebase on master
2017-12-13 03:27:10 +03:00
Rob Garrison
2cdd264780
fixups
...
Manage: Disable tabindex in nested buttons
Manage: Fix homepage link alignment
Manage: Make entry actions keyboard navigatable
Manage: Add search help accessibility
Msgbox: Save and restore focus
Manage: Fix delete confirmation cancel
Manage: Make history button accessible
Manage: Make favicons dropdown accessible
Manage: Prevent focus on hidden textarea
Msgbox: Stop tabbing outside of msgbox
Usercss: Make nondefault reset accessible
Usercss: Make colorpicker accessible
Edit: Disable tabindex in nested buttons
Edit: Make info and config icons accessible
Options: Cleanup HTML
Options: Make advanced toggle accessible
Edit: Fix issues popup
Edit: Remove link underlines from icons
2017-12-12 21:40:31 +03:00
narcolepticinsomniac
e2842f69c3
Hide focus outlines without crippling a11y, plus active state change for buttons
2017-12-12 21:39:55 +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
60a5fb96be
don't steal focus from the find input on page open
2017-12-11 08:32:11 +03:00
tophf
8679e55206
unregister listeners on closing showCodeMirrorPopup
2017-12-10 11:24:52 +03:00
tophf
db8c3585dd
off-by-one in showKeyMapHelp: text after <mark> was lost
2017-12-09 20:43:47 +03:00
tophf
f11235aaf9
Revert 1e1ff736
"simplify theme preloader"
2017-12-09 19:05:44 +03:00
tophf
443e3a3c7c
second lockPageUI runs after there's no codebox anymore
2017-12-09 19:05:00 +03:00
tophf
ab98d46baa
show import errors in messageBox
2017-12-09 19:04:19 +03:00
tophf
5f1f9c4d86
unregister CM on closing showCodeMirrorPopup
2017-12-09 18:23:18 +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
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