mirror of
https://github.com/atom/atom.git
synced 2026-02-16 17:45:24 -05:00
Start implementing BlockDecorationsComponent
This commit is contained in:
@@ -1398,11 +1398,11 @@ class TextEditor extends Model
|
||||
Section: Decorations
|
||||
###
|
||||
|
||||
addBlockDecorationForScreenRow: (screenRow, element) ->
|
||||
addBlockDecorationForScreenRow: (screenRow, item) ->
|
||||
@decorateMarker(
|
||||
@markScreenPosition([screenRow, 0], invalidate: "never"),
|
||||
type: "block",
|
||||
element: element
|
||||
item: item
|
||||
)
|
||||
|
||||
# Essential: Add a decoration that tracks a {TextEditorMarker}. When the
|
||||
|
||||
Reference in New Issue
Block a user