Commit Graph

2160 Commits

Author SHA1 Message Date
Nathan Sobo
0d093c3014 2012-05-16 17:28:07 -06: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
Corey Johnson
d9dbca122f Force benchmark ajax call to be synchronous 2012-05-15 16:59:06 -07:00
Corey Johnson
cae7c18db4 Don't trigger scroll event on edit session load, it is called automatically
Fixes partially rendered lines when you reload
2012-05-15 15:28:10 -07:00
Corey Johnson
aacd077749 Editor.renderLines() calls updateLines (more DRY) 2012-05-15 14:47:59 -07:00
Corey Johnson
484b55800a Call updateLines when lines are removed from buffer 2012-05-15 14:27:22 -07:00
Corey Johnson
91aebde968 Only update gutter when editor is attached 2012-05-15 12:32:46 -07:00
Corey Johnson
54a3823606 Buffer change events update the @lastRenderedScreenRow 2012-05-15 12:29:59 -07:00
Corey Johnson
63d53af577 💩 2012-05-15 10:46:58 -07:00
Corey Johnson
8cbd81b7ac don't fail build if benchmark fails 2012-05-15 10:22:47 -07:00
Corey Johnson
6515cada2d check to see if the build passes without the 9000-line-file.after-opening.move-to-beginning-of-word benchmark 2012-05-15 10:16:12 -07:00
Corey Johnson
80c066b03b The test for tabs in a token was totally wrong. Now it is totally right. 2012-05-15 10:12:56 -07:00
Corey Johnson
6b3664a040 Vertical scrollbar height is updated when switching buffers 2012-05-15 10:02:56 -07:00
Corey Johnson
facd7082d0 optimization: only tokens containing tabs are split into multiple tokens 2012-05-15 08:39:50 -07:00
Corey Johnson & Nathan Sobo
171e4cc2a5 Use LOAD_RESOURCES_FROM_DIR macro to indicate that resources should be loaded from a path rather than the bundle 2012-05-14 17:43:55 -06:00
Corey Johnson & Nathan Sobo
78155de740 Un-F 2012-05-14 16:55:35 -06:00
Corey Johnson & Nathan Sobo
abc230eee3 Fix bug: file finder correctly focuses editor after opening a file. 2012-05-14 16:35:03 -06:00
Corey Johnson & Nathan Sobo
9079bcb103 Meta-a selects everything 2012-05-14 16:18:37 -06:00
Corey Johnson & Nathan Sobo
13553f79bc Benchmark movement of cursor that scrolls the editor's scroll view 2012-05-14 15:44:23 -06:00
Corey Johnson & Nathan Sobo
550bd0a979 Run more trials in benchmark that opens a 9k line file 2012-05-14 15:43:53 -06:00
Corey Johnson & Nathan Sobo
e8838b95fc Don't load user configuration for benchmark, since it changes the performance curve 2012-05-14 15:43:26 -06:00
Corey Johnson & Nathan Sobo
513e15e369 Make editor tall so that all line numbers are rendered for this test 2012-05-14 15:42:51 -06:00
Corey Johnson & Nathan Sobo
d99a12b6cf Don't defer scroll after cursor changes position to make scrolling feel smoother 2012-05-14 15:42:31 -06:00
Corey Johnson
b35a2502c6 Gutter line numbers are rendered similarly to the scroll view's lines 2012-05-14 12:32:53 -07:00
Corey Johnson
5e4aef95d0 Only visible lines numbers are rendered by the gutter 2012-05-14 09:53:58 -07:00
Corey Johnson
95440cc9dc bufferRowsForScreenRows method on editor and renderer take start/end arguments 2012-05-14 09:53:58 -07:00
Corey Johnson
63e9af6109 LineMap.bufferRowsForScreenRows stops traversing line map when endScreenRow is exceeded 2012-05-14 09:53:58 -07:00
Nathan Sobo
73c51583e6 Add benchmark for inserting newline in big file 2012-05-11 18:44:15 -06:00