Kevin Sawicki
aaea8bdb31
Trigger buffer-created from Project::addBufferAtIndex
...
This ensures that any listeners for this event will be notified when
a buffer is add via deserialization from a telepath document.
2013-09-02 11:46:32 -07:00
Kevin Sawicki
63a3d9de94
Pass project to Git.open in the options hash
...
Previously the project global was unavailable in the Git constructor
since it had not been set as a global yet and so the Git instance was never
configured to watch the project's buffers for save/reload events. This caused
the status to be out of sync in places like the gutter and status bar.
2013-09-02 11:34:20 -07:00
Kevin Sawicki
989fffba6a
🚱 Destroy repo in Project::setPath
...
Previously if the new path was non-null then the current repo would be
leaked and never destroyed
2013-08-29 18:08:01 -07:00
Kevin Sawicki
8307ae8938
💄 correct lint indentation problem
2013-08-28 20:32:35 -07:00
Kevin Sawicki & Nathan Sobo
2bd4386090
Destroy unretained buffers when serializing project
...
Previously buffers could linger indefinitely if an error occurred
during startup between the deserialization of the project and the
original retaining edit session.
2013-08-28 18:37:40 -07:00
Matt Colyer
631995996b
Reformat comments for project.coffee
2013-08-27 10:17:01 -07:00
Matt Colyer
61e5e6ea28
Fix delegation references in comments
2013-08-27 10:16:58 -07:00
Kevin Sawicki
decaa3dfcf
💄 Move extend calls to top of class
2013-08-26 19:09:42 -07:00
Kevin Sawicki
8f193e4fb5
Remove default edit session options from Project
...
Instead read the config values directly where they are actually
used such as in EditSession, TokenizedBuffer, and DisplayBuffer.
2013-08-23 18:09:16 -07:00
Kevin Sawicki
a0db412140
Use editor.softTabs config value when creating edit sessions
...
This replaces the internal softWrap state and removes the previous
getter and setter for this value that was on Project.
2013-08-21 18:12:26 -07:00
Kevin Sawicki
2f4a57e5e4
Remove get/setSoftWrap from Project
...
The config should now be the place that soft wrap settings is interacted
with.
2013-08-21 18:08:59 -07:00
Kevin Sawicki
147e75ad95
Use editor.softWrap config value when creating edit sessions
...
Closes #666
2013-08-21 17:17:06 -07:00
Kevin Sawicki
2f4db45320
Use editor.tabLength config value when creating edit sessions
...
Closes #708
2013-08-21 17:12:04 -07:00
Kevin Sawicki
76332c76bd
Flatten src directory
...
* Move src/app to src/
* Move src/stdlib to src/
* Remove src/app and src/stdlib from NODE_PATH
2013-08-19 20:13:57 -07:00
Chris Wanstrath
9af38c8c53
plugins/ (not working yet)
2011-08-27 15:13:12 -07:00
Chris Wanstrath
409a77c485
gigantic ass reorg. let me know if this breaks.
2011-08-27 03:55:56 -07:00