Commit Graph

29 Commits

Author SHA1 Message Date
Kevin Sawicki
cf357376b3 Only add wrap guide to pane-based editors 2013-04-03 17:30:24 -07:00
Nathan Sobo
58ef6c6582 Use atom.activatePackage directly in specs 2013-03-26 17:35:42 -06:00
Justin Palmer
e1a9362448 wrap-guide.css -> wrap-guide.less 2013-03-11 10:02:18 -07:00
Kevin Sawicki
ff899e9c1b Replace RootView.getActiveEditor() with getActiveView() 2013-03-07 09:30:23 -08:00
probablycorey
17fc679b25 Trigger resize event on editor before wrap guide specs 2013-03-05 09:43:38 -08:00
probablycorey
30d4cb81b8 Use Courier as the default font for specs
Fixes #323
2013-03-04 16:40:02 -08:00
Corey Johnson & Nathan Sobo
9e8831f710 RootView.initialize no longer assigns window.rootView or calls open 2013-02-19 18:26:50 -07:00
Kevin Sawicki
b8b989a94c Use editor.preferredLineLength as default column
This config value will be used when no custom column
exists for the current path.
2013-02-14 09:14:05 -08:00
Corey Johnson
958bc2bfab Moved atom.loadPackage to a spec-only helper function 2013-02-13 16:37:59 -08:00
Kevin Sawicki
67feebc64b Use skinny arrow for rootView.eachEditor callback 2013-02-12 20:59:20 -08:00
Kevin Sawicki
2268402b48 Use skinny arrow for WrapGuide.initialize() 2013-02-12 20:58:34 -08:00
Kevin Sawicki
e61d3bfb5b Use underlayer property on editor
Removes unneeded call to find
2013-02-12 20:55:53 -08:00
Kevin Sawicki
a2b50c9cf7 Remove unused require 2013-02-12 20:54:35 -08:00
Kevin Sawicki
d352b5ecc7 Set left as number without px suffix 2013-02-12 20:50:56 -08:00
Kevin Sawicki
c72c6aebbd Find underlayer in editor instead of pane 2013-02-12 20:47:58 -08:00
Kevin Sawicki
e8c4ab619c Remove unneeded rootView variable 2013-02-11 10:21:08 -08:00
Corey Johnson & Kevin Sawicki
99fb8e2b3b Modernize wrap-guide package to use package.cson 2013-02-08 17:28:05 -08:00
Kevin Sawicki
ca596db310 Extend AtomPackage directly in packages index.coffee 2013-01-22 18:26:48 -08:00
Kevin Sawicki
36e0ad6dc8 Move core wrap guide styles back into package 2013-01-22 18:24:06 -08:00
Jon Rohan
20e5b303a7 refactoring all the stylesheets into /Atom - Dark/
Conflicts:
	.atom/themes/Atom - Dark/vim-mode.css
2013-01-17 22:11:45 -08:00
Kevin Sawicki
6b0f7bca44 Rename variable to pattern to shadow config key path 2013-01-15 08:38:58 -08:00
Kevin Sawicki
8c6a157ce3 Remove unused variable 2013-01-15 08:36:39 -08:00
Kevin Sawicki
b5a0b76707 Use RootView.eachEditor from WrapGuide package 2013-01-11 16:46:57 -08:00
Kevin Sawicki & Nathan Sobo
8098ee69f3 Rename Editor attach and remove events in accordance w/ new scheme
'editor-open' -> 'editor:attached'
'before-remove' -> 'editor:will-be-removed'
2013-01-04 11:25:45 -07:00
Kevin Sawicki & Nathan Sobo
0589012e86 Rename 'editor-path-change' to 'editor:path-changed' 2013-01-04 11:25:45 -07:00
Kevin Sawicki
7f0030ef4f Move package CSS files to stylesheets directory 2013-01-02 16:55:55 -08:00
Kevin Sawicki
0aa8a65903 Support using custom guide columns via config 2012-12-28 08:45:07 -08:00
Kevin Sawicki
a9b9c09a86 Only show wrap guide when enough space
Previously the wrap guide would cause the
editor to scroll if the editor was narrower
than the wrap guide column without taking into
account whether any lines actually reach the guide.

Now the wrap guide only displays when either the wrap
guide column is less than the minimum width of the
editor layer or if the wrap guide column is less than
the entire width of the editor.
2012-12-26 12:48:49 -08:00
Nathan Sobo
4ce8583cb2 Rename extensions to packages
We now look at the `core.disabledPackages` config key. Rename the `src/extensions` directory to `src/packages`. The config object now talks about loading packages instead of extensions.
2012-12-18 20:03:21 -07:00