Nathan Sobo
|
826bf6ec61
|
Editor recalls cursor position and scroll state when a previously edited buffer is re-assigned.
|
2012-03-13 15:25:20 -06:00 |
|
Nathan Sobo
|
a96e09f6d1
|
When soft wrap is on, don't position hidden input beyond width of horizontal scroller.
|
2012-03-13 12:14:08 -06:00 |
|
Nathan Sobo
|
f02244412f
|
Disable scrolling on the horizontal scroller when soft wrap is on.
|
2012-03-13 12:13:47 -06:00 |
|
Nathan Sobo
|
8d432c02c1
|
Fix bug where text typed into empty buffer was on the wrong line.
|
2012-03-13 12:12:52 -06:00 |
|
Nathan Sobo
|
d30e183edb
|
Add benchmark for inserting at the end of a file
|
2012-03-13 11:11:17 -06:00 |
|
Nathan Sobo
|
43fbfba68d
|
💄
|
2012-03-12 19:47:25 -06:00 |
|
Nathan Sobo
|
f7b9cf42d7
|
Slight optimization: Pull reference to @lines[0] in loop into a variable
|
2012-03-12 19:47:12 -06:00 |
|
Nathan Sobo
|
8061248d58
|
Cache currentBuilder
|
2012-03-12 19:32:30 -06:00 |
|
Nathan Sobo
|
1dee39042e
|
Assign innerHTML properly on the element underlying the jQuery wrapper
|
2012-03-12 19:30:31 -06:00 |
|
Nathan Sobo
|
9d0f1bc3f7
|
Refresh line numbers in gutter by setting innerHTML for speed
|
2012-03-12 19:15:19 -06:00 |
|
Nathan Sobo
|
633e07d537
|
Export $$$ function, which returns HTML as a string
|
2012-03-12 19:14:53 -06:00 |
|
Nathan Sobo
|
7638375b78
|
Avoid call to jQuery.clean by converting HTML to DOM nodes manually instead of using $
|
2012-03-12 19:14:36 -06:00 |
|
Nathan Sobo
|
5529a0e527
|
Build all lines numbers as a single chunk of html
|
2012-03-12 18:56:58 -06:00 |
|
Nathan Sobo
|
0a38793450
|
Use a DocumentFragment to insert all lines at once
|
2012-03-12 18:51:43 -06:00 |
|
Nathan Sobo
|
a7c5ea08be
|
Merge branch 'master' of github.com:github/atom
|
2012-03-12 18:15:52 -06:00 |
|
Nathan Sobo
|
9a618ccb5e
|
Use raw DOM api to insert lines to avoid slow jQuery.clean
|
2012-03-12 18:15:39 -06:00 |
|
Corey Johnson
|
e7de17aed7
|
Console output is less noisy
|
2012-03-12 17:05:30 -07:00 |
|
Corey Johnson
|
11da15ac99
|
Exit app if exitAppWhenFinished is set
|
2012-03-12 16:40:38 -07:00 |
|
Corey Johnson
|
b39201891f
|
Add native exit method
|
2012-03-12 16:39:20 -07:00 |
|
Corey Johnson
|
4be4f83dce
|
Class method load initializes Cef
|
2012-03-12 16:39:02 -07:00 |
|
Nathan Sobo
|
fa971d1e75
|
Render multiple lines in a single fragment
|
2012-03-12 16:40:14 -06:00 |
|
Corey Johnson
|
b1ba8b051e
|
Fix broken import
|
2012-03-12 14:35:34 -07:00 |
|
Corey Johnson
|
9d3b13a850
|
These comments are line noise
|
2012-03-12 14:28:45 -07:00 |
|
Corey Johnson
|
f0c2746f54
|
Add ability to run benchmarks from rake
|
2012-03-12 14:25:17 -07:00 |
|
Corey Johnson
|
98bc29cdce
|
Benchmarks are run when atom is run with --benchmark argument
|
2012-03-12 14:24:06 -07:00 |
|
Corey Johnson
|
338d4e7ad5
|
Add ability to build and run atom via rake
|
2012-03-12 14:23:33 -07:00 |
|
Corey Johnson
|
cbfa165e5f
|
resources is Resources
|
2012-03-12 14:19:19 -07:00 |
|
Nathan Sobo
|
86cc45f4da
|
Add Editor.spliceLineELements
|
2012-03-12 14:21:00 -06:00 |
|
Corey Johnson
|
d8227ac36d
|
Add atom-build to gitignore
|
2012-03-12 11:51:15 -07:00 |
|
Corey Johnson
|
4a726646c1
|
Rename rake tasks to match their behavior
|
2012-03-12 11:17:32 -07:00 |
|
Corey Johnson
|
f7be856f2f
|
Cache line elements in Editor.
Shaves off 30ms
|
2012-03-09 15:30:21 -08:00 |
|
Corey Johnson
|
8e97fbd5ed
|
document.title is set as the window title
|
2012-03-09 11:02:08 -08:00 |
|
Nathan Sobo
|
99f659fd58
|
Don't clip screen positions that are directly translated from buffer positions.
The translation process is guaranteed to return a valid screen position so there's no need to clip the position again.
|
2012-03-09 10:31:57 -07:00 |
|
Nathan Sobo
|
036902a3cc
|
Only clipToBounds in translatePosition when calling it from clipPosition
|
2012-03-09 10:15:51 -07:00 |
|
Nathan Sobo
|
9aaee17ee7
|
Use querySelectorAll in getLineElement
querySelector only returns a single element, which won't work.
|
2012-03-08 19:54:38 -07:00 |
|
Nathan Sobo
|
53c84137e1
|
Revert "Use DOM's querySelector instead of JQuery's Swizzle for getLineElement"
Broke the build
This reverts commit 9be4dd5053.
|
2012-03-08 19:45:20 -07:00 |
|
Nathan Sobo
|
d21063be9b
|
Merge branch 'master' of github.com:github/atom
|
2012-03-08 19:32:32 -07:00 |
|
Nathan Sobo
|
5c23509f90
|
Use type-explicit copy methods instead of _.clone when we know the type
|
2012-03-08 19:32:18 -07:00 |
|
Nathan Sobo
|
d622c84bd1
|
Freeze cursor positions instead of always returning a copy
|
2012-03-08 19:31:40 -07:00 |
|
Corey Johnson
|
9be4dd5053
|
Use DOM's querySelector instead of JQuery's Swizzle for getLineElement
|
2012-03-08 18:26:06 -08:00 |
|
Corey Johnson
|
1ce161504d
|
Benchmark cascading syntax changes by adding a quote to file
|
2012-03-08 18:25:18 -08:00 |
|
Corey Johnson
|
e673f570cc
|
We have to have pfbenchmark! I love the dan dan noodles.
|
2012-03-08 18:17:58 -08:00 |
|
Corey Johnson
|
095d2c0f19
|
un-f benchmark
|
2012-03-08 18:12:46 -08:00 |
|
Corey Johnson & Nathan Sobo
|
51c02f236c
|
add fpbenchmark and fbenchmark
|
2012-03-08 18:11:40 -08:00 |
|
Corey Johnson & Nathan Sobo
|
ffeab94472
|
Do not use an Atom file in fixtures.
It makes things confusing when doing a global search.
|
2012-03-08 15:28:29 -08:00 |
|
Corey Johnson & Nathan Sobo
|
4bf10ab7c2
|
Gutter isn't updated when a single screen line is modified.
|
2012-03-08 15:19:57 -08:00 |
|
Corey Johnson & Nathan Sobo
|
e04c3aeae8
|
Benchmark insert/delete in a medium sized file
|
2012-03-08 15:19:26 -08:00 |
|
Corey Johnson & Nathan Sobo
|
7854b99bed
|
Remove unnecessary code
|
2012-03-08 14:27:22 -08:00 |
|
Corey Johnson & Nathan Sobo
|
da8d30ab98
|
Call Editor.insertText directly instead of creating a TextInput event
|
2012-03-08 14:27:05 -08:00 |
|
Corey Johnson & Nathan Sobo
|
60affb5d55
|
Defer cursor auto-scrolling until next tick.
Reading the DOM causes a reflow, which slows down character insertion.
|
2012-03-08 14:04:54 -08:00 |
|