Commit Graph

2186 Commits

Author SHA1 Message Date
Nathan Sobo
9beff8edbb Un-F 2012-05-21 13:36:19 -07:00
Nathan Sobo
4f60135d81 Remove random indent that was causing editor spec not to run 2012-05-21 13:35:54 -07:00
Nathan Sobo
a57ccc1b7f Remove specs that don't matter anymore w/ linewise folding 2012-05-18 20:59:58 -06:00
Nathan Sobo
c491d92437 Nested folds can start at the same row as the fold that contains them
...still need to test destroying the outer fold though.
2012-05-18 20:14:05 -06:00
Nathan Sobo
9757786257 Add passing spec for nested folds (that start on different rows) 2012-05-18 19:39:23 -06:00
Nathan Sobo
03ae0bbbb6 Guts on the floor, but 2 line-wise fold specs are passing and the renderer is getting there 2012-05-18 19:22:56 -06:00
Corey Johnson & Nathan Sobo
39e02bbf9f wip: what nathan and corey did 2012-05-18 15:15:44 -07:00
Corey Johnson & Nathan Sobo
4c92be669e Remove non-passing unneeded spec 2012-05-18 14:12:41 -07:00
Corey Johnson & Nathan Sobo
8e9db80b58 wip: another failing fold test 2012-05-18 11:59:54 -07:00
Corey Johnson & Nathan Sobo
20c9b61b91 Fix issue where creating a second fold on a wrapped line fragment caused a duplicate line to be rendered 2012-05-18 12:22:40 -06:00
Corey Johnson & Nathan Sobo
87e6b0c517 a zero-index fixture file 2012-05-18 09:43:44 -07:00
Corey Johnson & Nathan Sobo
06d1f8a718 Create a failing fold spec 2012-05-17 17:20:17 -07:00
Corey Johnson & Nathan Sobo
608ccc38e8 Update rendered lines when buffer changes occur outside/straddling rendered region 2012-05-17 16:06:39 -07:00
Corey Johnson & Nathan Sobo
fdf9676ea1 Add scrollBottom to editor 2012-05-17 16:04:57 -07:00
Corey Johnson & Nathan Sobo
cfb49aeba9 two-hundred 2012-05-17 16:04:06 -07:00
Corey Johnson
857486bcf1 After buffer changes, remove any lines that are beyond the current last rendered screen row. 2012-05-17 10:34:54 -07:00
Corey Johnson
52fe580cf6 Test that inserting lines re-renders the gutter 2012-05-17 10:17:05 -07:00
Corey Johnson
0e09659d79 Gutter adjusts its width to account for the width of the last line number 2012-05-17 10:16:20 -07:00
Corey Johnson
7a82bf2679 💄 2012-05-17 08:49:03 -07:00
Corey Johnson
00f11d86d6 Fix failing benchmark 2012-05-16 17:25:33 -07:00
Corey Johnson
f05b64b483 Better error messages for failed benchmarks 2012-05-16 17:25:07 -07:00
Corey Johnson
734c461110 make sure require.coffee is always compiled 2012-05-16 16:32:06 -07:00
Corey Johnson
1d615c3576 Preprocessor can't distinguish between a macro that is defined with a value, and one that is simply defined. So I removed the LOAD_RESOURCES_FROM_DIR from the release build 2012-05-16 15:08:16 -07:00
Corey Johnson
e20d2dd9cb better LOAD_RESOURCES_FROM_DIR macro detection in atom.mm 2012-05-16 14:32:08 -07:00
atom-bot
295f2ac19a remove "say" call from build phase 2012-05-16 14:15:02 -07:00
Corey Johnson
9c8722768a LOAD_RESOURCES_FROM_DIR is a build env set in ResourceConfig.xcconfig 2012-05-16 14:05:06 -07:00
Corey Johnson
7d512cf3d7 shared schemes, all others can be deleted 2012-05-16 14:05:06 -07:00
Nathan Sobo
5045d68be2 2012-05-16 14:47:09 -06:00
Nathan Sobo
a7b5f0c249 Un-F 2012-05-16 14:12:11 -06:00
Nathan Sobo
9aae2bc4e7 Fix breakage caused by method rename 2012-05-16 14:12:05 -06:00
Nathan Sobo
92395a9cfb Merge branch 'master' of github.com:github/atom
Conflicts:
	src/app/editor.coffee
2012-05-16 14:07:44 -06:00
Nathan Sobo
442e89e77e 💄 – rename render/updateLines to render/updateVisibleLines 2012-05-16 14:03:26 -06:00
Corey Johnson
e007b090d8 Cleaning up xcode project 2012-05-16 12:55:53 -07:00
atom-bot
fdab51aee2 add LOAD_RESOURCES_FROM_DIR to Atom Project 2012-05-16 12:51:24 -07:00
Nathan Sobo
2d8ba3b1ee Use translate3d to scroll lines / gutter in attempt to improve repaint.
Also: Add custom scrollTop method to editor that manages all the custom optimizations we are doing around scrolling.
2012-05-16 13:47:59 -06:00
Nathan Sobo
66b711a026 Kill logging 2012-05-16 13:46:36 -06:00
Corey Johnson
4fb19bf9cc Fixes bug in benchmarks
Need to investigate further
2012-05-16 12:31:59 -07:00
Corey Johnson
8e808ae3c1 Clear rootViewStates after each benchmark 2012-05-16 12:17:01 -07:00
Corey Johnson
2c508f5a31 Fix tests
Certain tests resize the editor and expect the number of lines to adjust, this forces the test to meet that expectation.
2012-05-16 11:30:25 -07:00
Corey Johnson
05903a6e56 💄 2012-05-16 11:21:28 -07:00
Corey Johnson
1b2b5b3311 💩 2012-05-16 11:06:42 -07:00
Corey Johnson
3614ad6e76 Update lines when the font size changes 2012-05-16 10:58:19 -07:00
Corey Johnson
85c0d6a35a Only update lines if it is needed 2012-05-16 10:58:02 -07:00
Corey Johnson
399fc71b3c Make Atom SpacePen view's default to empty object (where needed) 2012-05-16 10:35:50 -07:00
Corey Johnson
a866d53e96 SpacePen's constructor doesn't default first arg to an empty object
If you want your view's initialize, class or content argument to default to an empty object, do it yourself!
2012-05-16 10:35:00 -07:00
Corey Johnson
55e3f94a35 Remove log 2012-05-16 10:33:05 -07:00
Corey Johnson
bf4b41e482 Revert "Don't trigger scroll event on edit session load, it is called automatically "
This reverts commit cae7c18db4.
2012-05-16 09:07:19 -07:00
Corey Johnson
27f3d3d03d Use scrollView in benchmarks 2012-05-15 17:39:44 -07:00
Corey Johnson
e691f1e73a Errors thrown when running benchmarks are logged to the console 2012-05-15 17:39:23 -07:00
Corey Johnson
aed346cfcf Fail if the benchmarks fail 2012-05-15 17:00:54 -07:00