Kevin Sawicki
1e1f4cf173
Merge pull request #2662 from atom/ks-align-hard-tabs
...
Align hard tabs
2014-06-19 09:41:15 -07:00
Nathan Sobo
388763e7cd
Wait to measure characters if editor is hidden
...
Also, when characters *are* measured, request a display update
2014-06-19 04:19:51 -06:00
Nathan Sobo
f22e4225c3
Break into separate specs for lineHeight, fontSize, and fontFamily
2014-06-19 03:35:35 -06:00
Nathan Sobo
17f9cc49f2
Honor the center: true option in scrollTo* methods
...
Fixes #2648
2014-06-18 21:48:14 -06:00
Kevin Sawicki
fe2cb046c3
Verify token screen and buffer delta
2014-06-18 17:26:38 -07:00
Kevin Sawicki
355f54ba00
Test odd-numbered tab length alignment
2014-06-18 17:10:10 -07:00
Kevin Sawicki
b56d4c6181
Update more expected tab lengths
2014-06-18 16:54:56 -07:00
Kevin Sawicki
ad9e2ab869
Update specs where tab is now only 1 space
2014-06-18 16:48:00 -07:00
Kevin Sawicki
c4c5d72bf1
Test multiple tab stops per line
2014-06-18 16:37:23 -07:00
Kevin Sawicki
0504244066
Test multiple tab lengths
2014-06-18 16:25:31 -07:00
Kevin Sawicki
8560526158
Add initial spec of hard tabs aligning
2014-06-18 16:24:35 -07:00
Ben Ogle
02757fc2de
💄
2014-06-18 14:22:05 -07:00
Ben Ogle
d5ea766541
Make click of fold marker unfold the row
2014-06-18 14:07:55 -07:00
Ben Ogle
7a9710b8c3
Add fold markers to folded lines
...
Fixes #2634
2014-06-18 13:47:38 -07:00
Nathan Sobo
8d87eb2ed6
Style the .line-numbers div to be compatible w/ both themes and the GPU
...
The .line-numbers div has to have an opaque background because it's
sent as a texture to the GPU, and otherwise it will have isuses with
subpixel antialiasing.
However, themes style the background of the .gutter div, which was
getting obscured by the opaque background of the line numbers. This
commit adds the .gutter class to the .line-numbers div as well and
ensures it always fills the entire height of the editor.
2014-06-18 12:36:40 -06:00
Kevin Sawicki
29d26a4fae
Increase timeout on Windows CI
2014-06-18 10:04:41 -07:00
Nathan Sobo
53c363b853
Merge pull request #2615 from adnelson/feature/delete-to-end-of-line
...
added delete to end of line
2014-06-18 10:46:48 -06:00
Corey Johnson
2e73a46cbc
Merge pull request #2603 from atom/cj-expose-resizing-to-editor
...
Expose resizing to editor
2014-06-18 09:19:43 -07:00
Ben Ogle
e89e2141d7
Merge pull request #2605 from atom/bo-ns-highlights
...
Add highlight decorations
2014-06-17 17:42:18 -07:00
probablycorey
ff0cddfd1d
Merge remote-tracking branch 'origin/master' into cj-expose-resizing-to-editor
2014-06-17 17:22:10 -07:00
Ben Ogle
a7ec7497e2
nof
2014-06-17 17:09:26 -07:00
Nathan Sobo
2fffbba503
Eliminate Decoration class and use plain objects instead
2014-06-17 17:35:56 -06:00
Corey Johnson & Nathan Sobo
4564a39392
Remove measureScrollView helper
2014-06-17 16:09:23 -07:00
Corey Johnson & Nathan Sobo
068c1e6249
Use polling to detect editor resize
2014-06-17 16:07:07 -07:00
Nathan Sobo
edadedce7b
Give highlight decorations unique id's to avoid potential React errors
...
Using the marker's id plus the decoration class can cause an error in
the event we apply a decoration with the same class twice to the same
marker. This is admittedly unlikely, but I think it's cleaner to just
allocate unique id's for decoration objects.
2014-06-17 15:03:45 -06:00
Nathan Sobo
89be77b0a9
💄
2014-06-17 14:47:49 -06:00
Nathan Sobo
99ba20ae0d
Don't render empty highlights
2014-06-17 14:47:12 -06:00
Corey Johnson
c06f5911c6
Update editor height change spec
2014-06-17 13:26:56 -07:00
Kevin Sawicki
3de926a1af
Hide when no deprecations
2014-06-17 11:36:07 -07:00
Kevin Sawicki
3601aac136
Correct deprecation label
2014-06-17 11:32:53 -07:00
Kevin Sawicki
de8b498402
Add deprecations to spec runner
2014-06-17 11:28:01 -07:00
Ben Ogle
ef09fbbfb2
Remove softWrap decoration option
2014-06-17 11:24:27 -07:00
Nathan Sobo
14bed8a3c8
Merge pull request #2587 from atom/bo-ns-input-handling
...
Handle textInput events in a way that works with autocomplete-plus
2014-06-17 10:11:34 -06:00
Ben Ogle
04bbe393d4
Remove log lines
2014-06-16 16:51:46 -07:00
Ben Ogle
c21f8a5a6c
💄 clean up spec names
2014-06-16 16:05:48 -07:00
Ben Ogle
32fba97c3a
Add a spec for highlights in folds
2014-06-16 15:56:55 -07:00
Ben Ogle
dff27eba18
Specs for highlights
2014-06-16 15:36:09 -07:00
Ben Ogle
d2908c75fc
Rename redundant describe
2014-06-16 15:36:09 -07:00
Ben Ogle
084632a985
Rename Selection(s)Component to Highlight(s)Component
2014-06-16 15:36:08 -07:00
Ben Ogle
002e14990b
Rename bufferRowHasClass
2014-06-16 15:36:08 -07:00
Ben Ogle
3a3fc4b614
Add a spec for screen line changes
2014-06-16 15:36:08 -07:00
Ben Ogle
e128212410
Fix decoration specs to work with markers only
2014-06-16 15:36:08 -07:00
Ben Ogle & Nathan Sobo
120e2a3bdb
Move decoration Editor specs to DisplayBuffer
2014-06-16 15:36:08 -07:00
Ben Ogle & Nathan Sobo
7142022f05
Add intersection support to DisplayBuffer::findMarkers
2014-06-16 15:36:08 -07:00
Ben Ogle & Nathan Sobo
25520a4cad
Add containedInScreenRange to DisplayBuffer::findMarkers
2014-06-16 15:36:08 -07:00
Ben Ogle & Nathan Sobo
56da6399b8
Add startScreenRow and endScreenRow to DisplayBuffer::findMarkers
2014-06-16 15:36:08 -07:00
Allen Nelson
8411d41621
deleting only selection if selection is not empty
2014-06-16 16:13:40 -05:00
Allen Nelson
fc462fcd21
added delete to end of line
2014-06-16 10:59:55 -05:00
Nathan Sobo
9e6756ed6d
Don't perform an update in response scroll view dimension changes
...
We always measure the scroll view in the ::componentWillUpdate hook, so
performing *another* update in response to the measurement causes an
invariant violation in react. Whenever we are measuring, we are always
already updating.
2014-06-13 17:07:41 -06:00
Corey Johnson
025370b9f8
Add editor component resize spec
2014-06-12 16:17:18 -07:00