Commit Graph

126 Commits

Author SHA1 Message Date
Jason
a01bdf7b5a chrome.extension.onMessage -> chrome.runtime.onMessage 2016-01-30 18:06:04 -06:00
Jason
d957cd1b3b chrome.extension.sendMessage -> chrome.runtime.sendMessage 2016-01-30 17:08:10 -06:00
Jason Barnabe
8f10fc291e Merge pull request #157 from tophf/sync-settings
Sync prefs
2016-01-30 16:05:07 -06:00
Jason Barnabe
49f9b8a106 Merge pull request #164 from tophf/narrowedit-lintfix
Autohide lint report in narrow mode; show # of issues
2016-01-30 16:00:50 -06:00
tophf
b8bbcd01db Autohide lint report in narrow mode; show # of issues 2016-01-20 21:16:58 +03:00
tophf
3837ef5f62 Editor: focus the minidialog when switching find/replace
Previously, when a search minidialog was displayed and we pressed a hotkey to switch to another kind of minidialog (search -> replace, etc), the focus wasn't correctly preserved
2015-10-29 21:20:05 +03:00
tophf
7ca69e61da Editor: sticky .CodeMirror-active class for code boxes
It is retained when a child search/jump minidialog is focused unlike the built-in .CodeMirror-focused
2015-10-28 01:37:19 +03:00
tophf
d971bbda8a Remove unneeded "Pref" word from prefs methods 2015-10-15 00:34:47 +03:00
tophf
1f961b0993 Deprecate localStorage, refactor prefs 2015-10-15 00:34:46 +03:00
tophf
2925c4af71 Editor: add missing var declaration 2015-09-21 14:59:13 +03:00
tophf
a7deb14931 Editor: don't spam in lint report for current line 2015-09-13 12:59:14 +03:00
tophf
5d52a7ec2e Editor: "findNext" after page load should call "find" 2015-09-01 10:54:56 +03:00
Jason Barnabe
718d2e0f86 Merge pull request #149 from tophf/dim-save-button
Editor: disable "Save" button when content is unmodified
2015-08-30 11:36:17 -05:00
tophf
256177844b Editor: disable "Save" button when content is unmodified 2015-08-30 19:16:41 +03:00
tophf
d2441213ef Don't use css calc with vw as it fails on Chrome 31
* Also makes showCodeMirrorPopup() size stylable
2015-08-28 19:45:15 +03:00
Jason Barnabe
0c30be4544 Merge pull request #132 from tophf/paste-mozilla
Editor: paste from Mozilla format
2015-08-24 17:23:54 -05:00
tophf
5802cc4ae6 refactor/deduplicate "#sections > div" handling 2015-08-24 08:16:23 +03:00
tophf
0ead2ef259 Editor: paste from Mozilla format; export in styled popup 2015-08-24 08:16:22 +03:00
tophf
55c48d62fc Editor: escape html in CSSLint report, limit message length 2015-08-07 17:19:09 +03:00
Jason Barnabe
7f0557df57 Merge pull request #143 from tophf/fixes
Fixes
2015-08-04 22:37:17 -05:00
tophf
78fea74a0e Editor: update CSSLint report ASAP once an issue is fixed 2015-08-03 19:34:47 +03:00
tophf
cb366cf9d7 fixup 1ad9200: don't overwrite the initial lint delay 2015-08-03 18:54:03 +03:00
tophf
ea18ae2c89 Editor: avoid flicker of "Edit style" heading on load 2015-08-03 08:13:01 +03:00
tophf
4f61494e0d Move html templates to html file 2015-08-03 08:13:01 +03:00
tophf
20141b7bfa Editor: add global-replace/replaceAll commands
* Collateral fix: correctly restore openDialog() after Esc
* refactor html templates
2015-08-03 08:12:39 +03:00
tophf
1ad92001c0 Editor: less obtrusive CSSLint reporting in header, wait ~5s
* Keep the old timeout after page init ~500ms
* Immediately show the report in onbeforeunload and save
2015-08-02 18:11:15 +03:00
tophf
e1b8b48980 Editor: only attach hotkey rerouter when leaving codebox 2015-08-02 17:17:20 +03:00
tophf
6d5637e69a Editor: faster page load 2015-08-01 15:13:52 +03:00
tophf
ae8683873a fixes for Chrome 31 2015-08-01 15:11:32 +03:00
tophf
0cb7936fd3 Editor: better Undo in CSS-Beautify 2015-07-04 09:40:07 +03:00
tophf
be8552dcf6 typo 2015-07-04 09:04:04 +03:00
tophf
c3472207bf Editor: add Undo button to CSS-beautifier 2015-07-04 06:39:39 +03:00
tophf
5caab7ab47 Editor: better async adding of sections in initWithStyle 2015-07-04 06:39:39 +03:00
tophf
b5df8802a0 Editor: CSS-beautifier 2015-07-04 06:39:39 +03:00
tophf
1250bb970e Editor: show a list of all CSSLint messages 2015-07-04 06:33:40 +03:00
Jason Barnabe
c61b715e2f Merge pull request #124 from tophf/manage-scroll-save
Manage: remember scroll position, initialize styles earlier
2015-06-19 22:58:29 -05:00
Jason Barnabe
4d768d8740 Merge pull request #128 from tophf/empty-code-section
Editor: show an empty code box for styles with no sections
2015-06-19 21:39:44 -05:00
tophf
8b890e8652 Editor: don't save window size after browser restart
Because if an edit style window was the only window open when closing the browser it'll become the main browser window after restart and is likely to be resized differently.
2015-06-15 18:56:48 +03:00
tophf
67fe43e9a9 Editor: use history back for Back-To-Manage when appropriate 2015-06-10 17:18:13 +03:00
tophf
f48c0da63f Editor: show an empty code box for styles with no sections 2015-06-10 13:03:41 +03:00
tophf
ac88689533 Editor: set OS-dependent default keymap consistently 2015-06-10 12:58:01 +03:00
Jason Barnabe
761b5bd7d9 Merge pull request #123 from tophf/editor-fixes
Editor: fixes
2015-06-09 21:27:54 -05:00
Jason Barnabe
1c6004cbfb Merge pull request #122 from tophf/editor-hl-cmt
Editor: highlight active line, add toggle/line/block comment commands
2015-06-09 21:11:08 -05:00
tophf
3429db0ee1 Editor: correctly determine when to save the window size 2015-06-04 15:22:05 +03:00
tophf
2895ce11e2 Editor: maximize height of code boxes on start when possible 2015-06-04 13:43:04 +03:00
tophf
03c9b04503 Editor: add toggle/line/block comment commands 2015-05-27 21:03:25 +03:00
tophf
0308774fc4 Editor: highlight active line 2015-05-27 21:03:25 +03:00
tophf
39021be48c Editor: add a link to the install source page 2015-05-15 19:49:56 +03:00
Jason Barnabe
28e34f2990 Merge pull request #114 from tophf/respect-user-extrakeys
Respect localStorage::editor.extraKeys user option
2015-05-14 14:47:41 -05:00
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