Home
last modified time | relevance | path

Searched refs:rowLength (Results 1 – 2 of 2) sorted by relevance

/plugin/asciidocjs/node_modules/wrap-ansi/
Dindex.js120 let rowLength = stringWidth(rows[rows.length - 1]);
123 if (rowLength >= columns && (options.wordWrap === false || options.trim === false)) {
126 rowLength = 0;
129 if (rowLength > 0 || options.trim === false) {
131 rowLength++;
137 const remainingColumns = (columns - rowLength);
148 if (rowLength + lengths[index] > columns && rowLength > 0 && lengths[index] > 0) {
149 if (options.wordWrap === false && rowLength < columns) {
157 if (rowLength + lengths[index] > columns && options.wordWrap === false) {
/plugin/diagramsnet/lib/js/grapheditor/
DDialogs.js96 var addPresets = mxUtils.bind(this, function(presets, rowLength, defaultColor, addResetOption) argument
98 rowLength = (rowLength != null) ? rowLength : 12;
107 var rows = presets.length / rowLength;
113 for (var i = 0; i < rowLength; i++)
164 }))(presets[row * rowLength + i]);