Kevin Sawicki
81d9193bf4
Copy repository to temp folder
2014-06-02 10:17:13 -07:00
Kevin Sawicki
c700ca0430
Remove unused sync option
2014-05-21 08:55:40 -07:00
Kevin Sawicki
314833bbac
Add missing parens on indent guide check
...
Previously the indent guide was always showing on the whitespace only lines
Closes #2274
2014-05-19 08:52:06 -07:00
Kevin Sawicki
33c02ef3e1
Mention double clicking in spec description
2014-04-30 09:58:37 -07:00
Kevin Sawicki
aa4749f175
Select all adjacent whitespace on double click
...
Cursor::isSurroundedByWhitespace was use column 0 instead of the
position right before the cursor.
2014-04-30 09:58:37 -07:00
Corey Johnson
c03dec2783
Merge remote-tracking branch 'origin/master' into cj-add-deprecation-warning-to-specs
2014-04-23 16:51:14 -07:00
Corey Johnson
4a60b5787a
Remove deprecated calls from editor view spec
2014-04-23 16:18:48 -07:00
Nathan Sobo
de773e4f75
Revert "Remove setInterval spy. It's now spied in the spec helper w/ setTimeout"
...
This reverts commit 930f1d7f018bb9949b0ee0e4ca7330a8a4ce0ec7.
I actually don't want to globally spy on setInterval because it interferes with
expected behaviors and eventually I'd like both of these to be opt-in.
2014-04-22 17:09:41 -06:00
Nathan Sobo
e3eb51c135
Don't expect trailing whitespace invisibles on soft-wrapped lines
...
Now that trailing whitespace status of tokens is assigned at
construction time, we no longer render invisibles at the end of
soft-wrapped lines. Pretty sure this is not a behavior we wanted anyway.
2014-04-22 17:09:41 -06:00
Nathan Sobo
9ec38ddb0d
Remove setInterval spy. It's now spied in the spec helper w/ setTimeout
2014-04-22 17:09:41 -06:00
Corey Johnson
1583271e2f
Use setTextInRange instead of change
2014-04-18 15:50:30 -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
Nathan Sobo
65564e2012
Rename atom.keymap to atom.keymaps
2014-03-31 16:28:55 -06: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
Kevin Sawicki
37d67e8a83
Add spec for dragging with editor hidden
2014-03-13 10:56:31 -07:00
Kevin Sawicki
2f8e67d679
Add event.which to 1 in more specs
2014-03-13 10:49:34 -07:00
Kevin Sawicki
22dc165a25
Set event.which to 1 in specs
2014-03-13 10:47:03 -07:00
Nathan Sobo
4acfe11af1
Remove previous duplicate-line specs from editor-view-spec
2014-03-06 14:49:20 -07:00
Nathan Sobo
20a0c27111
Rename duplicate-line to duplicate-lines (but retain deprecated method)
...
Might as well make the name accurate while it's early.
2014-03-06 14:36:25 -07:00
Nathan Sobo
23a40fe051
💄 Move specs for Editor::reloadGrammar to editor-spec
2014-03-05 21:23:39 -07:00
Nathan Sobo
e1bc62dae3
Add a spec for line wrapping in the presence of legacy scrollbars
2014-03-04 16:45:50 -07:00
Corey Johnson
7708d645c9
Merge pull request #1526 from atom/ks-remove-immediate-and-sync-activate-calls
...
Remove immediate/sync option to activatePackage
2014-02-11 16:56:49 -08:00
Kevin Sawicki
de88d6b624
Support moving up folds around folds
2014-02-11 15:55:32 -08:00
Kevin Sawicki
04c59952d5
Support moving down folds around folds
2014-02-11 15:55:32 -08:00
Kevin Sawicki
a93bfb5f8c
Make sure moved lines don't go into a fold
2014-02-11 15:55:32 -08:00
Kevin Sawicki
2579f2993b
💄 folded not folder
2014-02-11 15:55:32 -08:00
Kevin Sawicki
f9cdc4883e
Move around folds when moving lines down
2014-02-11 15:55:32 -08:00
Kevin Sawicki
d8da977b20
Add failing spec
2014-02-11 15:55:31 -08:00
probablycorey
1d4cab404d
Fix specs for Editor View
2014-02-10 15:52:34 -08:00
Kevin Sawicki
70a7514f9e
Add Clipboard::readWithMetadata
...
This includes the associated metadata and Clipboard::read now returns
a String.
2014-02-03 13:20:28 -08:00
Kevin Sawicki
569ab416b8
Replace pasteboard references with clipboard
2014-02-03 13:12:33 -08:00
Kevin Sawicki
b1e99d9927
Use atom.clipboard instead of atom.pasteboard
2014-02-03 13:10:10 -08:00
Kevin Sawicki
e6565f6561
Return object from Pasteboard::read
...
Closes #1465
2014-02-03 12:19:14 -08:00
Nathan Sobo
2831b43042
Update foldability indicators on changes that don't insert/remove lines
...
On changes that insert/remove lines, we redraw the entire gutter, which
ensures the foldability markers are up to date. But other kinds of
changes could change the foldability of lines… if a line becomes
commented or its indentation changes, the foldability of that line and
the lines above and below could be affected. For now, the gutter
understands this fact and updates the foldability for the region
extending from one line before to one line after each change. Someday
I'd like the view logic to not bake in knowledge of the folding rules,
but this works for now.
2014-01-20 11:17:58 -07:00
Nathan Sobo
4db2ad53fd
Rename .fold class to .folded on line numbers in gutter
...
Using an adjective blends in better with '.foldable'
2014-01-18 11:35:22 -07:00
Nathan Sobo
99f025d5d6
Rename .fold-icon to .icon-right in gutter to make it multi-purpose
2014-01-17 16:59:50 -07:00
Nathan Sobo
d879923cdb
Fix gutter view rendering specs
2014-01-17 16:03:02 -07:00
Nathan Sobo
b2dff15e51
Toggle folding upon 'mousedown' on a foldable line's fold-icon
2014-01-17 15:17:13 -07:00
Nathan Sobo
8757e1f145
Add downward pointing chevrons next to foldable row numbers in gutter
2014-01-17 14:34:53 -07:00
probablycorey
95f2d02d18
Merge branch 'master' into cj-remove-editor-view-delegate-methods
...
Conflicts:
package.json
spec/workspace-view-spec.coffee
src/editor.coffee
src/gutter.coffee
2014-01-13 15:06:18 -08:00
Nathan Sobo
b438b311f3
Rename showItem methods to activateItem
...
These methods set the *active* item, so the verb activate provides a
clearer correspondence. We could change the noun to "shown" item, but
that's awkward and having both active panes and active items is a nice
correspondence in terminology.
2014-01-12 17:40:57 -07:00
probablycorey
32b5592475
Fix EditorView spec
2014-01-10 15:32:36 -08:00
Nathan Sobo
d34327a667
Remove the EditorView when Editor is destroyed
2014-01-10 11:56:27 -07:00
Nathan Sobo
42b203d502
🚱 Fix mini editor leak
...
Previously, we were overriding Editor::destroy, which is now provided
by telepath. Since the real destroy wasn't being called, we were failing
to remove editors associated with mini editor views.
2013-12-18 17:05:34 -07:00
Kevin Sawicki
433b64d581
Update spec for new hard tab span text length
2013-12-06 08:27:00 -08:00