-
Notifications
You must be signed in to change notification settings - Fork 17.4k
Make TokenizedBuffer and DisplayBuffer subclasses of Telepath.Model #1266
Conversation
There's a bunch of improvised code to make this work right now because of the circularity of this refactoring. It will stabilize over time.
@@ -80,6 +80,11 @@ class Atom | |||
setBodyPlatformClass: -> | |||
document.body.classList.add("platform-#{process.platform}") | |||
|
|||
# Public: Create a new telepath model. This won't be needed when Atom is itself |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This feels like it should start out as Private:
if it is going to go away soon.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not going to go away. It's just that telepath.Model implements create
on its own so there won't be a need to define it. I'll clarify the comment.
Conflicts: package.json
Will start on Editor tomorrow, then on to another attempt at panes. May need to add a telepath features to allow arbitrary pane items to be inserted for backward compatibility. |
@@ -1 +1 @@ | |||
Subproject commit 007cf2643366f4e4aa5e38083bc69da9dc363098 | |||
Subproject commit 5aa7984e1556e6d254f60f49a5228d8b03908ef8 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This downgraded apm on master, was this intentional?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No this was a mistake, sorry.
Should #1101 be closed then now that it has been split up? |
Sounds good. Will keep the train rollin'. |
🚂💨 |
Doing this incrementally is going to take a few weeks off my lifespan, but here's the first step.