mirror of
https://github.com/atom/atom.git
synced 2026-01-23 22:08:08 -05:00
[Gutter] Add ::getDomNode to LineNumberGutterComponent
This commit is contained in:
@@ -18,6 +18,9 @@ class LineNumberGutterComponent
|
||||
@domNode.addEventListener 'click', @onClick
|
||||
@domNode.addEventListener 'mousedown', @onMouseDown
|
||||
|
||||
getDomNode: ->
|
||||
@domNode
|
||||
|
||||
getName: ->
|
||||
@name
|
||||
|
||||
@@ -47,6 +50,10 @@ class LineNumberGutterComponent
|
||||
|
||||
@updateLineNumbers()
|
||||
|
||||
###
|
||||
Section: Private Methods
|
||||
###
|
||||
|
||||
# This dummy line number element holds the gutter to the appropriate width,
|
||||
# since the real line numbers are absolutely positioned for performance reasons.
|
||||
appendDummyLineNumber: ->
|
||||
|
||||
Reference in New Issue
Block a user