Corey Johnson
5d70f416fc
Remove unused regex test from require.js
2012-09-26 16:30:22 -07:00
Corey Johnson
2095955e79
No longer needed
2012-09-26 16:30:21 -07:00
Kevin Sawicki
5301b29649
Append wrap guide to editor element
...
This prevents unneeded horizontal scrollbars when
the wrap guide exceeds the buffer size and the
buffer doesn't have any 80 character or greater lines
2012-09-26 16:26:57 -07:00
Corey Johnson
f95e67d8cd
Triple click selects entire line (including \n). Fixes #44
2012-09-26 13:53:51 -07:00
Corey Johnson
282da8b975
Output the syntax scope of the cursor by pressing cmd-alt-p
2012-09-26 13:53:51 -07:00
Nathan Sobo
2dbba203a0
Allow begin/end rules with back-references to be nested
2012-09-26 12:10:00 -06:00
Nathan Sobo
1f8ce50261
Memoize Rule.prototype.getIncludedPatterns to shave a cheap 2% off profile
2012-09-26 09:57:35 -06:00
Corey Johnson
8328875021
Regex searches are case-sensitive if any letter is capitalized.
...
Fixes bug introduced in commit aa3f674948
2012-09-25 18:35:44 -07:00
Corey Johnson
dd81e69bfb
Merge branch 'master' of https://github.com/github/atom
2012-09-25 17:24:23 -07:00
Corey Johnson
aa3f674948
Regex's in the command panel are treated as case-insensitive if there are no non-escaped letters in the pattern
...
/hello becomes /hello/i
/he\Slo becomes /he\Slo/i
/Hello/i becomes /Hello/i
/Hello/ becomes /Hello/
2012-09-25 17:21:35 -07:00
Nathan Sobo
1d9cc53e7f
RootView focuses the *first* focusable child.
...
This prevents an issue where the fuzzy finder's mini-editor would get focused again when the fuzzy finder was being hidden.
2012-09-25 17:38:48 -06:00
Corey Johnson
533ad84d03
Buffer.scanInRange can do a case-insensitive search
2012-09-25 16:30:44 -07:00
Nathan Sobo
1383a94d60
Second attempt: don't blow up when commenting in files w/ no language bundle
2012-09-25 17:14:25 -06:00
Corey Johnson
00f7796e93
Load local bundles from ~/.atom/bundles
2012-09-25 15:40:12 -07:00
Corey Johnson & Nathan Sobo
685cbc3575
When focused, RootView retains focus itself if it has no focusable children
2012-09-25 15:11:07 -06:00
Nathan Sobo
5f253d78e9
Optimization: Use absolute positioning instead of flexbox in editor
...
Flexbox was causing layouts and repaints to cover the entire scroll view instead of just the edited line. This cuts down on DOM manipulation cost significantly.
2012-09-25 14:58:31 -06:00
Corey Johnson
a6352497b9
Merge branch 'master' of https://github.com/github/atom
2012-09-25 13:22:24 -07:00
Corey Johnson
d13796074b
RootView passes focus to a child element with a tabindex of -1 (if one exists)
2012-09-25 13:22:06 -07:00
Corey Johnson
aa7325b355
RootView (instead of Window) handles opening an empty buffer if no path is given.
2012-09-25 12:40:19 -07:00
Nathan Sobo
b4b34b0489
Don't explode on meta-/ if there isn't a valid comment regex
2012-09-25 13:27:46 -06:00
Nathan Sobo
b00d0bacd9
When uncommenting multiple lines, don't raise an error if a line isn't commented
...
Previously, we were assuming that when uncommenting, that every line would match the comment regex. But this might not be the case. If the first line in the selection is commented but some subsequent lines aren't, they won't match the comment regex. So this commit guards for that case.
2012-09-25 13:19:59 -06:00
Nathan Sobo
d3df0a305b
Use <pre> tag for lines instead of using white-space: pre css property
...
One less CSS rule, since the whitespace behavior of a `pre` tag is already baked into the browser's default styles.
2012-09-25 13:09:12 -06:00
Corey Johnson
1c4ccd4db9
escape does not trigger autocomplete
2012-09-24 16:24:17 -07:00
Corey Johnson
ae0be397de
Merge branch 'master' of https://github.com/github/atom
2012-09-24 13:42:10 -07:00
Corey Johnson
70e31b9677
getNextMatch no longer called
2012-09-24 11:17:31 -07:00
Nathan Sobo
497fb4dde8
Show dev tools on error rather than toggling (which could end up hiding them!)
2012-09-24 11:52:30 -06:00
Corey Johnson
efab25a1d1
Merge remote-tracking branch 'origin/master' into making-things-easy
2012-09-21 16:37:29 -07:00
Kevin Sawicki
7cc738e12a
Remove unused bootstrapper
2012-09-20 16:24:08 -07:00
Kevin Sawicki
ea77b60b15
Serialize command panel history
...
Retains up to 100 commands between reloads
2012-09-20 14:06:12 -07:00
Kevin Sawicki
c42c824f0a
Don't adjust match index when no matches exist
2012-09-20 10:10:58 -07:00
Kevin Sawicki
8393af2cd6
Serialize root view font size
2012-09-20 09:31:04 -07:00
Kevin Sawicki
7278bc62c6
Ensure start row is always >= 0
...
Previously if a file was a single line
it couldn't be deleted using the delete
line command because the start row would
index one row back which would be -1 and
therefore not be able to report a length
for use in the delete range.
2012-09-20 09:00:37 -07:00
Kevin Sawicki
f241bc5d2b
Delete entire region when deleting a folded line
2012-09-19 18:16:45 -07:00
Kevin Sawicki
f7670dc1a0
Add support for save all via meta-S
2012-09-19 17:03:50 -07:00
Corey Johnson
1168404d6d
Merge remote-tracking branch 'origin/master' into making-things-easy
2012-09-19 16:12:46 -07:00
Kevin Sawicki
a269eb39d0
Store column position as field
2012-09-19 15:41:50 -07:00
Kevin Sawicki
b18627ab9b
Add delete line support bound to meta-d key
2012-09-19 15:23:10 -07:00
Kevin Sawicki
e9abf1e3b9
Add wrap guide extension
...
Initially places a vertical line in each editor
at 80 characters.
2012-09-19 11:28:20 -07:00
Kevin Sawicki
47ed19f851
Substract scroll top when paging up
2012-09-19 08:52:05 -07:00
Kevin Sawicki
9ba3b74a9d
Add support for Page Up and Page Down keys
2012-09-18 19:53:23 -07:00
Corey Johnson
96e2a66065
Merge branch 'master' into making-things-easy
...
Conflicts:
.gitignore
Rakefile
2012-09-18 15:43:17 -07:00
Kevin Sawicki
8c1125457b
Persist scrollTop value of tree view
...
This will be set whenever attached
2012-09-18 15:15:06 -07:00
Nathan Sobo
7937380eed
Projects w/ EditSessions for now-deleted files can now be reloaded w/out error
2012-09-18 13:30:16 -06:00
Nathan Sobo
68effe3303
Make TreeView focus the active editor when a file is selected w/ the keyboard
2012-09-18 13:00:16 -06:00
Corey Johnson
71562a6c33
Directory entries can only be files or other directories.
...
Does not handle file like broken symlinks for now
2012-09-11 11:07:59 -07:00
Corey Johnson & Nathan Sobo
85c37fd652
Move atom.resourcePath to window.resourcePath
...
The resourcePath is now set using a url param. Because resourcePath is needed by require.js, it needs to be on `window` rather than `atom`.
2012-09-10 17:22:21 -07:00
Corey Johnson & Nathan Sobo
2d3c06b86d
Handle begin/end patterns with no name or contentName
...
I'm looking at you ruby.
2012-09-07 18:54:54 -07:00
Corey Johnson & Nathan Sobo
12e2fbdb14
Add support for back-references in TextMate grammars
2012-09-07 15:27:13 -07:00
Corey Johnson & Nathan Sobo
b00830cbc8
A pattern with no name or contentName does not insert undefined into scope array
2012-09-07 11:20:56 -07:00
Corey Johnson & Nathan Sobo
10c36191ec
Zero-length start patterns work.
...
Add zero-length captures back into OnigRegEx.BuildCaptureIndices to see zero length captures. Handle zero-length captures by continuing to scan line. Does not handle infinite loop possibility yet.
2012-09-07 10:07:54 -07:00