Corey Johnson
b30a2c9442
Remove deprecated calls from workspace view spec
2014-04-22 16:51:50 -07:00
Corey Johnson
3eb99c9391
Remove deprecated call from spec helper
2014-04-22 16:51:38 -07:00
Corey Johnson
b5ac7c89a3
Update spec to match its description
2014-04-22 16:47:17 -07:00
Corey Johnson
3bd7bfcbf1
Merge remote-tracking branch 'origin/master' into cj-add-deprecation-warning-to-specs
2014-04-22 16:06:04 -07:00
Corey Johnson
3e94c0be22
Remove deprecated methods from window spec
2014-04-22 14:19:13 -07:00
Corey Johnson
db0cce6234
Remove focused spec
2014-04-22 14:19:01 -07:00
Corey Johnson
81df4ed238
Change Workspace::reopenItemSync to use promises
2014-04-22 14:15:07 -07:00
Corey Johnson
7b756ec3f3
Remove calls to openSync from the workspace-spec
2014-04-22 11:24:27 -07:00
Corey Johnson
0d95718d1f
Remove focused spec
2014-04-22 11:04:14 -07:00
Corey Johnson
1da23e8d04
Remove deprecations from atom-spec
2014-04-22 11:01:21 -07:00
Corey Johnson
43792d019a
Output deprecation message
2014-04-22 11:01:05 -07:00
Corey Johnson
ec0b4a2dc6
Move deprecation output to its own function
2014-04-22 10:44:25 -07:00
Corey Johnson
1083136dec
Don't allow specs that call deprecated methods to pass
2014-04-22 10:11:52 -07:00
Corey Johnson
e450e61248
Fix broken spec
2014-04-22 10:01:24 -07:00
Corey Johnson
fd7951b2c6
Remove focused spec
2014-04-22 09:51:15 -07:00
Corey Johnson
1583271e2f
Use setTextInRange instead of change
2014-04-18 15:50:30 -07:00
Corey Johnson
da49751f24
Remove usage of PaneContainerView::getActivePaneView
2014-04-18 10:43:27 -07:00
Kevin Sawicki
81646532b4
Ignore non-string core.themes config entries
...
Previously exceptions would be raised downstream if invalid theme
names were returned from ThemeManager::getEnabledThemeNames
Closes #1877
2014-04-17 13:33:51 -07:00
Kevin Sawicki
408665d7d2
Add Config::isDefault(keyPath)
2014-04-17 13:24:34 -07:00
Kevin Sawicki
541ffa5057
💄 Combine specs
2014-04-17 13:24:34 -07:00
Kevin Sawicki
0ea683e0b5
💄 Move expect up one line
2014-04-17 13:24:34 -07:00
Kevin Sawicki
f12004d27b
Add object to default value spec
2014-04-17 13:24:34 -07:00
Kevin Sawicki
35d268fcf8
Use _.isEqual when comparing value to default
2014-04-17 13:24:34 -07:00
Kevin Sawicki
20c3ca21e3
Add Config::getDefault(keyPath)
2014-04-17 13:24:34 -07:00
Corey Johnson
ecfb505144
Merge pull request #1851 from atom/cj-move-functionality-to-workspace-part-II
...
Move functionality from Project to Workspace Part II
2014-04-15 11:45:46 -07:00
Corey Johnson
6dfbd5733d
Fix spec
2014-04-11 11:14:46 -07:00
Kevin Sawicki
1afdd62a5d
Only alter indentation when it is too low
...
Previously insert newline above would use the current line's
indent level which could be the less than the proper level if the
newline should be further indented based on the increase indent
pattern being used.
2014-04-11 10:07:50 -07:00
Corey Johnson
d47e8fc583
Fix indentation error
2014-04-11 09:45:54 -07:00
Corey Johnson
3644a36d67
Clearing a selection will also finalize the selection
...
Fixes #1843
2014-04-11 09:44:57 -07:00
probablycorey
63a80a4d4d
Revert "Revert "Merge pull request #1844 from atom/cj-move-functionality-to-workspace""
...
This reverts commit 87d008c337
.
2014-04-08 10:52:19 -07:00
probablycorey
87d008c337
Revert "Merge pull request #1844 from atom/cj-move-functionality-to-workspace"
...
This reverts commit 2d7dda066c
, reversing
changes made to 96e3c63291
.
2014-04-08 10:44:08 -07:00
probablycorey
a79885eafb
Add 'the'
2014-04-07 15:43:53 -07:00
probablycorey
11a91fb974
Move editor-created
specs to Workspace
2014-04-04 15:31:44 -07:00
probablycorey
1d426e8fd2
Move editor-created
event to Workspace
2014-04-04 15:31:44 -07:00
probablycorey
6f0094e6ce
Move editor removal specs to Workspace
2014-04-04 15:31:44 -07:00
probablycorey
915cad39e8
Set atom.workspace in Workspace spec
2014-04-04 15:31:44 -07:00
Kevin Sawicki
6e422d5428
Move cursor to end of line when on first row
...
This line may be indented now so move the cursor to the
end of the indentation.
2014-04-04 10:47:25 -07:00
Kevin Sawicki
e464c4f047
Use current indent level for newline above
...
Previously Editor::insertNewlineAbove would put the cursor
at position 0 if there were empty lines above the current line
regarding of the indent level of the cursor's current line.
Now the indent level of the current line is always used for the newline
above when the editor.autoIndent config is enabled.
2014-04-04 10:47:25 -07:00
Kevin Sawicki
cebb27154d
Merge pull request #1837 from atom/ks-comment-line-with-only-whitespace
...
Use cursor indent level if commenting single line
2014-04-04 09:30:05 -07:00
Kevin Sawicki
afe6685ce8
Merge pull request #1833 from atom/ks-backspace-on-first-line
...
Allow backspace to beginning of word on first line
2014-04-04 09:28:51 -07:00
Kevin Sawicki
1aa64a9d80
Use cursor indent level if commenting single line
...
Previously commenting a line of all whitespace would insert
the comment at column 0 on the line since blank lines are
ignored when calculating the minimum indent level.
2014-04-03 18:26:50 -07:00
Kevin Sawicki
3e24d045e5
Allow backspace to beginning of word on first line
...
Previously this would fail when only whitespace was to the
left of the cursor.
2014-04-03 12:04:22 -07:00
Kevin Sawicki
f153cbb41f
Don't call Config::save when setting defaults
...
Instead just emit an updated event, saving is not needed
because only the defaults are changing.
2014-04-03 11:00:45 -07:00
Corey Johnson
d47cc6fa0b
Remove explicit atom.workspace.destroy call
2014-04-02 14:36:32 -07:00
Corey Johnson
784d22368e
Remove unneeded ?
2014-04-02 14:19:06 -07:00
Corey Johnson
4165a69fed
Change destroy order
2014-04-02 14:02:21 -07:00
Corey Johnson
61ae185494
Create workspace after project
2014-04-02 13:23:50 -07:00
Corey Johnson
0c12f712c9
Add atom.workspace to every spec
...
We add project to every spec, I'd like to add workspace so that we can
move all the opener logic to workspace.
2014-04-02 12:03:01 -07:00
Nathan Sobo
70cd6a6bc3
💄 Use CoffeeScript :: notation in specs
...
Going to add another spec on a branch and prefer to stick with our new
convention.
2014-04-02 07:58:48 -06:00
Nathan Sobo
6e9217be5f
Reenable disable display-buffer-marker specs
2014-04-02 07:50:24 -06:00