mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
🔥 unused getPixelRect function
This commit is contained in:
@@ -653,9 +653,6 @@ class Cursor extends Model
|
||||
fn()
|
||||
@autoscroll() if options.autoscroll ? @isLastCursor()
|
||||
|
||||
getPixelRect: ->
|
||||
@editor.pixelRectForScreenRange(@getScreenRange())
|
||||
|
||||
getScreenRange: ->
|
||||
{row, column} = @getScreenPosition()
|
||||
new Range(new Point(row, column), new Point(row, column + 1))
|
||||
|
||||
Reference in New Issue
Block a user