* Quote builder even more functional :)

This commit is contained in:
Bryan Ashby
2015-09-15 22:44:31 -06:00
parent 4cba6f4c10
commit 20fb54422a
5 changed files with 34 additions and 14 deletions

View File

@@ -993,6 +993,17 @@ MultiLineEditTextView.prototype.setText = function(text) {
//text = require('fs').readFileSync('/home/nuskooler/Downloads/test_text.txt', { encoding : 'utf-8'});
this.textLines = [ ];
this.addText(text);
/*this.insertRawText(text);
if(this.isEditMode()) {
this.cursorEndOfDocument();
} else if(this.isPreviewMode()) {
this.cursorStartOfDocument();
}*/
};
MultiLineEditTextView.prototype.addText = function(text) {
this.insertRawText(text);
if(this.isEditMode()) {