mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Rename EditSession.scanInRange to scanInBufferRange
This is more consistent with other range-oriented methods on EditSession. At this layer, we need to be explicit about what kind of range we are talking about.
This commit is contained in:
@@ -315,8 +315,8 @@ class Editor extends View
|
||||
lineForBufferRow: (row) -> @getBuffer().lineForRow(row)
|
||||
lineLengthForBufferRow: (row) -> @getBuffer().lineLengthForRow(row)
|
||||
rangeForBufferRow: (row) -> @getBuffer().rangeForRow(row)
|
||||
scanInRange: (args...) -> @getBuffer().scanInRange(args...)
|
||||
backwardsScanInRange: (args...) -> @getBuffer().backwardsScanInRange(args...)
|
||||
scanInBufferRange: (args...) -> @getBuffer().scanInRange(args...)
|
||||
backwardsScanInBufferRange: (args...) -> @getBuffer().backwardsScanInRange(args...)
|
||||
|
||||
configure: ->
|
||||
@observeConfig 'editor.showLineNumbers', (showLineNumbers) => @gutter.setShowLineNumbers(showLineNumbers)
|
||||
|
||||
Reference in New Issue
Block a user