Kevin Sawicki
5ec6a4a189
Use atom.deserializers directly
2013-11-20 14:18:38 -08:00
Kevin Sawicki
2eeb399cf1
Remove deserializer shims on window
2013-11-20 13:51:12 -08:00
Kevin Sawicki
ca96aa2804
📝 doc what DisplayBuffer::getGrammar returns
2013-11-18 09:30:56 -08:00
Kevin Sawicki
a377a49004
Use atom.config instead of window.config
2013-11-11 09:16:44 -08:00
Kevin Sawicki
d793d114d4
Use atom.site instead of window.site
2013-11-11 08:44:26 -08:00
Kevin Sawicki
287f1984db
Update width in chars when editor's size changes
...
Register an overflowchanged event listener on the editor's scroll view
and update the width in chars when this event fires.
Closes #928
Closes #961
Closes #993
2013-11-04 18:12:17 -08:00
Nathan Sobo
62ccf92a5d
Get core specs passing w/ Telepath v0.14.0. Delete replication specs.
...
Telepath v0.14.0 is a ground-up rewrite of the replication library,
which is principally designed to support moving document fragments
within the overall document. But it's also a lot better in a number of
ways. This commit does the minimal to get things working on the new
telepath. Standard package specs don't pass yet. Also, I deleted the
replication specs since they are extremely convoluted and will be able
to be replaced with much better versions once I complete the changes
enabled by the new Telepath.
2013-10-31 17:08:40 -06:00
Kevin Sawicki
216a5e61fd
Update underscore-extensions requires
2013-10-15 13:50:16 -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
Kevin Sawicki
41fc4f7fe6
Use relative require paths in src/ files
2013-09-20 10:02:20 -07:00
Kevin Sawicki
6baaf404af
🚱 Use subscribe for tokenized buffer event listeners
2013-08-27 13:00:41 -07:00
Matt Colyer
e774b956e0
Fix visibility of classes.
2013-08-27 10:17:00 -07:00
Matt Colyer
0e8ec74662
Fix more TomDoc references
2013-08-27 10:16:59 -07:00
Matt Colyer
61e5e6ea28
Fix delegation references in comments
2013-08-27 10:16:58 -07:00
Kevin Sawicki
419be22b7b
Use Subscriber::subscribe for telepath change listeners
2013-08-26 13:04:13 -07:00
Kevin Sawicki
eaf80a0194
Rename softWrapColumn to editorWidthInChars
2013-08-23 18:09:17 -07:00
Kevin Sawicki
c2b3c2e3aa
Rename callbackImmediately option to callNow
2013-08-23 18:09:17 -07:00
Kevin Sawicki
51192bb3e9
Remove config listeners when DisplayBuffer is destroyed
2013-08-23 18:09:17 -07:00
Kevin Sawicki
32396a2a8b
Update soft wrapped lines when config changes
...
DisplayBuffer now observes for config changes to the preferred line length
and the preference to soft wrap at the preferred line length to update
any wrapped screen lines.
2013-08-23 18:09:16 -07:00
Kevin Sawicki
a45b93614e
Add editor.softWrapAtPreferredLineLength config setting
...
This is used by the DisplayBuffer to use `editor.preferredLineLength`
as the soft wrap column instead of the editor size.
2013-08-23 18:09:16 -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
cbd4fab8f2
Emit event from display buffer when soft wrap changes
...
This allows the editor to be reactive to the edit session
and always respect the edit session's current value when
initially opened.
2013-08-23 18:09:16 -07:00
Kevin Sawicki
da1e5f5c10
Always update the soft wrap column when the window resizes
...
This allows the edit session and display buffer to always be
notified of soft wrap column changes regardless of their initial
soft wrap state.
2013-08-23 18:09:16 -07:00
Kevin Sawicki
c33f7cde2a
Move soft wrap state from EditSession to DisplayBuffer
2013-08-23 18:09:16 -07:00
Kevin Sawicki
a39e136c43
💄
2013-08-23 18:09:16 -07:00
Corey Johnson & Nathan Sobo
7173467b1a
🐎 Upgrade telepath to improve fold performance
...
This addresses #734 . It improves performance from ~10s to ~1.5s when
running a foldAll on edit-session-spec. This still needs to get better.
2013-08-21 15:22:25 -06:00
Corey Johnson & Nathan Sobo
03712392c9
Write DisplayBuffer::findMarkers in terms of TextBuffer::findMarkers
2013-08-21 15:22:25 -06: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