mirror of
https://github.com/atom/atom.git
synced 2026-01-23 22:08:08 -05:00
Fix incorrect biscotto references
This commit is contained in:
@@ -279,7 +279,7 @@ class Cursor
|
||||
#
|
||||
# * options:
|
||||
# + wordRegex:
|
||||
# A RegExp indicating what constitutes a "word" (default: {wordRegExp})
|
||||
# A RegExp indicating what constitutes a "word" (default: {.wordRegExp})
|
||||
#
|
||||
# Returns a {Range}.
|
||||
getBeginningOfCurrentWordBufferPosition: (options = {}) ->
|
||||
@@ -344,7 +344,7 @@ class Cursor
|
||||
#
|
||||
# * options:
|
||||
# + wordRegex:
|
||||
# A RegExp indicating what constitutes a "word" (default: {wordRegExp})
|
||||
# A RegExp indicating what constitutes a "word" (default: {.wordRegExp})
|
||||
#
|
||||
# Returns a {Range}.
|
||||
getEndOfCurrentWordBufferPosition: (options = {}) ->
|
||||
@@ -365,7 +365,7 @@ class Cursor
|
||||
#
|
||||
# * options:
|
||||
# + wordRegex:
|
||||
# A RegExp indicating what constitutes a "word" (default: {wordRegExp})
|
||||
# A RegExp indicating what constitutes a "word" (default: {.wordRegExp})
|
||||
#
|
||||
# Returns a {Range}.
|
||||
getBeginningOfNextWordBufferPosition: (options = {}) ->
|
||||
@@ -384,7 +384,7 @@ class Cursor
|
||||
#
|
||||
# * options:
|
||||
# + wordRegex:
|
||||
# A RegExp indicating what constitutes a "word" (default: {wordRegExp})
|
||||
# A RegExp indicating what constitutes a "word" (default: {.wordRegExp})
|
||||
getCurrentWordBufferRange: (options={}) ->
|
||||
startOptions = _.extend(_.clone(options), allowPrevious: false)
|
||||
endOptions = _.extend(_.clone(options), allowNext: false)
|
||||
|
||||
@@ -19,7 +19,7 @@ TextMateScopeSelector = require('first-mate').ScopeSelector
|
||||
# {Cursor}s and scroll position.
|
||||
#
|
||||
# For instance if a user creates a split, Atom creates a second {EditSession}
|
||||
# but both {EditSessions} interact with the same buffer underlying buffer. So
|
||||
# but both {EditSession}s interact with the same buffer underlying buffer. So
|
||||
# if you type in either buffer it immediately appears in both but if you scroll
|
||||
# in one it doesn't scroll the other.
|
||||
#
|
||||
@@ -527,7 +527,7 @@ class EditSession
|
||||
autoIndentSelectedRows: ->
|
||||
@mutateSelectedText (selection) -> selection.autoIndentSelectedRows()
|
||||
|
||||
# Public: Converts all indents to the current {.tabTabText} given a {Range}.
|
||||
# Public: Converts all indents to the current {.getTabText} given a {Range}.
|
||||
normalizeTabsInBufferRange: (bufferRange) ->
|
||||
return unless @getSoftTabs()
|
||||
@scanInBufferRange /\t/, bufferRange, ({replace}) => replace(@getTabText())
|
||||
@@ -800,7 +800,7 @@ class EditSession
|
||||
getMarkers: ->
|
||||
@displayBuffer.getMarkers()
|
||||
|
||||
# Public: Returns all {DisplayBufferMarkers} that match all given attributes.
|
||||
# Public: Returns all {DisplayBufferMarker}s that match all given attributes.
|
||||
findMarkers: (attributes) ->
|
||||
@displayBuffer.findMarkers(attributes)
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ PaneColumn = require 'pane-column'
|
||||
|
||||
# Public: A container which can contains multiple items to be switched between.
|
||||
#
|
||||
# Items can be almost anything however most commonly they're {Editors}.
|
||||
# Items can be almost anything however most commonly they're {Editor}s.
|
||||
#
|
||||
# Most packages won't need to use this class, unless you're interested in
|
||||
# building a package that deals with switching between panes or tiems.
|
||||
|
||||
@@ -217,11 +217,11 @@ class RootView extends View
|
||||
getActivePane: ->
|
||||
@panes.getActivePane()
|
||||
|
||||
# Public: Returns the currently focused {PaneItem}.
|
||||
# Public: Returns the currently focused item from within the focused {Pane}
|
||||
getActivePaneItem: ->
|
||||
@panes.getActivePaneItem()
|
||||
|
||||
# Public: Returns the currently focused {PaneItemView}.
|
||||
# Public: Returns the view of the currently focused item.
|
||||
getActiveView: ->
|
||||
@panes.getActiveView()
|
||||
|
||||
@@ -236,7 +236,7 @@ class RootView extends View
|
||||
# FIXME: Difference between active and focused pane?
|
||||
getFocusedPane: -> @panes.getFocusedPane()
|
||||
|
||||
# Public: Saves all of the open {PaneItem}s
|
||||
# Public: Saves all of the open items within panes.
|
||||
saveAll: ->
|
||||
@panes.saveAll()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user