Default renderLen array
This commit is contained in:
parent
70b5d7a124
commit
3d575f7645
|
@ -40,7 +40,7 @@ function wordWrapText(text, options) {
|
|||
let renderLen;
|
||||
let i = 0;
|
||||
let wordStart = 0;
|
||||
let result = { wrapped : [ '' ], renderLen : [] };
|
||||
let result = { wrapped : [ '' ], renderLen : [ 0 ] };
|
||||
|
||||
function expandTab(column) {
|
||||
const remainWidth = options.tabWidth - (column % options.tabWidth);
|
||||
|
|
Loading…
Reference in New Issue