Commit Graph

3074 Commits

Author SHA1 Message Date
tophf
99a956c383 Avoid flicker when updating applied styles 2015-08-03 08:25:59 +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
2e7c35e8f0 Editor: highlight CodeMirror mini-dialogs entirely 2015-08-03 08:12:39 +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
Jason Barnabe
b4eaac4ef9 Merge pull request #139 from tophf/codemirror-5.5.0
Codemirror 5.5.0
2015-08-02 21:46:58 -05:00
Jason Barnabe
2319c5c4ac Merge pull request #136 from tophf/fix-same-openerTabId
Fixes
2015-08-02 21:40:54 -05: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
bbddba9532 Isolate try-catch in background script 2015-08-01 15:13:52 +03:00
tophf
ae8683873a fixes for Chrome 31 2015-08-01 15:11:32 +03:00
tophf
36ceda276a CodeMirror.fromTextArea() speedup 2015-07-30 02:40:39 +03:00
tophf
41a3415c79 CodeMirror lint addon init speedup 2015-07-30 02:40:39 +03:00
tophf
4d72102fd9 CodeMirror 5.5.0 2015-07-30 02:40:39 +03:00
tophf
a3401b0572 Simplify getActiveTabRealURL: main frame is always 0 2015-07-26 05:24:46 +03:00
tophf
7d25709a7d Don't wrongly style tabs with identical openerTabId 2015-07-26 05:24:46 +03:00
Jason Barnabe
ff0e07d150 Merge pull request #129 from tophf/editor-fixes
Editor fixes
2015-07-06 21:16:36 -05: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
Jason Barnabe
b727e9128f Merge pull request #119 from tophf/beautifier
Editor: CSS-beautifier
2015-07-03 22:45:45 -05:00
tophf
7fdc69fac6 Editor: enlarge click region of close button in help popup 2015-07-04 06:39:39 +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
fa6b0f4477 prefs: handle object type 2015-07-04 06:39:39 +03:00
tophf
b5df8802a0 Editor: CSS-beautifier 2015-07-04 06:39:39 +03:00
tophf
0ebb464e5d Add more options to beautify-css.js 2015-07-04 06:38:37 +03:00
tophf
901000101a Add beautify-css.js 2015-07-04 06:38:37 +03:00
Jason Barnabe
997a0d432c Merge pull request #118 from tophf/lint-msg-block
Editor: show a list of all CSSLint messages
2015-07-03 22:37:32 -05: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
Jason Barnabe
f97989877f Merge pull request #127 from tophf/keymap-default-fix
Editor: set OS-dependent default keymap consistently
2015-06-19 21:39:27 -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
tophf
9cfa214d19 Manage: remember scroll position, initialize styles earlier 2015-06-10 12:20:37 +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
Jason Barnabe
290f0635d8 Merge pull request #121 from tophf/editor-autosize
Editor: maximize height of code boxes when possible
2015-06-09 21:01: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
Jason Barnabe
a19190b033 Merge pull request #115 from tophf/icon-no-styles
Dim toolbar icon on unstyled tabs
2015-05-21 10:45:40 -05:00
tophf
126ec0e11d Use transparent badge color when not in disableAll state
Works because Chrome *overlays* user-specified badge color onto its own default color.
2015-05-21 18:39:39 +03:00
tophf
c60a21cf12 New Tab Page: fixup for icon, badge, popup style list 2015-05-21 17:45:06 +03:00
tophf
f765934316 Dim toolbar icon on unstyled tabs, regenerate icons 2015-05-21 17:38:02 +03:00
Jason Barnabe
a7cb548f92 Merge pull request #107 from tophf/iframe-observer-speedup
Make iframe observer 10-100 times faster
2015-05-21 09:25:55 -05:00