Commit Graph

21 Commits

Author SHA1 Message Date
tophf
539be4ce43 Code review & cosmetics 2015-05-05 23:42:38 +03:00
tophf
bc6476bc52 Editor: option to select CodeMirror CSS theme 2015-05-05 21:14:11 +03:00
tophf
9efac32b85 Localize search prompts in editor 2015-05-01 13:33:01 +03:00
tophf
bd9a91951f Add 2 global behavior toggles to the toolbar button context menu 2015-03-26 21:16:03 +03:00
Jason Barnabe
94b586a243 Merge pull request #87 from tophf/disable-all-styles-fix
Disable all styles fix
2015-03-25 09:33:42 -05:00
tophf
f90c8bc6c7 Localization: remove the unused 'styleNameLabel' 2015-03-25 07:05:36 +03:00
hideheader
f45a6506be Add 'Disable all styles' to popup 2015-03-24 20:21:19 +03:00
tophf
3dd8eb1fc6 Manager: "Apply all updates" button 2015-03-20 17:29:48 +03:00
Jason Barnabe
8811e9d441 Merge pull request #67 from hideheader/menu-item-order
[option] List actions before styles in the popup
2015-03-15 12:40:54 -05:00
hideheader
284d4b8ec8 Add editor options
(1) Add UI controls for `keyMap`, `tabSize`, `indentWithTabs`, and
`lineWrapping`; `indentUnit` tracks `tabSize`.
(2) Dispatch `change` events from `loadPrefs` to initialize CM options
from the controls' event listener.
(3) Move stock options from the `CM.fromTextArea` call into `CM.defaults`.
Add `CM.setOption` method, analogous to the instance method, which updates
`CM.defaults` and sets the option in all instances; add `CM.getOption`
which simply returns `CM.defaults[option]`.
(4) Move the new editor functions into `CM.commands` and replace the
functions with commands.
2015-03-15 12:40:38 -04:00
hideheader
222f970d23 [option] List actions before styles in the popup
Styles are listed before actions by default. Actions are listed before
styles if `popup.stylesFirst` is false. A control for the option is shown
in "Manage" if `popup.stylesFirstUI` is true.
2015-03-14 21:35:45 -04:00
hideheader
a0482d3f0b Listing filters for 'Manage'
Two independent filters. One allows only styles that are enabled, the
other allows only styles that were written locally (that is, styles
without an update URL).
2015-03-14 13:33:36 -04:00
9adefaf01e5bf6426d838cd20eae582d2b6ba647
20123760ac Edit style: use 'sublime' keymap, add custom keys
F3, Shift-F3, Ctrl-H - find/find previous/replace
Ctrl-G: go to line dialog
Alt-PgDn: next code section
Alt-PgUp: previous code section
...and many more.
2015-03-05 09:59:11 +03:00
Jason Barnabe
d879b5e0c4 Add option for smart indentation in editor 2015-02-08 22:02:08 -06:00
Jason Barnabe
0756f2d2b8 Add write new style options to toolbar pop-up #14 2015-01-30 11:28:05 -06:00
Jason Barnabe
28057bd67f Truncate extension description at 132 chars per new Chrome Web Store requirement 2014-02-19 20:38:09 -06:00
Jason Barnabe
ecc3bf18a9 issue #4 Add option to hide number of enabled styles in active tab from toolbar icon 2014-02-07 20:04:06 -06:00
Jason Barnabe
2064f56796 issue 102 Do something reasonable if the Stylish DB can't be read 2013-06-25 23:25:04 -05:00
Jason Barnabe
cfa80ee785 issue 87 add update confirmation text 2013-05-08 22:39:23 -05:00
Jason Barnabe
5623fef058 issue 57 Bad regexp prevents some other styles from applying 2012-11-02 22:25:04 -05:00
Jason Barnabe
b019038f57 initial commit 2012-04-15 20:56:12 -05:00