From 7c55348fde5681bc80c3dd51e35d4f2496b4be49 Mon Sep 17 00:00:00 2001 From: Matt Colyer Date: Mon, 26 Aug 2013 17:11:04 -0700 Subject: [PATCH] Fix incorrect biscotto references --- src/cursor.coffee | 8 ++++---- src/edit-session.coffee | 6 +++--- src/pane.coffee | 2 +- src/root-view.coffee | 6 +++--- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/cursor.coffee b/src/cursor.coffee index 4adbd4004..ee148cb82 100644 --- a/src/cursor.coffee +++ b/src/cursor.coffee @@ -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) diff --git a/src/edit-session.coffee b/src/edit-session.coffee index cf6540596..6fe174a99 100644 --- a/src/edit-session.coffee +++ b/src/edit-session.coffee @@ -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) diff --git a/src/pane.coffee b/src/pane.coffee index 858123ce8..87a683c28 100644 --- a/src/pane.coffee +++ b/src/pane.coffee @@ -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. diff --git a/src/root-view.coffee b/src/root-view.coffee index 1c1cd9b61..6232912ed 100644 --- a/src/root-view.coffee +++ b/src/root-view.coffee @@ -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()