Kevin Sawicki
29b85a1bb9
Clear the goal column when the cursor moves
...
Previously it was only cleared when changing the position explicitly
and not as a result of the underlying marker changing such as during a
text insertion.
Closes #1295
2013-12-11 18:02:52 -08:00
Nathan Sobo
8a8df8d6cb
Add Atom::isReleasedVersion, which determines if the version is a SHA
2013-12-11 12:28:20 -08:00
Nathan Sobo
f3cdb6e0a2
Merge remote-tracking branch 'origin/master' into ns-teleditor
2013-12-10 19:10:09 -08:00
Nathan Sobo
c4fc75215b
Reintroduce editor serialization specs
...
I added some features to telepath that make it easier to test model
objects.
- First, you can now call replicate on any telepath document/model
object. The entire underlying database will be replicated and you will
be handed the equivalent of that object in the replicated world. This
is easier than forcing you to attach the model to the window state
and then call replicate there. However, remember that the entire
window state is actually being replicated so any references the model
has will also be replicated.
- Second, you can also replicate orphaned objects. Most objects in these
specs we're converting are orphans because there's no reason to attach
them to the root document just to test them in isolation.
2013-12-10 19:07:50 -08:00
Nathan Sobo
425c076221
Make Editor a telepath.Model subclass
2013-12-10 17:32:34 -08:00
Nathan Sobo
18a712a1f7
Reopen closed pane items in workspace – by uri instead of deserializing
...
Serializing and deserializing closed pane items was turning into a pain
with the new telepath changes that are phasing out this kind of on the
fly serialization. Reopening by uri saves memory and simplifies panes
enormously. If we want non-uri reopening we can revisit it later when
telepath models are better integrated.
2013-12-10 17:19:44 -08:00
Ben Ogle
43bf47fa26
Upgrade to underscore-plus@0.4.0
2013-12-10 11:47:53 -08:00
Nathan Sobo
43495f05ba
Restore package specs in suite. Didn't mean to commit these comments.
2013-12-10 01:31:04 -08:00
Nathan Sobo
5ff47f3aa1
Call atom.create with TokenizedBuffer before testing it
2013-12-09 12:28:13 -08:00
Nathan Sobo
ee1f21439d
Merge branch 'ns-latest-telepath' into ns-teleditor
2013-12-07 13:59:35 -08:00
Nathan Sobo
f25d8d83c5
Merge branch 'master' into ns-latest-telepath
2013-12-07 13:58:53 -08:00
Nathan Sobo
b4270b1e9e
Merge branch 'ns-mock-cson-in-config-specs'
2013-12-07 13:52:00 -08:00
Kevin Sawicki
34f71a2623
Observe editor.tabLength config in TokenizedBuffer
...
Closes #1224
2013-12-07 11:43:48 -08:00
Nathan Sobo
1ccc93c50b
Make DisplayBuffer a telepath model subclass
2013-12-07 03:07:15 -08:00
Nathan Sobo
a4d2b4d21a
Make TokenizedBuffer a telepath.Model subclass
...
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.
2013-12-07 02:25:47 -08:00
Nathan Sobo
88eb803d91
Mock season.writeFileSyne instead of fs.writeFileSync in config specs
...
The spec suite has been overwriting my config directory in weird cases.
While investigating it I noticed that we mock writeFileSync directly in
these specs, but we actually use season to write the config cson. This
makes this spec a bit simpler because it doesn't have to parse the CSON
in the spec. Lower level assertions belong on the season package itself.
2013-12-06 22:10:26 -08:00
Nathan Sobo
b61654b52f
Upgrade to telepath 0.61.0
...
This version adds a bunch of reactive primitives and ensures we destroy
documents when they are no longer referenced.
2013-12-06 21:55:57 -08:00
Kevin Sawicki
e45aeecb0a
Update specs now that syntax themes have stylesheets folders
2013-12-06 13:24:34 -08:00
Kevin Sawicki
433b64d581
Update spec for new hard tab span text length
2013-12-06 08:27:00 -08:00
Kevin Sawicki & Nathan Sobo
94e4fef108
Use DisplayBuffer::lineForRow in EditorView::positionLeftForLineAndColumn
...
Previously the tokenized lines were obtained from the tokenized buffer
which skipped the translation to screen coordinates.
Closes #1231
2013-12-06 08:26:59 -08:00
Kevin Sawicki
8af0a59c52
Pop stack when rule is pushed without position advancement
...
Previously only the scope name was checked which allowed cases
were rules without scope names to grow the stack infinitely without
advancing the position.
Closes atom/language-ruby-on-rails#1
2013-12-04 15:18:33 -08:00
Kevin Sawicki
ee7ef0f893
Add spec that previously failed
2013-12-03 10:54:27 -08:00
Cheng Zhao
b4099ba66f
Use the new breakpad crash reporter in both browser and renderer.
2013-12-03 12:45:44 +08:00
probablycorey
776d58bf21
Merge remote-tracking branch 'origin/master' into cj-feedback-package
...
Conflicts:
package.json
src/editor-view.coffee
2013-11-27 11:26:34 -08:00
Kevin Sawicki
3cfe50585a
Move eachBuffer spec to project-spec
2013-11-26 19:35:43 -08:00
Kevin Sawicki
2901a04843
Rename WorkspaceView::getEditors to getEditorViews
2013-11-26 19:35:42 -08:00
Kevin Sawicki
0259536c5d
Rename WorkspaceView::eachEditor to eachEditorView
2013-11-26 19:35:42 -08:00
Kevin Sawicki
48692e5127
Update EditSession to Editor in method references
2013-11-26 19:35:16 -08:00
Kevin Sawicki
f1e768767e
Rename EditorView::activeEditSession to editor
2013-11-26 19:35:16 -08:00
Ben Ogle
46f73d037f
Fix replace on open buffers. only replace paths specified.
...
Closes find-and-replace#85
2013-11-26 17:08:21 -08:00
probablycorey
dde46ca931
Merge remote-tracking branch 'origin/master' into cj-feedback-package
...
Conflicts:
package.json
2013-11-26 16:59:57 -08:00
Kevin Sawicki
d3c9b6e547
Rename root-view-spec.coffee to workspace-view-spec.coffee
2013-11-26 13:26:38 -08:00
probablycorey
a0ceb78627
Move snapshot code to package
2013-11-26 11:15:55 -08:00
Kevin Sawicki
2e801fbf87
Rename root-view to workspace-view
2013-11-26 11:02:53 -08:00
Kevin Sawicki
3ce6176313
Rename rootView to workspaceView
2013-11-26 11:02:53 -08:00
Ben Ogle
0c2c739741
Add ability for placeholder text in mini editor
2013-11-25 14:46:54 -08:00
Kevin Sawicki
7f039b3383
Update confirmSync references in specs
2013-11-22 15:09:47 -08:00
Kevin Sawicki
f217278001
Move editor window helpers to Atom class
2013-11-22 10:13:59 -08:00
Kevin Sawicki
79b84b2433
Move window.deserializeEditorWindow to Atom class
2013-11-22 10:13:59 -08:00
Kevin Sawicki
17be036ff8
Move window.setUpEnvironment to Atom class
2013-11-22 10:13:59 -08:00
Ben Ogle
6a8d0bef4a
Merge branch 'master' of github.com:atom/atom
2013-11-22 10:03:06 -08:00
Ben Ogle
18399aa264
Replace keystrokes in tooltips
2013-11-21 16:53:38 -08:00
Kevin Sawicki
dd9aa2d02f
💄 Remove extra space
2013-11-21 16:08:27 -08:00
Kevin Sawicki
2f46fee1ca
Use resource path from load settings
2013-11-21 16:08:27 -08:00
Kevin Sawicki
2349627e3c
Tweak modifier order in spec
2013-11-21 13:56:12 -08:00
Matt Colyer
161c9a62b5
Merge branch 'master' into meta-to-command
...
Conflicts:
spec/keymap-spec.coffee
2013-11-21 09:59:49 -05:00
Kevin Sawicki
de7b212d99
Change cancel to off for consistency with emissary
2013-11-20 19:07:56 -08:00
Kevin Sawicki
b19390b519
Add missing atom prefix to rootView and project
2013-11-20 17:23:48 -08:00
Kevin Sawicki
a3f339e0c3
Correct order of refresh steps
2013-11-20 17:23:48 -08:00
Kevin Sawicki
42040e14b3
Add atom prefix to rootView and project
2013-11-20 17:23:48 -08:00