Antonio Scandurra
7f3160eba6
Port .selectLinesContainingCursors() specs
2015-09-23 15:34:42 +02:00
Antonio Scandurra
57a006d19b
Start porting scroll-related specs
2015-09-23 15:34:41 +02:00
Antonio Scandurra
37fb253bfd
Prevent default for mousewheel event on mini editors
...
(ref. 0346e58
)
2015-09-23 15:34:27 +02:00
Antonio Scandurra
ddd7aacd9d
💚 Fix TextEditorComponent specs
2015-09-23 15:34:22 +02:00
Nathan Sobo
c7ecad5576
Remove EditorView
2015-09-18 20:48:45 -06:00
Antonio Scandurra
12b926c82a
🔥
2015-09-17 17:15:51 +02:00
Antonio Scandurra
3575928cce
Move continuous reflow setting into TextEditorElement
2015-09-17 17:14:00 +02:00
Antonio Scandurra
91bb8f518d
Merge branch 'master' into as-continuous-reflow
2015-09-17 16:58:37 +02:00
Antonio Scandurra
ad83a03440
Merge branch 'master' into as-recycle-nodes
...
# Conflicts:
# src/line-numbers-tile-component.coffee
# src/lines-tile-component.coffee
2015-09-15 11:50:54 +02:00
Antonio Scandurra
9af7795a7e
Avoid skipping null bytes
...
Now that we build DOM nodes via `document.createElement`, there's no need to
skip null byte characters (nor to avoid to pair them) because the browser will
keep them in the document (unlike `innerHTML`).
2015-09-14 11:45:29 +02:00
Antonio Scandurra
51050bde19
Remove z-index
specs
2015-09-08 19:37:41 +02:00
Antonio Scandurra
23cb2740cd
🐎 Remove class from tiles
2015-09-08 16:44:44 +02:00
Antonio Scandurra
786cd82e26
💚
2015-09-08 16:28:19 +02:00
Antonio Scandurra
e2590f78d1
📝 Fix wording on specs
2015-09-07 14:09:44 +02:00
Antonio Scandurra
c865e6123f
💚
2015-09-07 13:49:54 +02:00
Antonio Scandurra
9eed6c7834
Add "Continuous Reflow" mode
2015-09-07 13:25:13 +02:00
Nathan Sobo
5be64cdc89
Merge pull request #8627 from atom/ns-terminate-drag-on-any-text-change
...
Terminate drag on any buffer change
2015-09-01 14:22:29 -06:00
Nathan Sobo
f3def3a7ed
Terminate drag on any buffer change
...
Not just text insertion.
2015-09-01 12:58:34 -06:00
Nathan Sobo
f1276f59de
Autoscroll when mouse gets close to the edge of the editor scroll view
...
Previously, we required the cursor to exceed the bounds of the editor,
but that makes it impossible to scroll when the window is maximized.
2015-09-01 10:43:45 -06:00
Nathan Sobo
012f8e40fc
Add specs for mouse-based autoscroll; fix a couple existing specs
2015-08-28 12:56:59 -06:00
Antonio Scandurra
340fe7e534
📝 Fix wording on specs
...
Thanks, @maxbrunsfeld! 🎆
2015-08-28 09:45:55 +02:00
Antonio Scandurra
fa28aef2b5
Put a decreasing z-index
on line numbers
2015-08-27 12:47:43 +02:00
Antonio Scandurra
9ea62673d2
Put a decreasing z-index
on line-numbers tiles
2015-08-27 12:15:55 +02:00
Antonio Scandurra
ca285d3fe3
💚 Correct typo in container's height specs
2015-08-27 12:12:45 +02:00
Nathan Sobo
6bfa228060
Merge pull request #8520 from atom/as-lines-height
...
Change lines container height based on `TextEditorElement` dimensions
2015-08-26 17:21:52 -06:00
Jacek Kopecky
3a81414155
🔥 redundant old tests
2015-08-26 21:52:01 +01:00
Jacek Kopecky
e4b189c6c0
add tests
2015-08-26 21:04:09 +01:00
Antonio Scandurra
b5c0f5ac0b
Change lines container height based on boundingClientRect
2015-08-26 16:21:51 +02:00
Nathan Sobo
55a0be9c81
Merge pull request #8377 from atom/ns-select-screen-lines-from-gutter
...
Select screen rows when click-dragging in gutter
2015-08-19 14:15:34 -06:00
Nathan Sobo
8ae3761cd7
Terminate selection drag on text input
...
On recent versions of OS X Yosemite, there is a delay before we receive
the `mouseup` event when dragging selections with the trackpad. This
means that we’re frequently accidentally inserting text before the
selection process terminates, leading to unexpected selections after the
text insertion. This fixes that behavior and makes the behavior more
straightforward even in the case where the mouse button is remains held
down during text insertion.
2015-08-19 13:44:17 -06:00
Nathan Sobo
31bdd563ed
Select by buffer row on gutter click, but by screen row on gutter drag
2015-08-19 12:46:20 -06:00
Nathan Sobo
3cf9238d79
Select screen rows when click-dragging in gutter
...
…Instead of entire buffer rows
2015-08-19 12:46:20 -06:00
Nathan Sobo
fbea2d7954
Autoscroll correctly when dragging gutter selections
...
* Explicitly assign the orientation of the selection when it crosses
the initially clicked row.
* Autoscroll to the cursor, not the entire selection.
2015-08-12 13:13:15 -06:00
Antonio Scandurra
85a982f42b
💚 Clear pending frames on folding specs
2015-08-11 12:00:59 +02:00
Nathan Sobo
db72ce8362
Defer merging likewise gutter selections until mouseup
2015-08-04 11:29:08 -06:00
Nathan Sobo
52e640156c
Defer selection merge until dragging completes
2015-08-03 21:43:43 -06:00
Nathan Sobo
d1dec4e0cf
Don’t autoscroll to selection when double- or triple-click dragging
2015-07-28 16:16:34 -06:00
Antonio Scandurra
b00c148de8
Merge pull request #8098 from atom/as-tiles-z-index
...
Render tiles upper in the stack in front of the ones below
2015-07-28 10:13:20 +02:00
Ben Ogle
02ad3fe298
Merge pull request #8094 from smashwilson/overlay-class
...
Specify class attributes directly for overlay nodes
2015-07-27 15:36:42 -07:00
Nathan Sobo
f659bc20a2
Fix occasional spec flakiness on travis
2015-07-27 15:14:07 -06:00
Antonio Scandurra
e374425d7a
Render tiles upper in the stack in front of the ones below
2015-07-27 20:16:36 +02:00
Ash Wilson
0b1a303d5b
✅ Spec for overlay element class.
2015-07-27 10:52:45 -04:00
Nathan Sobo
c18db48f54
Fix specs
2015-07-23 12:03:20 -06:00
Max Brunsfeld
a60f330628
Default maintainHistory marker option to false
2015-07-21 13:27:05 -07:00
Antonio Scandurra
eb3e1437d0
✅ Add spec to check for tile background color
2015-06-30 14:52:47 +02:00
Antonio Scandurra
d6ac7863c9
Merge branch 'master' into as-tiled-gutter
2015-06-19 20:12:43 +02:00
Antonio Scandurra
d7156ff387
Remove event listeners from orphaned gutters
2015-06-19 10:24:48 +02:00
Antonio Scandurra
a3a8d8417b
Merge branch 'as-remove-gutter-from-view-registry' into as-tiled-gutter
2015-06-18 19:58:33 +02:00
Antonio Scandurra
b04b0a8dc4
🐛 Fix race condition as well
2015-06-17 13:48:31 +02:00
Antonio Scandurra
57350b7492
Finish porting TextEditorComponent
specs
2015-06-12 18:22:43 +02:00