Add support for stylizing quote indicators ( XX>)

This commit is contained in:
Bryan Ashby 2020-12-26 15:08:37 -07:00
parent f202600571
commit 94d4a52530
No known key found for this signature in database
GPG key ID: B49EB437951D2542
5 changed files with 46 additions and 10 deletions

View file

@ -265,11 +265,10 @@ function MultiLineEditTextView(options) {
this.getRenderText = function(index) {
let text = self.getVisibleText(index);
const remain = self.dimens.width - text.length;
const remain = self.dimens.width - strUtil.renderStringLength(text);
if(remain > 0) {
text += ' '.repeat(remain + 1);
// text += new Array(remain + 1).join(' ');
text += ' '.repeat(remain);// + 1);
}
return text;