probablycorey
7002b4e5f6
Factor out common buffer loading code
2013-10-25 15:26:56 -07:00
probablycorey
bb281ce5af
💄
2013-10-25 15:19:20 -07:00
probablycorey
b5b07c1052
Emit modified-status-changed event when using serialized text
2013-10-25 14:40:53 -07:00
probablycorey
c77b44d5ef
Move variable assignment
2013-10-25 14:29:59 -07:00
probablycorey
feed72b68e
Change @loadFromDisk to @useSerializedText
2013-10-25 14:21:39 -07:00
probablycorey
8956881192
Only load serialized content if the disk content's have not changed.
2013-10-25 13:50:16 -07:00
probablycorey
32bc8a6258
Remove initialText option from TextBuffer constructor
2013-10-25 13:50:06 -07:00
probablycorey
450eba0d54
Make content change events use async reads
2013-10-17 10:40:41 -07:00
probablycorey
6e93c37ce1
Rename File::read to File::readSync
2013-10-17 10:38:45 -07:00
probablycorey
d49e419191
Rename updateCachedDiskContents and updateCachedDiskContentsAsync
2013-10-16 14:47:08 -07:00
probablycorey
d33e3e4071
TextBuffers::isModified returns false until it is fully loaded
2013-10-16 14:46:30 -07:00
probablycorey
9a839045e5
Merge remote-tracking branch 'origin/master' into cj-make-packages-async
2013-10-16 10:51:34 -07:00
Kevin Sawicki
216a5e61fd
Update underscore-extensions requires
2013-10-15 13:50:16 -07:00
probablycorey
57d9aa6019
Rename TextBuffer::load to TextBuffer::loadSync
2013-10-15 10:39:50 -07:00
Kevin Sawicki
9fe32954dc
Update classes for emissary API
2013-10-14 17:28:26 -07:00
Kevin Sawicki
e5ac73e0db
Use includeInto instead of _.extend
2013-10-14 17:28:26 -07:00
Kevin Sawicki
0b0c3229d3
EventEmitter is exported as Emitter
2013-10-14 17:28:26 -07:00
Kevin Sawicki
a0486bc9b0
Use emit instead of trigger
2013-10-14 17:28:26 -07:00
Kevin Sawicki
f9a0e038a5
Use emissary for EventEmitter and Subscriber
2013-10-14 17:28:26 -07:00
probablycorey
13232de4b9
Chain promises better
2013-10-07 11:46:03 -07:00
probablycorey
f9250e3dd1
Add File::readAsync
2013-10-07 11:39:41 -07:00
probablycorey
a8c008767f
Add TextBuffer::updateCachedDiskContentsAsync
2013-10-07 09:53:53 -07:00
probablycorey
6cf41eea0a
Add TextBuffer::updateCachedDiskContentsAsync
2013-10-03 17:12:00 -07:00
probablycorey
b468a6f375
Get text buffer loading to work with multi-stage load
2013-10-03 16:58:11 -07:00
probablycorey
6e17755c1a
Remove unused method
2013-10-03 13:38:24 -07:00
probablycorey
ed09e4e33f
Remove unused method
2013-10-03 10:28:12 -07:00
probablycorey
e9fd6f0c32
Reorder text buffer's requires
2013-10-03 10:28:12 -07:00
Kevin Sawicki
b18d638fef
Trigger destroyed event on TextBuffer
...
This is useful for packages that are buffer-oriented and want to
unsubscribe when the buffer is no longer useable.
2013-09-27 13:01:53 -07:00
Ben Ogle
00cdb3e317
Add lineText and lineTextOffset to buffer.scan
2013-09-25 11:03:29 -07:00
Kevin Sawicki
aee8df1909
Use correct path underscore-extensions
2013-09-20 10:02:21 -07:00
Kevin Sawicki
41fc4f7fe6
Use relative require paths in src/ files
2013-09-20 10:02:20 -07:00
Nathan Sobo
91adc01e4e
🐎 Don't get every line to check for soft-tabs
...
Getting all the lines requires SharedString to construct a big array.
It's more efficient to check them one line at a time.
2013-08-30 14:36:45 -06: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
c1c73a822a
Mark classes as private per discussion
2013-08-27 10:17:00 -07:00
Matt Colyer
0e8ec74662
Fix more TomDoc references
2013-08-27 10:16:59 -07:00
Kevin Sawicki
decaa3dfcf
💄 Move extend calls to top of class
2013-08-26 19:09:42 -07:00
Kevin Sawicki
70162d39f7
Unsubscribe from SharedString when buffer is destroyed
2013-08-26 14:45:26 -07:00
Kevin Sawicki
92a80208d3
Update the relative path when the buffer's file moves
2013-08-22 13:59:46 -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