Ben Ogle
e76fe439ba
Fix tests. Indent oops.
2013-07-24 12:18:27 -07:00
Ben Ogle
cc8513afdf
remove !! hack on isComment
2013-07-24 12:18:27 -07:00
Ben Ogle
c17f5bd41e
Return false from isComment() for consistency
2013-07-24 12:18:27 -07:00
Ben Ogle
2d9ef9aad6
Add note for ScreenRow in tokenizedBuffers
2013-07-24 12:18:27 -07:00
Ben Ogle
f7bb8aab9e
Move rowRangeForParagraphAtBufferRow into LanguageMode
2013-07-24 12:18:27 -07:00
Ben Ogle
c5c1980c9a
remove fdescribe
2013-07-24 12:11:33 -07:00
Ben Ogle
f234b8fa27
respects comment chars
2013-07-24 12:11:33 -07:00
Ben Ogle
778e3bbd67
respects indentation
2013-07-24 12:11:33 -07:00
Ben Ogle
5d8d5da602
autoflow respects current paragraphs
2013-07-24 12:11:33 -07:00
Ben Ogle
fe449e31e3
Move config stuff out of the autoflow
2013-07-24 12:11:33 -07:00
Ben Ogle
617f0ae79a
tests work again
2013-07-24 12:11:33 -07:00
Ben Ogle
cf3de0e8dc
move autoflow into lib dir
2013-07-24 12:11:32 -07:00
Ben Ogle
173c47f780
Fix issue in jumping to next bookmark
2013-07-24 12:07:56 -07:00
Ben Ogle
77e12e3658
add comment about using better invalidation strategy
2013-07-24 12:07:56 -07:00
Ben Ogle
8db9551700
Handle one bookmark
2013-07-24 12:07:56 -07:00
Ben Ogle
ece0c76158
Use @editor.command to bind to commands
2013-07-24 12:07:56 -07:00
Ben Ogle
8881847c61
Handle jumping case when no bookmarks
2013-07-24 12:07:55 -07:00
Ben Ogle
4254efd49e
remove fdescribe
2013-07-24 12:07:55 -07:00
Ben Ogle
6968075d38
Jumping to bookmarks works
2013-07-24 12:07:55 -07:00
Ben Ogle
3cb29e1d5c
visually marks bookmarked lines
2013-07-24 12:07:55 -07:00
Ben Ogle
e632b091f9
add initial bookmark plugin
2013-07-24 12:07:55 -07:00
Ben Ogle
afa92e51f6
update changelog for the folding changes
2013-07-24 12:05:16 -07:00
Ben Ogle
d746c7566c
Fix CommandPanel spec
...
I added a new sample-with-comments.js file which
has more matches for 'sort', so the test needed
to be updated.
2013-07-24 12:05:16 -07:00
Ben Ogle
0a075c6934
remove fdescribe
2013-07-24 12:05:16 -07:00
Ben Ogle
cef3b7d634
move folding tests from EditSession -> LanguageMode
2013-07-24 12:05:16 -07:00
Ben Ogle
c31ba651cf
Add shortcuts for folding at an indent level.
2013-07-24 12:05:16 -07:00
Ben Ogle
d4d3426b4e
Add foldAllAtIndentLevel()
2013-07-24 12:05:16 -07:00
Ben Ogle
89e3d2efec
Rearrange folding functions
...
I think it is more clear to have small constituent
functions below functions that compose them. IMO,
this reads better.
2013-07-24 12:05:15 -07:00
Ben Ogle
c2326d096b
Fold comments in foldAll()
2013-07-24 12:05:15 -07:00
Ben Ogle
18146346f6
add failing comment fold tests
2013-07-24 12:05:15 -07:00
Ben Ogle
519c514092
add a new sample with some comments
2013-07-24 12:05:15 -07:00
Ben Ogle
4187615fa7
Fix test
2013-07-24 11:53:33 -07:00
Ben Ogle
d98ea0180c
Proper handling of cursor up and down behavior when selection range
2013-07-24 11:53:33 -07:00
Ben Ogle
226a4bf391
Add tests for moving to end of selection
2013-07-24 11:53:33 -07:00
Ben Ogle
a689a5906e
add moveToEndOfSelection option to moveLEft and moveRight
2013-07-24 11:53:33 -07:00
Ben Ogle
18370bb663
Merge pull request #645 from github/bo-move-word-behavior
...
Add new commands for moving between words
2013-07-23 15:38:37 -07:00
Ben Ogle
1465736974
Merge branch 'master' into bo-move-word-behavior
...
Conflicts:
src/app/editor.coffee
2013-07-23 15:34:20 -07:00
Ben Ogle
3907344fef
Merge pull request #646 from github/bo-small-dark-theme-change
...
Small dark theme change
2013-07-23 15:32:51 -07:00
Ben Ogle
7c414d47cb
Merge pull request #644 from github/bo-fix-scrollbar-issues
...
Fix scrollbar css issues
2013-07-23 15:31:38 -07:00
Kevin Sawicki
bc74be531d
Mention keymap changes and inspect element menu
v0.17.0
2013-07-23 08:13:32 -07:00
Ben Ogle
592b0886b2
new editor is now cmd+n, cmd+shift+n is new window fixes #652
2013-07-22 13:45:04 -07:00
Kevin Sawicki & Nathan Sobo
1685d62cae
Don't allow caching of coffee requires to be overridden in tasks
...
This is a follow-on to the previous commit which handled the index.html
case.
2013-07-22 11:50:14 -07:00
Kevin Sawicki & Nathan Sobo
e705e3e045
Don't allow caching of coffee requires to be overridden
...
Previously coffeestack was requiring a different version of coffeescript
than atom was, which had a side effect of re-registering the extension
handler for .coffee requires. This disabled coffee-cache, which made
require really slow again.
2013-07-22 11:44:39 -07:00
Kevin Sawicki
0bb7d3ba09
Default save as dialog to directory of active item
2013-07-22 09:11:57 -07:00
Ben Ogle
8e92499ebb
Fix comments so they match up with actual behavior
2013-07-22 09:02:05 -07:00
Ben Ogle
62e0274ff6
hook selectToFirstCharacterOfLine up to a command in editor.
2013-07-22 09:02:05 -07:00
Ben Ogle
fe4c4e9751
Add selectToFirstCharacterOfLine to editSession
2013-07-22 09:02:05 -07:00
Kevin Sawicki
baa03f5587
Upgrade apm
...
Closes #638
2013-07-22 08:35:10 -07:00
Ben Ogle
214d73d812
Remove line highlight in dark syntax
...
When moving around and selecting things, the entire line looks selected
and is super confusing. This leaves the line number highlighted, but
not the line itself.
2013-07-19 13:57:08 -07:00
Ben Ogle
8c6fe7a540
lighten selection color so it's more clear.
2013-07-19 13:55:29 -07:00