From 6b71ea1875a4bba5681b0612b8fe381aeddbeb4e Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Mon, 15 Sep 2014 18:18:23 -0700 Subject: [PATCH] Convert visibility in the Inserting Text section --- src/editor.coffee | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/editor.coffee b/src/editor.coffee index 8ce6a29de..b9b3e1759 100644 --- a/src/editor.coffee +++ b/src/editor.coffee @@ -897,7 +897,7 @@ class Editor extends Model Section: Adding Text ### - # Public: For each selection, replace the selected text with the given text. + # Essential: For each selection, replace the selected text with the given text. # # * `text` A {String} representing the text to insert. # * `options` (optional) See {Selection::insertText}. @@ -923,17 +923,17 @@ class Editor extends Model else false - # Public: For each selection, replace the selected text with a newline. + # Essential: For each selection, replace the selected text with a newline. insertNewline: -> @insertText('\n') - # Public: For each cursor, insert a newline at beginning the following line. + # Extended: For each cursor, insert a newline at beginning the following line. insertNewlineBelow: -> @transact => @moveToEndOfLine() @insertNewline() - # Public: For each cursor, insert a newline at the end of the preceding line. + # Extended: For each cursor, insert a newline at the end of the preceding line. insertNewlineAbove: -> @transact => bufferRow = @getCursorBufferPosition().row