Corey Johnson & Nathan Sobo
46fc7f2375
Redefine word regex to consider sequences of non-word chars as words
...
This does *not* include newlines. Doing this makes it possible to double-click regions of whitespace to select them just as you can select a word. It also makes word movement bindings behave similarly to TextMate.
2012-10-30 11:56:05 -06:00
Corey Johnson & Nathan Sobo
8c7152a59b
Eliminate 'move-cursor-to-next-word' command
...
We have move-to-end-of-word and move-to-beginning-of-word, which is what we use for the current keybindings.
2012-10-30 11:56:05 -06:00
Corey Johnson
89ac3f1c82
Project.scan works with escaped regex literals
2012-10-29 16:04:01 -07:00
Nathan Sobo
8a3f932bfa
Merge branch 'hide-selection-cursor'
2012-10-29 16:54:34 -06:00
Nathan Sobo
733264dc91
Don't highlight gutter lines when there's a multi-column selection
2012-10-29 16:42:51 -06:00
Nathan Sobo
aa20fbac6d
Ignore an empty last line when indenting/outdenting selected lines
...
This provides more intuitive behavior now that the cursor isn't visible when there's a selection.
2012-10-29 16:16:19 -06:00
Nathan Sobo
db3d788664
Toggle line comments ignores last row of selection if it ends at col 0
...
Now that the cursor is hidden at the end of a selection, it's counter-intuitive for the commenting to extend to the next line since there's no visual indicator that the cursor extends to that location.
2012-10-29 16:04:09 -06:00
Nathan Sobo
88e246b622
Hide the cursor when the selection is not empty
2012-10-29 15:51:32 -06:00
Corey Johnson
47c6a3a790
Ensure spans are ended in buildLineHtml
2012-10-29 13:47:44 -07:00
Corey Johnson
40673549cb
Quotes only automatically close if they are opened after a non-word character.
2012-10-29 13:12:28 -07:00
Corey Johnson
51b2871e02
Remove unused subtract method in point (it did not behave correctly)
2012-10-29 13:12:28 -07:00
Nathan Sobo
c8c581dfd0
Remove Selection#modifyScreenRange and rely on cursor/anchor events
2012-10-29 13:11:17 -06:00
Corey Johnson
1924e92727
Create method getTokenizedBuffer() on language mode
...
Instead of assigning a tokenizedBuffer property on LanguageMode instances from the TokenizedBuffer constructor.
2012-10-29 11:54:14 -07:00
Corey Johnson
82e0a458fa
Do not automatically close quotes when inserted inside a string.
2012-10-29 11:54:13 -07:00
Corey Johnson
f7f64ea9f3
Only log require.resolve warning when verifyExistence is true
2012-10-29 11:54:13 -07:00
Nathan Sobo
e649b2e6c6
Handle standard pasteboard keybindings in the dev tools
...
This commit adds a boolean constructor parameter to the AtomCefClient indicating whether it should handle the standard pasteboard commands for its associated browser. We pass `true` when constructing the client for the dev tools, so these commands work there.
2012-10-29 11:45:16 -06:00
Kevin Sawicki
86c4f7a805
Include objective-c in default bundles
2012-10-27 09:07:59 -07:00
Kevin Sawicki
2531665570
Add Buffer.isEmpty()
...
To be used by Buffer.isModified() for when the
buffer has no backing file
2012-10-27 08:57:55 -07:00
Corey Johnson
d5dfda8a7d
Fix extension keymap loading
2012-10-26 15:36:15 -07:00
Corey Johnson
bdb0d2c709
Log a warning when require.resolve cannot find the file
2012-10-26 15:36:15 -07:00
Corey Johnson
540f651061
Only compile coffee files in src static and vendor
2012-10-26 15:36:15 -07:00
Corey Johnson
70976a96a8
Don't explicitly require .coffee files
2012-10-26 15:36:15 -07:00
Corey Johnson
f0f0985c96
Don't require non-existent stream file
2012-10-26 15:36:15 -07:00
Kevin Sawicki
acb5207d28
Treat file-less buffers as unmodified when empty
2012-10-26 13:56:21 -07:00
Corey Johnson & Nathan Sobo
d6bbe845d6
Merge branch 'master' of https://github.com/github/atom
2012-10-26 12:27:28 -06:00
Corey Johnson & Nathan Sobo
9a8bd47a3e
Merge branch 'hard-tabs'
2012-10-26 12:25:43 -06:00
Corey Johnson & Nathan Sobo
cee3372a87
Look for extension specs in src/extension (more specific) and run the second
2012-10-26 12:25:20 -06:00
Corey Johnson & Nathan Sobo
ed4c543a8d
Fix spec relying on wrong version of tab text
2012-10-26 12:21:20 -06:00
Corey Johnson & Nathan Sobo
86d5c1ccff
💄
2012-10-26 12:20:59 -06:00
Corey Johnson & Nathan Sobo
1db0935447
Use _.multiplyString in building a tab token
2012-10-26 12:20:37 -06:00
Corey Johnson & Nathan Sobo
adf00b60f3
Detect softTabs/hardTabs when an EditSession is created
2012-10-26 12:20:14 -06:00
Corey Johnson & Nathan Sobo
17d74c4883
Detect softTabs/hardTabs when an EditSession is created
2012-10-26 12:09:51 -06:00
Kevin Sawicki
7b2223f6b4
Vendor exuberant ctags
2012-10-26 10:58:10 -07:00
Corey Johnson & Nathan Sobo
3a067bcd71
Add editor:toggle-soft-tabs event
2012-10-26 11:52:53 -06:00
Corey Johnson & Nathan Sobo
487245311e
EditSession#indentLevelForLine detects tabs/spaces for each line
...
This allows folding, auto-indent, etc to work in a file in which *both* tabs and spaces are used to indent. Not that this is a good idea, but at least we handle it gracefully.
2012-10-26 11:52:37 -06:00
Kevin Sawicki
0e89c7a673
💄
2012-10-26 10:41:40 -07:00
Kevin Sawicki
b1697d4f31
Migrate outline-view to new extension folder layout
2012-10-26 10:33:21 -07:00
Corey Johnson & Nathan Sobo
4c24f4ea65
indentSelectedRows works with hard tabs
2012-10-26 11:15:55 -06:00
Corey Johnson & Nathan Sobo
0aa9f8de57
Indent works with hard tabs
2012-10-26 11:15:55 -06:00
Corey Johnson & Nathan Sobo
29351ee5fc
Move setIndentationForBufferRow and indentationForBufferRow to EditSession
2012-10-26 11:15:55 -06:00
Corey Johnson & Nathan Sobo
973c69a043
Ignore rename events for files that have already been deleted
2012-10-26 11:15:22 -06:00
Nathan Sobo
d89979fc61
Merge pull request #86 from github/outline-view
...
Jump to method declaration
2012-10-25 17:54:27 -07:00
Corey Johnson & Nathan Sobo
ef6c51dd32
💄
2012-10-25 15:56:18 -07:00
Corey Johnson & Nathan Sobo
1bb2531f31
Tab can auto-indent at the beginning of a line
2012-10-25 16:27:28 -06:00
Corey Johnson & Nathan Sobo
695e8f1c1e
Rename command-panel:tool-pane event to command-panel:tool-panel
2012-10-25 14:47:47 -07:00
Corey Johnson & Nathan Sobo
3213a91c79
No longer need to wait for fs events in Tree View spec
2012-10-25 14:47:23 -07:00
Corey Johnson
5887d6711d
Remove keybindings-view from default config
2012-10-25 14:10:33 -07:00
Corey Johnson
a8d94f37f7
core:close events close the Tree View (but not the entire window)
2012-10-25 14:10:33 -07:00
Corey Johnson
b4431da6ab
core:close events close Command Panel (but not the entire window)
2012-10-25 14:10:33 -07:00
Corey Johnson
0501eee7ab
Remove rogue tree-view.coffee file
2012-10-25 14:10:33 -07:00