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