Nathan Sobo
063cb71175
Spelling 💄 in spec
2013-01-30 13:24:15 -07:00
Nathan Sobo
113a8fa279
Merge remote-tracking branch 'origin/dev' into better-anchors
...
Conflicts:
src/app/cursor.coffee
src/app/editor.coffee
2013-01-30 12:59:04 -07:00
Kevin Sawicki
f90d29262c
Use octicon as folding indicator
2013-01-30 11:50:29 -08:00
Kevin Sawicki
8dbcefa932
Style color of folded line numbers
2013-01-30 11:50:23 -08:00
Nathan Sobo
ec3a1a80cd
Restore invalidated anchor points on undo/redo of a change
2013-01-30 12:48:29 -07:00
Nathan Sobo
30909a8e8f
Move anchor points to buffer; restore invalidated points on undo
2013-01-30 12:23:42 -07:00
Corey Johnson & Kevin Sawicki
4db876aed1
Deleting before fold no longer unfolds after undo
...
Use same row delta computation for updating start and
end rows in folds.
2013-01-30 09:10:26 -08:00
Corey Johnson
97fa9d522a
end/beginning word implementations are now more similar
2013-01-30 08:39:32 -08:00
Nathan Sobo
6c7b93872c
Add failing specs for undoing changes that surround anchor points
2013-01-29 18:29:42 -07:00
Nathan Sobo
0ecfba3262
WIP: Start adding new anchorPoint API on edit session
...
These will replace anchors, but they won't be stored on the Buffer
at all. The API user will access them by a returned scalar id rather
than calling methods on the returned anchor object directly.
2013-01-29 18:21:56 -07:00
Corey Johnson
46aefc75ab
Make EditSession specs match vim style word behavior
2013-01-29 16:57:23 -08:00
Corey Johnson
dac92ca6e7
Make cursor.moveCursorToBeginningOfWord behave like vim
2013-01-29 16:57:22 -08:00
Corey Johnson
b66efbe3e7
cursor.getBeginningOfCurrentWordBufferPosition behaves like vim
2013-01-29 16:57:22 -08:00
Kevin Sawicki
1303e58a87
Don't move trailing newline for multiline selections
2013-01-29 16:51:33 -08:00
Kevin Sawicki
1a04fa31d1
Clip range specified to Buffer.getTextInRange()
2013-01-29 15:35:14 -08:00
Nathan Sobo
3f50dbe1f8
💄
2013-01-29 16:00:45 -07:00
Kevin Sawicki
096566ab2a
Bind ctrl-meta-down to move line(s) down
...
Refs #134
2013-01-29 14:58:52 -08:00
Kevin Sawicki
ad7e4b63c0
Bind ctrl-meta-up to move line(s) up
...
Refs #134
2013-01-29 14:58:51 -08:00
Nathan Sobo
2380fa3445
Handle 'autoscroll' entirely in Cursor instead of in Anchor
...
This commit makes autoscroll a 3-valued property on the cursor. If it
is set to true or false, that setting will stick until the cursor's
next visual update. That means we can explicitly move the cursor with
autoscroll set to false, but also still autoscroll by default when the
cursor's anchor moves on its own.
2013-01-29 12:11:43 -07:00
Kevin Sawicki
e792265076
Trigger grammars-loaded event on syntax
2013-01-28 14:34:49 -08:00
Kevin Sawicki
ad8dd767e5
Don't allow web worker grammars to be registered
...
Grammars are already loaded at the beginning of the
specs synchronously and should not be overridden
when testing the background load task.
2013-01-28 14:23:18 -08:00
Corey Johnson & Nathan Sobo
493ed5f006
Merge branch 'web-workers' into dev
2013-01-28 15:02:57 -07:00
Kevin Sawicki
d84c600679
Don't add CR invisible if line is soft wrapped
2013-01-28 13:33:46 -08:00
Kevin Sawicki
fa5ceedfe0
Don't add EOL invisible if line is soft wrapped
2013-01-28 13:22:32 -08:00
Kevin Sawicki
ee5d70b65d
Terminate worker when all packages have been loaded
2013-01-27 22:38:11 -08:00
Nathan Sobo
96b0cde85a
Merge branch 'dev' into web-workers
2013-01-27 18:53:59 -07:00
Kevin Sawicki & Nathan Sobo
98614592af
Store line endings on a per-line basis in Buffer
...
The line ending for each line is recorded and reused
when lines are modified or inserted.
Closes #166
2013-01-27 16:01:22 -08:00
Kevin Sawicki
ecc50506c7
Render trailing carriage return as an invisible
2013-01-27 16:01:22 -08:00
Nathan Sobo
c16acc6b2c
Disable 'package-that-throws-an-exception' except in spec that uses it
...
Loading this package logs a warning, so to minimize noise in the spec
console, it should only be loaded when `console.warn` is mocked.
2013-01-27 13:11:42 -07:00
Nathan Sobo
0be4ad547a
Disable 'package-that-throws-an-exception' except in spec that uses it
...
Loading this package logs a warning, so to minimize noise in the spec
console, it should only be loaded when `console.warn` is mocked.
2013-01-27 12:12:39 -07:00
Kevin Sawicki
1b76b05e4d
Bind ctrl-C to copy path to clipboard
...
Refs #173
2013-01-25 17:52:05 -08:00
Kevin Sawicki
985dd284dc
💄
2013-01-25 17:37:24 -08:00
Kevin Sawicki
22aeda6f1c
Add move-to-top/bottom support to select list
2013-01-25 17:31:45 -08:00
Kevin Sawicki
fb4623d5d3
Don't populate list until elements have been set
...
Closes #174
2013-01-25 10:28:07 -08:00
Nathan Sobo
0d63d6459d
Make TextMate snippets loading immune to hidden files & invalid plist
...
closes #143
2013-01-24 17:22:51 -08:00
Corey Johnson & Nathan Sobo
d4b5c8beac
Don't make OnigScanner and OnigRegExp be window globals
2013-01-24 17:22:49 -08:00
Kevin Sawicki
7425f58f26
Only change end position if selection is mult-line
2013-01-23 16:46:43 -08:00
Kevin Sawicki
6324a60d72
Wrap selection in brackets
...
Enclose the selection in brackets when an opening
bracket is typed and the selection is non-empty
Closes #41
2013-01-23 16:24:40 -08:00
Kevin Sawicki
bc3646f180
💄
2013-01-23 16:24:40 -08:00
Kevin Sawicki
17f12c42d3
Delete end pair when begin pair is backspaced
2013-01-23 16:24:40 -08:00
Kevin Sawicki
41a15c7889
Update spec event coordinates for new default styles
2013-01-22 21:43:35 -08:00
Kevin Sawicki
5d404d7ee0
Use new unstyled expected gutter width
2013-01-22 21:10:11 -08:00
Kevin Sawicki
f6e4e69e2b
Remove unused require
2013-01-22 18:32:05 -08:00
Kevin Sawicki
ca596db310
Extend AtomPackage directly in packages index.coffee
2013-01-22 18:26:48 -08:00
Kevin Sawicki
7c7ca4a6c3
Don't auto outdent if already fully outdented
2013-01-22 17:39:03 -08:00
Kevin Sawicki
59f7b6650c
Don't auto outdent if preceding row is null
2013-01-22 17:38:23 -08:00
Kevin Sawicki
39fd4f7059
Remove extra subscribeToFile() call
...
This was causing an event listener to leak
on each call to save()
Closes #152
2013-01-22 14:44:34 -08:00
Jon Rohan
cb6798c357
fixing spec for ui test
2013-01-22 12:40:51 -08:00
Jon Rohan
7582952a13
fixing broken specs
2013-01-21 19:53:36 -08:00
Nathan Sobo
2389893799
Absorb parse errors and ignore hidden files when loading atom snippets
2013-01-21 13:49:24 -07:00