Commit Graph

2316 Commits

Author SHA1 Message Date
Nathan Sobo
a033d13c1a Merge branch 'master' of github.com:github/atom into toggle-comments 2012-06-04 11:55:15 -06:00
Nathan Sobo
b667ba4262 If selection is empty when toggling a line comment, keep it empty 2012-06-04 11:50:48 -06:00
Corey Johnson
2f6dd085ee Editor toggle-fold event toggles the largest fold at the cursor position 2012-06-04 09:44:20 -07:00
Corey Johnson & Nathan Sobo
86316c2115 Use last buffer row instead of last screen row to calculate gutter width. 2012-06-02 09:24:27 -07:00
Corey Johnson & Nathan Sobo
fd152ef2a9 When a fold is created inside an existing fold, don't trigger change events or update line map. 2012-06-02 09:21:06 -07:00
Corey Johnson & Nathan Sobo
433a4db5ae Add Fold.isContainedByFold(fold) 2012-06-02 09:19:37 -07:00
Corey Johnson & Nathan Sobo
daa96d8332 Remove triggering of 'fold' and 'unfold' events when fold is created/destroyed.
They aren't being used
2012-06-02 09:17:37 -07:00
Corey Johnson & Nathan Sobo
2f435e08f3 Add regression test for "can't create multiple folds over same region".
Am I using the term regression test correctly?
2012-06-02 08:56:02 -07:00
Nathan Sobo
14e399fdf0 Meta-/ comments out selected lines 2012-06-01 19:38:33 -06:00
Nathan Sobo
9219a1f30b Merge branch 'master' into toggle-comments 2012-06-01 18:09:03 -06:00
Corey Johnson & Nathan Sobo
74a873999e Fix tests that blow up when number of files in fixture directory increased 2012-06-01 15:54:28 -07:00
Corey Johnson & Nathan Sobo
3a8ac78a99 Comments aren't allowed in xcconfig 2012-06-01 15:53:38 -07:00
Corey Johnson
ca4371d9ce The solution to all build problems 2012-06-01 15:35:38 -07:00
Corey Johnson
c4a75492f4 Describe what ResourceConfig does 2012-06-01 15:27:52 -07:00
Corey Johnson
79ce3da4da Copy minimum necessary files to the bundle when LOAD_RESOURCES_FROM_DIR is set. 2012-06-01 15:23:40 -07:00
Corey Johnson
3983a25a98 Use requireStylesheet to load jasmine.css 2012-06-01 15:22:24 -07:00
Nathan Sobo
1d361c94be This setting makes rake test pass for some reason 2012-06-01 15:40:51 -06:00
Nathan Sobo
43f36dbcbb Merge branch 'master' into toggle-comments 2012-06-01 14:29:57 -06:00
Nathan Sobo
3637c5b64b Remove stray console.log 2012-06-01 14:29:47 -06:00
Nathan Sobo
2c35a1f12d LineCommenter.proto.toggleLineCommentsInRange comments / uncomments lines in a selection 2012-06-01 14:28:40 -06:00
Nathan Sobo
4c795718eb Extract a stateForRow method on Highlighter 2012-06-01 14:28:01 -06:00
Nathan Sobo
d8b324e14f WIP: Starting on toggling comments. 2012-06-01 14:03:48 -06:00
Nathan Sobo
58c082445b Merge branch 'master' of github.com:github/atom 2012-06-01 14:01:44 -06:00
Nathan Sobo
74bd510e75 💄 rename ScreenLineFragment to ScreenLine
These objects always span an entire screen line now that we do line-wise folding
2012-06-01 14:01:33 -06:00
Nathan Sobo
2baf374937 Newline at end of file 💄 2012-06-01 14:01:00 -06:00
Corey Johnson
30d07fd1a0 Rename Buffer.numLines to Buffer.getLineCount 2012-06-01 11:25:58 -07:00
Corey Johnson
32b3dfa0ca Better spec error output when running headless 2012-06-01 11:24:08 -07:00
Nathan Sobo
37d423fb60 Fix broken build :-/ 2012-06-01 12:22:54 -06:00
Nathan Sobo
5b20bfd994 Method name 💄 for Highlighter 2012-06-01 12:15:26 -06:00
Corey Johnson
5a0eb5814d We are using scrollTop instead of -wekbit-transform, update specs to reflect this. 2012-06-01 11:06:14 -07:00
Corey Johnson
6952e09646 Moved font-size back to 'px' and fixed specs 2012-06-01 11:06:13 -07:00
Corey Johnson
4634508c37 ctrl-9 is fold ctrl-( is fold all 2012-06-01 11:06:13 -07:00
Corey Johnson
2623724fd4 Add fold-all event to editor 2012-06-01 11:06:13 -07:00
Corey Johnson
1dce0ad2e7 Allow folds on line 0 2012-06-01 11:06:13 -07:00
Corey Johnson
c087961451 Auto-indent doesn't cascade indent changes. 2012-06-01 11:06:13 -07:00
Corey Johnson
13aab2ed8c When adjusting Editor.scrollView, use scrollTop instead of translate3d 2012-06-01 11:06:13 -07:00
Corey Johnson
3c826ec898 Use 'pt' instead of 'px' for font sizes 2012-06-01 11:06:13 -07:00
Nathan Sobo
118a48bb47 Fix bug where canceling an autocomplete could delete a previously confirmed completion 2012-06-01 12:00:58 -06:00
Nathan Sobo
9cb067f162 Enable auto-indent for 1 more spec + 💄 2012-05-31 18:22:54 -06:00
Nathan Sobo
502208dcf4 Enable auto-indent for spec 2012-05-31 18:17:39 -06:00
Nathan Sobo
9f5a7ceefe Merge branch 'master' into structural-folding 2012-05-31 18:05:13 -06:00
Nathan Sobo
72b971e01e Revert "Replace @getLastVisibleScreenRow with @getFirstVisibleScreenRow"
This reverts commit 89ac1f50af.
2012-05-31 17:56:26 -06:00
Nathan Sobo
645f57bb40 Merge branch 'master' of github.com:github/atom 2012-05-31 17:49:31 -06:00
Nathan Sobo
acb01bba37 Correctly render lines when destroying a fold forces an autoscroll 2012-05-31 17:48:50 -06:00
Corey Johnson
4f5a03ee4d Merge branch 'master' into structural-folding 2012-05-31 16:24:01 -07:00
Corey Johnson
89ac1f50af Replace @getLastVisibleScreenRow with @getFirstVisibleScreenRow
My 💄 commit awhile back was more than skin deep.
2012-05-31 16:23:38 -07:00
Corey Johnson
1a9566d954 Merge branch 'master' into binding-viewer 2012-05-31 15:55:23 -07:00
Corey Johnson
130361fc1c Keybinding view is an extension 2012-05-31 15:54:40 -07:00
Corey Johnson
1d1eeb5c09 meta-w is a global keybinding 2012-05-31 15:26:59 -07:00
Corey Johnson
b03230cc6c Move auto indent/outdent to selection spec 2012-05-31 13:57:04 -07:00