Fix some docs issues

This commit is contained in:
Nathan Sobo
2013-05-03 17:35:01 -06:00
parent ebfd8ca4c3
commit a2c894bcc9
2 changed files with 4 additions and 4 deletions

View File

@@ -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 = {}) ->

View File

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