Nathan Sobo
a7d1a29748
Use config.get/set methods. config.update now takes no args.
2012-12-17 18:52:20 -07:00
Corey Johnson & Nathan Sobo
8a675fd538
Use config.update w/ a key path everywhere we update the config
2012-12-14 15:21:36 -08:00
Nathan Sobo
c9b7618ea0
Move custom invisible glyph spec to editor spec
2012-12-12 15:55:12 -08:00
Nathan Sobo
3c2b84a46d
Add config.editor.fontSize
2012-12-12 15:23:36 -08:00
Corey Johnson
5bdfc49f3f
Window's title matches TextMate pattern of "#{basename} – #{project.path}"
2012-11-15 17:08:37 -08:00
Corey Johnson
7f999f4a96
Store the RootView's title as a member var instead of on document.title.
...
Now the window title is mocked to remain static when the spec suite is run.
2012-11-15 15:55:37 -08:00
Corey Johnson
b85a95eaa1
Make leading spaces atomic (length based on tabLength)
2012-11-06 09:03:54 -08:00
Kevin Sawicki
910ca47a61
Allow setting of invisibles on editor
2012-11-02 17:51:22 -07:00
Kevin Sawicki
6d7fac2bf8
💄
2012-11-02 17:51:22 -07:00
Will Farrington
8dbeb9f3d2
first spike at customizable invisibles characters
2012-11-02 17:51:16 -07:00
Corey Johnson & Nathan Sobo
9303aaa8fd
Rename root-view: event prefix to window:
2012-10-19 12:51:36 -06:00
Corey Johnson & Nathan Sobo
93cbe2bb22
Create root-view:toggle-invisibles event
2012-10-18 14:44:21 -07:00
Nathan Sobo
eae7fcdd97
Fix breaking due to "root-view:" prefixed events
2012-10-05 10:07:37 -10:00
Kevin Sawicki
6412cde7a8
Support guide column callback function
...
This allows a config function to be registered
in the atom.coffee file to support different wrap
guide columns depending on the type of file being
viewed.
2012-09-29 11:44:05 -07:00
Nathan Sobo
1d9cc53e7f
RootView focuses the *first* focusable child.
...
This prevents an issue where the fuzzy finder's mini-editor would get focused again when the fuzzy finder was being hidden.
2012-09-25 17:38:48 -06:00
Corey Johnson & Nathan Sobo
685cbc3575
When focused, RootView retains focus itself if it has no focusable children
2012-09-25 15:11:07 -06:00
Corey Johnson
d13796074b
RootView passes focus to a child element with a tabindex of -1 (if one exists)
2012-09-25 13:22:06 -07:00
Kevin Sawicki
8393af2cd6
Serialize root view font size
2012-09-20 09:31:04 -07:00
Kevin Sawicki
54180462f6
Match describe to method name
2012-09-19 17:08:17 -07:00
Kevin Sawicki
f7670dc1a0
Add support for save all via meta-S
2012-09-19 17:03:50 -07:00
Corey Johnson & Nathan Sobo
44db540528
All specs pass
2012-08-30 17:12:52 -06:00
Corey Johnson & Nathan Sobo
12b06ddf0c
Get spec suite running (lots of failures)
2012-08-27 17:36:36 -05:00
Nathan Sobo
c2c8724ad0
Initial commit
2012-08-10 13:32:19 -06:00
Nathan Sobo
252a1a4d5f
💄
2012-07-26 10:29:42 -06:00
Corey Johnson
470e8a6191
Add rootView.deactivateExtension
2012-07-25 15:45:21 -07:00
Corey Johnson & Nathan Sobo
d36873f702
Rename Project.open to Project.buildEditSessionForPath
2012-07-18 11:20:13 -07:00
Nathan Sobo
4b147c04e5
RootView.proto.open returns the opened edit session
2012-07-17 14:44:04 -06:00
Corey Johnson & Nathan Sobo
c3fe9aa0b3
Implement refcounting scheme on Buffer
2012-07-17 14:24:33 -06:00
Nathan Sobo
b254fa39d9
💄 Replace editor.getBuffer().getText() w/ editor.getText()
2012-07-04 12:41:51 -06:00
Nathan Sobo
6d7a6f9a92
💄 Replace editor.getBuffer().getPath() w/ editor.getPath()
2012-07-04 12:40:17 -06:00
Nathan Sobo
c90c2e80d6
Replace @buffer reference on Editor with @getBuffer method
2012-07-04 12:34:44 -06:00
Nathan Sobo
9cae4d3d8f
Rename RootView.editors -> getEditors
2012-07-02 19:47:38 -06:00
Nathan Sobo
bd5c1f8694
Rename RootView.activeEditor -> getActiveEditor
2012-07-02 19:46:33 -06:00
Nathan Sobo
a38042f89f
Rename Editor.removeActiveEditSession -> destroyActiveEditSession
2012-07-02 19:44:24 -06:00
Corey Johnson
801a91ec9b
Specs cleanup buffers
2012-06-29 15:38:12 -07:00
Corey Johnson
c3d7d3566f
Buffer listens for changes to file and triggers 'contents-change' event
2012-06-29 15:09:31 -07:00
Nathan Sobo
6c60993f5c
Fuzzy buffer finder switches to the editor that has the selected buffer if it isn't open on the current active editor
2012-06-29 09:59:37 -06:00
Nathan Sobo
22515e7ba0
RootView.open takes an 'allowActiveEditorChange' option
...
When the 'allowActiveEditorChange' option is true, RootView will try to activate an existing edit session for the given path on *any* editor, and switch focus there. This will be used by the fuzzy-finder for the meta-b option, which should open the chosen buffer on the editor that contains it, even if it isn't currently active.
2012-06-29 09:48:16 -06:00
Corey Johnson & Nathan Sobo
4e78b29e81
Replace Editor.setBuffer with Editor.edit
2012-06-20 09:28:23 -07:00
Nathan Sobo
c21766c328
Add RootView.proto.focusNextPane
2012-06-18 20:27:39 -06:00
Corey Johnson & Nathan Sobo
c02e5bbdbf
Do not allow root view to set a font-size less than 1
2012-06-15 17:30:10 -07:00
Corey Johnson & Nathan Sobo
940b7b0e7a
RootView.proto.activateExtension requires extensions to have names
2012-06-14 11:20:36 -06:00
Corey Johnson & Nathan Sobo
810b9849ee
RootView serialize absorbs exceptions when serializing extensions
2012-06-14 11:20:16 -06:00
Corey Johnson
893564945e
Add rootView.activeKeybindings().
...
This will return all active keybindings available for the focused element.
2012-05-29 15:46:38 -07:00
Corey Johnson
399fc71b3c
Make Atom SpacePen view's default to empty object (where needed)
2012-05-16 10:35:50 -07:00
Nathan Sobo
5b7ea95a11
Meta+ and meta- change the editor font size
2012-05-09 10:57:25 -06:00
Corey Johnson
cb45675f14
Remove @path var from project
2012-05-08 13:02:14 -07:00
Nathan Sobo
9215d7f083
Remove console.log from root view spec
2012-05-08 13:16:24 -06:00
Nathan Sobo
648649d472
Merge branch 'master' of github.com:github/atom
...
Conflicts:
spec/app/root-view-spec.coffee
src/app/root-view.coffee
2012-05-07 19:38:01 -06:00
Nathan Sobo
31163f1d8c
Convert FileFinder to a proper extension and remove references from RootView code
2012-05-07 19:30:07 -06:00