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
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
298d50b61e
changing the space invisible to 00b7 'middot'
2013-01-29 14:38:01 -05: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
Kevin Sawicki
4fe021bb61
Memoize built packages
...
Packages that successfully built are now stored internally
so they can be quickly accessed on future calls instead of
returning an array of newly built packages on each call.
2013-01-28 15:47:17 -08:00
Corey Johnson & Nathan Sobo
c13b45df99
Hard tabs in snippets are translated to soft-tabs if necessary
2013-01-28 16:36:15 -07:00
Kevin Sawicki
7e494caaff
Remove unused require
2013-01-28 15:25:35 -08:00
Kevin Sawicki
c2319a30e6
💄
2013-01-28 15:25:08 -08:00
Kevin Sawicki
e792265076
Trigger grammars-loaded event on syntax
2013-01-28 14:34:49 -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
bd3493987b
💄
2013-01-27 22:44:07 -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
f6fe2bdc97
Don't normalize line endings from Buffer.setText
...
BufferChangeOperation now takes an options hash that
can specify whether line endings should be normalized.
This option is set to false when Buffer.setText is called.
This replaces the previous assignment of lineEndings to []
with a more explicit mechanism.
2013-01-27 16:01:22 -08: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
162e3494b2
Tolerate undefined rootView global when loading a package
...
This eliminates warnings when we activate packages in specs without
setting up the `rootView`.
2013-01-27 13:09:27 -07:00
Kevin Sawicki
cb4f392fa6
Set tab index on root-view to 0
...
Previously if the tree-view was open and was focused and no
editors were open and tab was pressed the document body would
become focused which would not allow events bound to root view
to be triggerable.
This ensures that the root-view always gets focus back when
another view is tabbed away from.
2013-01-27 10:49:17 -08:00
Nathan Sobo
f3ab64edbc
Merge pull request #178 from github/ctrl-tab
...
Add ctrl-tab shortcut to switch panes
2013-01-27 10:23:23 -08:00
Chris Wanstrath
186f461dd7
Add ctrl-tab shortcut to switch tabs
2013-01-26 11:42:22 -08:00
Kevin Sawicki
1b76b05e4d
Bind ctrl-C to copy path to clipboard
...
Refs #173
2013-01-25 17:52:05 -08:00
Kevin Sawicki
22aeda6f1c
Add move-to-top/bottom support to select list
2013-01-25 17:31:45 -08:00
Kevin Sawicki
54eabce9ab
Switch grammar toggle to meta-L
...
meta-l should be reserved for jump to line
2013-01-25 10:30:38 -08:00
Kevin Sawicki
fb4623d5d3
Don't populate list until elements have been set
...
Closes #174
2013-01-25 10:28:07 -08:00
Kevin Sawicki
4a89f4580b
Make Gists a deferred package
2013-01-25 10:08:00 -08:00
Kevin Sawicki
5d10d6fb44
Load grammars from web worker
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
Corey Johnson & Nathan Sobo
e5c96c7077
Convert OnigScanner to a context binding
2013-01-24 17:22:49 -08:00
Nathan Sobo
2946ba7b9a
Convert OnigRegExp from a v8 extension to a window binding
2013-01-24 17:22:49 -08:00
Corey Johnson & Nathan Sobo
74d7d48dcc
Don't make GitRepository a window global
2013-01-24 17:22:49 -08:00
Corey Johnson & Nathan Sobo
1e6e6c4411
Convert git v8 extension to a context binding
2013-01-24 17:22:49 -08:00
Corey Johnson & Nathan Sobo
789c0a3715
Merge branch 'focus-editor-when-selecting-tab' into dev
2013-01-24 09:55:10 -08:00
Kevin Sawicki
3bd826fcb2
Inline selected text wrapped in brackets
2013-01-23 16:49:34 -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
17f12c42d3
Delete end pair when begin pair is backspaced
2013-01-23 16:24:40 -08:00
Kevin Sawicki
bdf60997ea
💄
2013-01-23 16:24:40 -08:00