Commit Graph

5112 Commits

Author SHA1 Message Date
Nathan Sobo
063cb71175 Spelling 💄 in spec 2013-01-30 13:24:15 -07:00
Nathan Sobo
6388ec8bd7 Kill call to removed method 2013-01-30 13:24:06 -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
a2b1f33518 Merge branch 'word-regex-config' into dev 2013-01-30 08:40:04 -08:00
Corey Johnson
97fa9d522a end/beginning word implementations are now more similar 2013-01-30 08:39:32 -08:00
Corey Johnson
f698d7e9dc 💄 2013-01-30 08:20:11 -08:00
Corey Johnson
086c7ef987 multiline regex not needed 2013-01-30 08:15:28 -08:00
Corey Johnson
1a8986aae2 Fix start/end for range 2013-01-30 08:02:19 -08:00
Kevin Sawicki
7a186b1ab6 Add python bundle as submodule 2013-01-29 18:21:38 -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
Kevin Sawicki
05314ae215 Call delete() from deleteRows() 2013-01-29 17:16:33 -08:00
Corey Johnson
a34b9296e9 Escape \ in editor.nonWordCharachters 2013-01-29 17:14:10 -08:00
Corey Johnson
c32836ad2c _ and - both considered non word characters. Fixes #82
Maybe @defunkt wanted the reverse though (consider _ and - word characters)? Either way, it's a config option you can change now.
2013-01-29 17:10:27 -08:00
Corey Johnson
c71f58a652 💄 2013-01-29 17:08:07 -08:00
Corey Johnson
167b9c28fa Rename wordSeparators to nonWordCharacters 2013-01-29 17:06:39 -08:00
Corey Johnson
46aefc75ab Make EditSession specs match vim style word behavior 2013-01-29 16:57:23 -08:00
Corey Johnson
8973a66cfe selection.selectWord will consider whitespace a word 2013-01-29 16:57:22 -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
Corey Johnson & Kevin Sawicki
1d2fa089e5 editor.wordRegex is now a config option. 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
4bfa5dd7a0 Remove unneeded Range.fromObject call 2013-01-29 15:40:34 -08:00
Kevin Sawicki
1a04fa31d1 Clip range specified to Buffer.getTextInRange() 2013-01-29 15:35:14 -08:00
Kevin Sawicki
367927faa1 Remove unneeded empty selection logic 2013-01-29 15:08:21 -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
348a0a3d9a Return normalized point 2013-01-29 14:58:51 -08:00
Kevin Sawicki
66df860329 💄 2013-01-29 14:58:51 -08:00
Kevin Sawicki
ad7e4b63c0 Bind ctrl-meta-up to move line(s) up
Refs #134
2013-01-29 14:58:51 -08:00
Jon Rohan
4ade2b3c74 Merge pull request #199 from github/space-invisible
changing the space invisible to 00b7 'middot'
2013-01-29 11:49:10 -08:00
Jon Rohan
298d50b61e changing the space invisible to 00b7 'middot' 2013-01-29 14:38:01 -05: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
Justin Palmer
bb71017853 Merge pull request #196 from github/input-styles
Mini editor styles
2013-01-29 11:10:41 -08:00
Justin Palmer
72fd744330 style key binding to match atom dark 2013-01-29 11:05:35 -08:00
Justin Palmer
52c6243310 dark cursor styles for mini editor 2013-01-29 11:00:46 -08:00
Justin Palmer
10d7b3ab9f cursor styles for mini editor 2013-01-29 11:00:06 -08:00
Justin Palmer
b2ccc38a04 2 shades of grey 2013-01-29 10:48:13 -08:00
Justin Palmer
72fde3b521 bump mini editor line height a little more so it's consistent with other row height 2013-01-29 10:46:04 -08:00
Justin Palmer
42e7a711ff tweak light select list styles so mini editor looks good 2013-01-29 10:45:38 -08:00
Justin Palmer
4c8972e2e1 tweak select list colors so global mini editor styles hold up 2013-01-29 10:30:07 -08:00
Kevin Sawicki
9b4d570989 Require config when task shell starts
Config adds to the require paths so it needs to be required
before the handler starts so that web worker handlers have the
same require semantics as the main window.
2013-01-29 10:28:58 -08:00
Kevin Sawicki
b675e5b4ba Default fileTypes to empty array when undefined
This is the case for certain grammars in the Java
TextMate bundle.
2013-01-29 10:27:25 -08:00
Kevin Sawicki
2001cc330f Remove unused requires 2013-01-29 10:22:57 -08:00
Justin Palmer
707f6b5dfd fix position of prompt icon 2013-01-29 10:10:34 -08:00