From d3c6d6fdef2abf9a41c3b26b4c170685c76b0d2e Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Mon, 15 Jun 2015 23:00:47 -0600 Subject: [PATCH] * placeholder for backspace --- core/multi_line_edit_text_view2.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/multi_line_edit_text_view2.js b/core/multi_line_edit_text_view2.js index eac75a62..6cd3d1af 100644 --- a/core/multi_line_edit_text_view2.js +++ b/core/multi_line_edit_text_view2.js @@ -275,6 +275,10 @@ function MultiLineEditTextView2(options) { // recalc to next eol + var nextEolIndex = self.getNextEndOfLineIndex(index); + var wrapped = self.wordWrapSingleLine(self.getContiguousText(index, nextEolIndex), 'tabsIntact'); + var newLines = wrapped.wrapped; + self.redrawRows(self.cursorPos.row, self.dimens.height); if(0 === self.cursorPos.col) {