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
Nathan Sobo
65564e2012
Rename atom.keymap to atom.keymaps
2014-03-31 16:28:55 -06:00
Nathan Sobo
d612a71af5
Upgrade to atom-keymap@0.14.0 and account for renamed methods
2014-03-31 16:01:31 -06:00
Kevin Sawicki
940145be7a
Add spec for Git::getDirectoryStatus
2014-03-28 14:01:21 -07:00
Kevin Sawicki
c3a1831959
Use Git::getCachedPathStatus in spec
2014-03-28 13:34:21 -07:00
Corey Johnson
aa02bc1aaf
Remove window.debugContent
...
Whoops!
2014-03-26 14:16:24 -07:00
Corey Johnson
c46238f795
Add spec
2014-03-26 13:57:12 -07:00
Justin Palmer
c389bccfa0
update editor view specs to account for lineHeight
2014-03-24 11:37:58 -07:00
Nathan Sobo
bd68790a10
Cleanup stylesheets added during spec in afterEach
2014-03-19 21:51:08 -06:00
Nathan Sobo
f0a7663447
Recalculate line-height and char-width when stylesheets change
...
If either of these dimensions change, we request a display update for
the editor.
2014-03-19 21:37:26 -06:00
Nathan Sobo
2d26382510
Emit 'stylesheet-changed' from atom.themes
...
Whenever stylesheets are applied or removed.
2014-03-19 15:51:36 -06:00
Kevin Sawicki
7c17c99b9e
Update spec description
2014-03-19 10:05:34 -07:00
Kevin Sawicki
ff560bc3a3
Update spec to not be before whitespace
2014-03-19 10:05:34 -07:00
Kevin Sawicki
2e8c0234bb
Tweak spec description
2014-03-19 10:05:34 -07:00
Kevin Sawicki
8e62d772b3
Ignore leading whitespace when auto-indenting a newline
...
Refs atom/language-less#1
2014-03-19 10:05:34 -07:00
Cheng Zhao
6838ff8ea2
Merge pull request #1762 from atom/linux-build
...
Make Atom build on Linux
2014-03-19 01:40:11 +00:00
Kevin Sawicki
8aa2c40bbf
Don't capture whitespace group in comment patterns
...
This was causing corruption when uncommenting XML since the fact that
it was being captured was throwing off the index used into the match.
Closes atom/language-xml#3
2014-03-18 18:19:59 -07:00
Cheng Zhao
f2e5b480e1
Fix specs on Mac.
2014-03-18 16:32:34 +08:00
Cheng Zhao
8bf1464b64
Fix setting NODE_PATH in specs window.
2014-03-18 15:57:16 +08:00
Nathan Sobo
b26e0d42d5
Merge branch 'master' into ns-extract-keymap
2014-03-17 22:28:14 -06:00
Nathan Sobo
8ee4e927a1
Unspy setTimeout in an attempt to fix flaky spec
2014-03-17 22:27:26 -06:00
Nathan Sobo
3d28f957c7
Export Keymap from keymap-extensions
2014-03-17 13:05:47 -06:00
Nathan Sobo
8f2745c248
Remove old keymap-spec. It has been supplanted by the atom-keymap npm
2014-03-17 13:05:46 -06:00
Nathan Sobo
1c964d05f8
💄 spec helper's keydownEvent
2014-03-17 13:05:46 -06:00
Nathan Sobo
2dcbf7f751
Replace Keymap subclass with keymap-extensions
2014-03-17 13:05:46 -06:00