Kevin Sawicki
1808e5f991
Initial 🔪 at extending telepath.Model in Project/TextBuffer
2013-11-15 11:17:32 -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
f356190b42
Use atom.pasteboard instead of window.pasteboard
2013-11-11 08:43:14 -08:00
Kevin Sawicki
6b63f5db9e
Always mark cursor needing autoscroll
2013-11-07 09:04:41 -08:00
Kevin Sawicki
291f4fbb90
Mark last cursor for autoscroll on undo/redo
2013-11-07 09:04:41 -08:00
Kevin Sawicki
621058aa9e
Register copied edit sessions on the project
...
Without this any split edit sessions won't be passed to package
listeners that register using project.eachEditSession()
Closes #1065
2013-11-01 15:51:27 -07:00
Kevin Sawicki
83dcf79bcf
Use fs-plus
2013-11-01 08:46:02 -07:00
Ben Ogle
70925263f7
Add ability to specify rowCount to selectUp and selectDown()
2013-10-31 17:47:13 -07: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
Ben Ogle
04f0bf0244
Provide scan() delegation in editSession
2013-09-25 11:03:29 -07:00
Ben Ogle
238939e738
Bubble contents-modified from buffer through editSession
2013-09-25 11:03:29 -07:00
Kevin Sawicki
c8e9865b39
Use relative path to view class require
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
Matt Colyer
e8838e3bd0
Handle file paths that contain line numbers
2013-09-13 11:42:31 -07:00
Matt Colyer
9fe9e0dc41
Add documentation for Selection.expandOver*
2013-08-28 15:39:08 -07:00
Matt Colyer
7c55348fde
Fix incorrect biscotto references
2013-08-27 10:17:01 -07:00
Matt Colyer
2d547e3b9e
Reformat comments in edit-session.coffee
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
decaa3dfcf
💄 Move extend calls to top of class
2013-08-26 19:09:42 -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
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
5ea8c6c27b
Don't store soft wrap column on EditSession
...
This removes duplicate state between the edit session and
display buffer.
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
2793ebb5c4
Remove unused bufferId from edit session document
...
This is now on tokenized buffer instead.
2013-08-22 13:07:28 -07:00
Kevin Sawicki
7bf350251e
Add EditSession::getRelativePath
...
Closes #746
2013-08-22 12:16:44 -07:00
Kevin Sawicki
283cbcc9ab
Use constructor.name instead of hard-coded string
2013-08-21 15:41:27 -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