Start to wrap up 0.0.7-alpha

This commit is contained in:
Bryan Ashby 2017-09-07 18:15:10 -06:00
parent b1b841674c
commit 7fd0d6e699
6 changed files with 3 additions and 22 deletions

View file

@ -554,31 +554,12 @@ function MultiLineEditTextView(options) {
text = strUtil.splitTextAtTerms(text);
let index = 0;
// let wrapped;
text.forEach(line => {
self.setTextLines( [ line ], index, true); // true=termWithEol
index += 1;
});
/*
text.forEach(line => {
if(strUtil.isAnsiLine(line)) {
self.setTextLines( [ line ], index, true); // true=termWithEol
index += 1;
} else {
wrapped = self.wordWrapSingleLine(
line, // line to wrap
'expand', // tabHandling
self.dimens.width
).wrapped;
self.setTextLines(wrapped, index, true); // true=termWithEol
index += wrapped.length;
}
});
*/
self.cursorStartOfDocument();
if(cb) {