Antonio Scandurra
cfb30c795d
Use an updated version of LineTopIndex
2015-12-14 15:04:54 +01:00
Antonio Scandurra
cb4c27757a
📝 TextEditorElement::invalidateBlockDecorationDimensions
2015-12-04 15:35:53 +01:00
Antonio Scandurra
b6b2958e67
📝 TextEditor::addBlockDecorationForScreenRow
2015-12-04 15:33:18 +01:00
Antonio Scandurra
b77c45859c
Merge branch 'master' into as-block-decorations
...
# Conflicts:
# spec/text-editor-presenter-spec.coffee
2015-12-04 14:44:19 +01:00
Antonio Scandurra
14d8ecefdd
💚 Fix LinesYardstick specs
2015-12-04 12:54:20 +01:00
Kevin Sawicki
1fac3cb4e2
Merge pull request #9620 from DouweM/window-title
...
Use em-dash in window title and exclude app name on OS X
2015-12-03 16:23:43 -08:00
Max Brunsfeld
fe5b1b70e8
Fix paragraph motions in the presence of CRLF line endings
2015-12-03 12:07:15 -08:00
Max Brunsfeld
76b6ca5043
Make CRLF word-movement tests pass
2015-12-03 11:52:45 -08:00
Max Brunsfeld
71d2761c1a
Merge pull request #9763 from dranzerashi/patch-1
2015-12-03 10:30:48 -08:00
Antonio Scandurra
f2a0221519
Make sure block decorations are always in the right spot
2015-12-03 18:16:10 +01:00
Antonio Scandurra
cc4344735e
💚 Fix specs
2015-12-03 17:11:38 +01:00
Antonio Scandurra
36103a024a
Make sure to add screen row to block decoration nodes
2015-12-03 16:26:15 +01:00
Antonio Scandurra
14b126ace0
🎨
2015-12-03 16:06:36 +01:00
Antonio Scandurra
555d77afa6
Do not remove invisible decorations on ::mouseWheelScreenRow
2015-12-03 15:45:47 +01:00
Antonio Scandurra
f6688b6d71
Don't use babel when not needed
2015-12-03 15:30:20 +01:00
Antonio Scandurra
da42fc74ed
🔥 💄
2015-12-03 15:05:41 +01:00
Antonio Scandurra
e23af02606
Fix linting errors
2015-12-03 13:11:41 +01:00
Antonio Scandurra
47644ee487
More 🔥
2015-12-03 13:09:10 +01:00
Antonio Scandurra
e75263b5e0
🔥
2015-12-03 13:07:14 +01:00
Antonio Scandurra
f22bd5d0ae
🐎 Use ids instead of classes
2015-12-03 11:52:10 +01:00
Antonio Scandurra
937116a280
Render only visible and yet-to-be-measured block decorations
2015-12-03 11:26:45 +01:00
Antonio Scandurra
fcb8a13f4a
Use buffer marker events to avoid conversions
2015-12-03 10:48:24 +01:00
Antonio Scandurra
9ef3ecf378
Handle off-screen measurements properly
2015-12-02 18:34:57 +01:00
Antonio Scandurra
87c8694d01
Use ::bottomPixelPositionForRow to scroll logically
2015-12-02 17:21:12 +01:00
Antonio Scandurra
e10fdc234b
🐛 Coordinate conversion is hard
2015-12-02 16:26:10 +01:00
Antonio Scandurra
5bcdcbeef6
🎨
2015-12-02 16:13:44 +01:00
Antonio Scandurra
f30e4ccc9d
Use the new LineTopIndex in TextEditorPresenter
2015-12-02 16:01:55 +01:00
Antonio Scandurra
1f20ab5170
Use LinearLineTopIndex in BlockDecorationsPresenter
2015-12-02 14:49:36 +01:00
Antonio Scandurra
60b1d20667
🔥 Remove old code
2015-12-02 09:55:47 +01:00
Antonio Scandurra
1e07b8df05
Handle position between rows correctly
2015-12-02 09:13:06 +01:00
Antonio Scandurra
e0b1cabb21
Implement a linear structure for block decoration coordinates
...
We still cannot handle `::rowForTopPixelPosition` when the passed top position
is in the middle of two rows and there's also a block decoration. We'll get
there eventually.
Also, the specs in this commit should serve as a good test suite for the future
logarithmic data structure.
2015-12-01 19:33:37 +01:00
Antonio Scandurra
d24290357a
Implement block decorations in the components land
2015-12-01 13:36:23 +01:00
Antonio Scandurra
47b16c513c
Make sure cursors are updated with respect to block decorations
2015-12-01 09:48:11 +01:00
Kevin Sawicki
838f6fb7b1
Merge pull request #9606 from DouweM/dock-menu
...
Add OS X dock menu with 'New Window' option
2015-11-30 17:15:32 -08:00
Kevin Sawicki
c5a8a81da7
Merge pull request #9802 from ssorallen/config-docs
...
Correct config.coffee doc references to `scope`
2015-11-30 17:06:51 -08:00
Max Brunsfeld
3827b19da4
Merge pull request #9687 from atom/mb-deprecate-load-time-package-code
...
Provide package.json fields so we can defer requiring packages' main modules
2015-11-30 15:53:37 -08:00
Nathan Sobo
f139992585
Avoid infinite recursion in Error.prepareStackTrace
...
Previously, prepareStackTraceWithStackAssignment could end up calling
itself when third-party code assigned Error.prepareStackTrace back
to its original value. Now, we short-circuit this process if the
rawStack property has already been assigned.
Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com >
2015-11-30 10:51:21 -08:00
Max Brunsfeld
d058814957
Merge remote-tracking branch 'origin/master' into mb-deprecate-load-time-package-code
...
Conflicts:
package.json
2015-11-30 10:20:31 -08:00
Antonio Scandurra
da1fd69a1f
Start implementing BlockDecorationsComponent
2015-11-30 15:48:09 +01:00
Antonio Scandurra
526a97562e
Include block decorations as a separate object on presenter's state
2015-11-30 15:05:15 +01:00
Antonio Scandurra
8a54a2c15b
Use a boolean in each line state object
2015-11-30 14:44:58 +01:00
Antonio Scandurra
539a5b0ae7
🐎 Do as little pixel conversion as possible
...
We desperately need a tree-based data structure. 😢
2015-11-30 14:34:16 +01:00
Antonio Scandurra
b998e7f2d9
🐎 Incremental updates for block decorations
2015-11-30 14:03:45 +01:00
Antonio Scandurra
0419fb16a0
🎨 Improve names a bit
2015-11-30 10:19:53 +01:00
Antonio Scandurra
ef851a822c
🎨 Move block decoration related stuff into its own presenter
2015-11-30 10:12:44 +01:00
Antonio Scandurra
0159d5c31e
🎨
2015-11-27 16:58:08 +01:00
Antonio Scandurra
6ad21307cc
Provide blockDecorationsHeight for each line number
2015-11-27 16:27:01 +01:00
Antonio Scandurra
6365c86992
Include blockDecorations inside each line's state
2015-11-27 14:32:01 +01:00
Antonio Scandurra
6611cf8353
Force cursor to be tall as ::lineHeight
2015-11-27 14:05:05 +01:00
Antonio Scandurra
587f862612
Use LinesYardstick consistently
2015-11-27 12:55:09 +01:00