From a2c894bcc9b3ada425e790edf9d5cffb30f3a858 Mon Sep 17 00:00:00 2001 From: Nathan Sobo Date: Fri, 3 May 2013 17:35:01 -0600 Subject: [PATCH] Fix some docs issues --- src/app/cursor.coffee | 6 +++--- src/app/selection.coffee | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app/cursor.coffee b/src/app/cursor.coffee index ade42e347..e47411624 100644 --- a/src/app/cursor.coffee +++ b/src/app/cursor.coffee @@ -249,7 +249,7 @@ class Cursor # Public: Retrieves the buffer position of where the current word starts. # # options - A hash with one option: - # :wordRegex - A {RegExp} indicating what constitutes a "word" (default: {wordRegExp}) + # :wordRegex - A {RegExp} indicating what constitutes a "word" (default: {Cursor.wordRegExp}) # # Returns a {Range}. getBeginningOfCurrentWordBufferPosition: (options = {}) -> @@ -270,7 +270,7 @@ class Cursor # Public: Retrieves the buffer position of where the current word ends. # # options - A hash with one option: - # :wordRegex - A {RegExp} indicating what constitutes a "word" (default: {wordRegExp}) + # :wordRegex - A {RegExp} indicating what constitutes a "word" (default: {Cursor.wordRegExp}) # # Returns a {Range}. getEndOfCurrentWordBufferPosition: (options = {}) -> @@ -290,7 +290,7 @@ class Cursor # Public: Retrieves the buffer position of where the next word starts. # # options - A hash with one option: - # :wordRegex - A {RegExp} indicating what constitutes a "word" (default: {wordRegExp}) + # :wordRegex - A {RegExp} indicating what constitutes a "word" (default: {Cursor.wordRegExp}) # # Returns a {Range}. getBeginningOfNextWordBufferPosition: (options = {}) -> diff --git a/src/app/selection.coffee b/src/app/selection.coffee index 8ad853386..6fe5c71d2 100644 --- a/src/app/selection.coffee +++ b/src/app/selection.coffee @@ -288,7 +288,7 @@ class Selection # Public: Indents the selection. # # options - A hash with one key, `autoIndent`. If `true`, the indentation is - # performed appropriately. Otherwise, {EditSession#getTabText} is used + # performed appropriately. Otherwise, {EditSession.getTabText} is used indent: ({ autoIndent }={})-> { row, column } = @cursor.getBufferPosition()