Commit Graph

259 Commits

Author SHA1 Message Date
tophf
7f5580a661 Editor: press a hotkey in keymap help table to filter it
Add localizable placeholders to inputboxes
2015-05-14 22:44:28 +03:00
tophf
913d13b01a fix CodeMirror.normalizeKeyMap
The bug is reported and will be fixed in the next CM update.
2015-05-13 20:24:20 +03:00
Jason Barnabe
3817246da2 Merge pull request #110 from tophf/csslint-update
CSSLint update
2015-05-13 09:59:02 -05:00
Jason Barnabe
2048d17333 Merge pull request #105 from tophf/editor-fixes
Editor fixes
2015-05-13 09:33:40 -05:00
hideheader
af79e803e8 Remove eval from css-lint
Evaluate string token with `RegExp.exec()` instead of `eval()`.
2015-05-12 01:26:12 +03:00
tophf
f2ab3897c4 CSSLint addon: warn on nonadjacent duplicate properties 2015-05-12 01:26:12 +03:00
tophf
dda1ac7259 CSSLint: parser dev + PR
base: https://github.com/CSSLint/parser-lib/commit/b6a2cbb
PR1: https://github.com/mattiacci/parser-lib/commit/59bbfc5
PR2: https://github.com/mattiacci/parser-lib/commit/52e3ad3
2015-05-12 01:26:08 +03:00
tophf
9979f43b09 Editor: search in 'applies-to' inputs too 2015-05-10 12:40:52 +03:00
tophf
932ffa80fe Editor: use visible code box for 'find' when focused one is offscreen 2015-05-10 12:40:51 +03:00
tophf
532662672f Editor: repaint code boxes on window scroll 2015-05-10 12:40:51 +03:00
tophf
eb9e045308 Editor: Shift-Ctrl-Wheel to scroll entire page 2015-05-10 12:40:51 +03:00
tophf
e707a08a84 Editor: showHelp() as html, add help for hotkeys 2015-05-10 12:40:51 +03:00
tophf
9ae6382469 Editor: remove scroll-hack and hint-hack, not needed with CM5.2.1 2015-05-10 12:40:51 +03:00
tophf
614694cf7e Editor: reroute browser hotkeys to CM using keymaps 2015-05-10 12:40:51 +03:00
tophf
a830d5b3af Editor: use current search state in later added sections 2015-05-10 12:40:49 +03:00
tophf
c6b4c6c738 CSSLint: parser 0.2.5 2015-05-07 02:22:39 +03:00
tophf
62ec9e1c9e Editor: make newly added section visible 2015-05-06 09:13:28 +03:00
Jason Barnabe
b6444c86ec Merge pull request #103 from tophf/editor-theme
Editor: option to select CodeMirror CSS theme
2015-05-05 20:57:08 -05:00
tophf
539be4ce43 Code review & cosmetics 2015-05-05 23:42:38 +03:00
tophf
a0c5674f6f Wait for background page to load on Chrome startup
At startup Chrome lazy-loads extension's background page,
thus occasionally breaking apply.js and Stylish own pages
2015-05-05 21:36:16 +03:00
tophf
bc6476bc52 Editor: option to select CodeMirror CSS theme 2015-05-05 21:14:11 +03:00
Jason Barnabe
38d8903f8d Merge pull request #108 from tophf/codemirror-5.2.1
CodeMirror 5.2.1 update
2015-05-04 14:19:46 -05:00
tophf
d25531977e CodeMirror 5.2.1 update
* keep our custom css-lint.js, no changes in upstream
* use newer show-hint.js - {completeSingle: true} was broken in 5.2.0
* use newer search.js - replace() didn't use previous search query in 5.2.0
2015-05-04 22:06:55 +03:00
Jason Barnabe
2e02b73c77 Merge pull request #94 from tophf/localization-embed
Localization: embed in html, autorun, apply earlier
2015-05-04 12:33:41 -05:00
tophf
9efac32b85 Localize search prompts in editor 2015-05-01 13:33:01 +03:00
tophf
0e6f63951a Localization: embed in html, autorun, apply earlier 2015-05-01 13:33:01 +03:00
Jason
68fa907854 1.3.1 2015-04-22 20:11:55 -05:00
Jason Barnabe
cb9f8ffc27 Merge pull request #104 from tophf/bugfix2
Fix old Chrome error: no 'browser_action' contextMenu type
2015-04-22 14:01:09 -05:00
tophf
30598dbbf0 Fix old Chrome error: no 'browser_action' contextMenu type 2015-04-22 22:01:19 +03:00
Jason Barnabe
05911f39ac Merge pull request #102 from tophf/bugfix
Bugfix for 1.3.0 release
2015-04-22 11:39:01 -05:00
tophf
1156b3f989 Fix 'const in strict mode' error in very old Chrome 2015-04-22 14:30:55 +03:00
tophf
c66ae794bc Fix installation error 'Variable $applies$ used but not defined' 2015-04-22 14:26:41 +03:00
Jason
6fb5c44f67 1.3.0 2015-04-21 11:00:01 -05:00
Jason
cf85e50bd0 Update locales from Transifex 2015-04-17 09:41:33 -05:00
Jason
ac00f48d19 Popup CSS tweaks 2015-04-17 09:33:03 -05:00
Jason
f0e00ec5c6 Switch 'all styles off' style to strikethrough to make them not look disabled 2015-04-08 14:18:12 -05:00
Jason
cf4da22a0a Make style names in popup toggle the styles 2015-04-08 14:14:16 -05:00
Jason
32584911ea Add a bit of spacing after style name in pop-up 2015-04-08 14:10:34 -05:00
Jason
d8e9f61576 Remove extra focus style for CodeMirror 2015-04-08 14:07:59 -05:00
Jason
6c47b78763 Add left gutter to popup for checkboxes 2015-04-08 14:07:30 -05:00
Jason
f8c0c5bf80 Fix dirty when undoing after save 2015-04-08 13:24:26 -05:00
Jason
6abc261f90 Add focus style to CodeMirror 2015-04-08 12:11:22 -05:00
Jason
cf7581a7a8 Standardize editor actions div children 2015-04-08 11:42:39 -05:00
Jason Barnabe
cd14e6d462 Merge pull request #93 from tophf/apply-styles-to-popup
Apply styles to popup on change/disableAll
2015-04-07 12:16:23 -05:00
tophf
5b0d8fbba0 Show a newly installed style in popups 2015-04-07 20:14:14 +03:00
tophf
d4382d3f08 Apply global changes to popups 2015-04-07 20:07:45 +03:00
Jason Barnabe
b31ac3e8b6 Merge pull request #99 from tophf/ignore-port-in-domain
Ignore port number in url domain
2015-04-07 11:02:36 -05:00
Jason Barnabe
65e38a581f Merge pull request #97 from tophf/own-pages-apply-earlier
Apply styles to own pages earlier to avoid flicker
2015-04-07 10:14:08 -05:00
tophf
7c53643b19 Apply styles to own pages earlier to avoid flicker 2015-04-07 18:05:23 +03:00
Jason Barnabe
8200a7c483 Merge pull request #96 from tophf/search-box-select
Editor: when in applies-to, use its code box for search on Ctrl-F, etc.
2015-04-07 09:59:34 -05:00