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()