Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
lzgrep -h getStringWidth slim.code.ts.lzo slim.code.coffee.lzo slim.code.js.lzo | grep -v 'jmol-14\.2\.4'
mkpkg-0.0.1.tgz/src/mkpkg.coffee:13:# rl.getStringWidth = (str) -> str.length
aminogfx-0.0.20.tgz/src/widgets.js:1139: this.getStringWidth = function(str) {
aminogfx-0.0.20.tgz/src/widgets.js:1153: var x = line.x + run.x + this.getStringWidth(txt);
aminogfx-0.0.20.tgz/src/widgets.js:1510: x = view.getStringWidth(before);
aminogfx-0.0.20.tgz/src/widgets.js:1516: var w = view.getStringWidth(during);
aminogfx-0.0.20.tgz/src/widgets.js:1523: var w = view.getStringWidth(during);
biojs-vis-blast-0.1.5.tgz/node/lib/readline.js:653: diffWidth = -getStringWidth(
biojs-vis-blast-0.1.5.tgz/node/lib/readline.js:657: diffWidth = getStringWidth(
biojs-vis-blast-0.1.5.tgz/node/lib/readline.js:1269:function getStringWidth(str) {
biojs-vis-blast-0.1.5.tgz/node/lib/readline.js:1285:exports.getStringWidth = getStringWidth;
biojs-vis-blast-0.1.5.tgz/node/test/simple/test-readline-interface.js:280: assert.equal(readline.getStringWidth('abcde'), 5);
biojs-vis-blast-0.1.5.tgz/node/test/simple/test-readline-interface.js:281: assert.equal(readline.getStringWidth('古池や'), 6);
biojs-vis-blast-0.1.5.tgz/node/test/simple/test-readline-interface.js:282: assert.equal(readline.getStringWidth('ノード.js'), 9);
biojs-vis-blast-0.1.5.tgz/node/test/simple/test-readline-interface.js:283: assert.equal(readline.getStringWidth('你好'), 4);
biojs-vis-blast-0.1.5.tgz/node/test/simple/test-readline-interface.js:284: assert.equal(readline.getStringWidth('안녕하세요'), 10);
biojs-vis-blast-0.1.5.tgz/node/test/simple/test-readline-interface.js:285: assert.equal(readline.getStringWidth('A\ud83c\ude00BC'), 5); // surrogate
biojs-vis-blast-0.1.5.tgz/node/test/simple/test-readline-interface.js:292: assert.equal(readline.getStringWidth('\u001b[31m> \u001b[39m'), 2);
biojs-vis-blast-0.1.5.tgz/node/test/simple/test-readline-interface.js:293: assert.equal(readline.getStringWidth('\u001b[31m> \u001b[39m> '), 4);
biojs-vis-blast-0.1.5.tgz/node/test/simple/test-readline-interface.js:294: assert.equal(readline.getStringWidth('\u001b[31m\u001b[39m'), 0);
biojs-vis-blast-0.1.5.tgz/node/test/simple/test-readline-interface.js:295: assert.equal(readline.getStringWidth('> '), 2);
cirru-shell-0.0.6.tgz/src/readline.js:625: diffWidth = -getStringWidth(
cirru-shell-0.0.6.tgz/src/readline.js:629: diffWidth = getStringWidth(
cirru-shell-0.0.6.tgz/src/readline.js:1224:function getStringWidth(str) {
cirru-shell-0.0.6.tgz/src/readline.js:1240:exports.getStringWidth = getStringWidth;
clift-0.1.1.tgz/lib/readline.js:356: diffWidth = -getStringWidth(
clift-0.1.1.tgz/lib/readline.js:360: diffWidth = getStringWidth(
clift-0.1.1.tgz/lib/readline.js:453:function getStringWidth(str) {
clift-0.1.1.tgz/lib/readline.js:469:exports.getStringWidth = getStringWidth
cli-input-0.1.12.tgz/lib/patch/readline.js:680: diffWidth = -getStringWidth(
cli-input-0.1.12.tgz/lib/patch/readline.js:684: diffWidth = getStringWidth(
cli-input-0.1.12.tgz/lib/patch/readline.js:1290:function getStringWidth(str) {
cli-input-0.1.12.tgz/lib/patch/readline.js:1306:exports.getStringWidth = getStringWidth;
flush-all-0.1.1.tgz/node-v0.13/lib/readline.js:654: diffWidth = -getStringWidth(
flush-all-0.1.1.tgz/node-v0.13/lib/readline.js:658: diffWidth = getStringWidth(
flush-all-0.1.1.tgz/node-v0.13/lib/readline.js:1270:function getStringWidth(str) {
flush-all-0.1.1.tgz/node-v0.13/lib/readline.js:1286:exports.getStringWidth = getStringWidth;
flush-all-0.1.1.tgz/node-v0.13/test/simple/test-readline-interface.js:280: assert.equal(readline.getStringWidth('abcde'), 5);
flush-all-0.1.1.tgz/node-v0.13/test/simple/test-readline-interface.js:281: assert.equal(readline.getStringWidth('古池や'), 6);
flush-all-0.1.1.tgz/node-v0.13/test/simple/test-readline-interface.js:282: assert.equal(readline.getStringWidth('ノード.js'), 9);
flush-all-0.1.1.tgz/node-v0.13/test/simple/test-readline-interface.js:283: assert.equal(readline.getStringWidth('你好'), 4);
flush-all-0.1.1.tgz/node-v0.13/test/simple/test-readline-interface.js:284: assert.equal(readline.getStringWidth('안녕하세요'), 10);
flush-all-0.1.1.tgz/node-v0.13/test/simple/test-readline-interface.js:285: assert.equal(readline.getStringWidth('A\ud83c\ude00BC'), 5); // surrogate
flush-all-0.1.1.tgz/node-v0.13/test/simple/test-readline-interface.js:292: assert.equal(readline.getStringWidth('\u001b[31m> \u001b[39m'), 2);
flush-all-0.1.1.tgz/node-v0.13/test/simple/test-readline-interface.js:293: assert.equal(readline.getStringWidth('\u001b[31m> \u001b[39m> '), 4);
flush-all-0.1.1.tgz/node-v0.13/test/simple/test-readline-interface.js:294: assert.equal(readline.getStringWidth('\u001b[31m\u001b[39m'), 0);
flush-all-0.1.1.tgz/node-v0.13/test/simple/test-readline-interface.js:295: assert.equal(readline.getStringWidth('> '), 2);
generator-java-webapp-2.0.7.tgz/app/templates/src/app/common/tags/input.js:161: width: getStringWidth(this.element, value)
generator-java-webapp-2.0.7.tgz/app/templates/src/app/common/tags/input.js:193:function getStringWidth (sibling, value) {
jsg-0.0.3.tgz/testdata/node_core_modules/readline.js:617: diffWidth = -getStringWidth(
jsg-0.0.3.tgz/testdata/node_core_modules/readline.js:621: diffWidth = getStringWidth(
jsg-0.0.3.tgz/testdata/node_core_modules/readline.js:1216:function getStringWidth(str) {
jsg-0.0.3.tgz/testdata/node_core_modules/readline.js:1232:exports.getStringWidth = getStringWidth;
jspdf-autotable-2.0.8.tgz/src/main.js:336: cell.contentWidth = cell.styles.cellPadding * 2 + getStringWidth(cell.text, cell.styles);
jspdf-autotable-2.0.8.tgz/src/main.js:359: cell.contentWidth = cell.styles.cellPadding * 2 + getStringWidth(cell.text, cell.styles);
jspdf-autotable-2.0.8.tgz/src/main.js:623: if (width >= getStringWidth(text, styles)) {
jspdf-autotable-2.0.8.tgz/src/main.js:626: while (width < getStringWidth(text + ellipsizeStr, styles)) {
jspdf-autotable-2.0.8.tgz/src/main.js:635: function getStringWidth(text, styles) {
node-core-lib-0.11.11.tgz/readline.js:617: diffWidth = -getStringWidth(
node-core-lib-0.11.11.tgz/readline.js:621: diffWidth = getStringWidth(
node-core-lib-0.11.11.tgz/readline.js:1216:function getStringWidth(str) {
node-core-lib-0.11.11.tgz/readline.js:1232:exports.getStringWidth = getStringWidth;
node-core-test-simple-0.11.11.tgz/test-readline-interface.js:200: assert.equal(readline.getStringWidth('abcde'), 5);
node-core-test-simple-0.11.11.tgz/test-readline-interface.js:201: assert.equal(readline.getStringWidth('古池や'), 6);
node-core-test-simple-0.11.11.tgz/test-readline-interface.js:202: assert.equal(readline.getStringWidth('ノード.js'), 9);
node-core-test-simple-0.11.11.tgz/test-readline-interface.js:203: assert.equal(readline.getStringWidth('你好'), 4);
node-core-test-simple-0.11.11.tgz/test-readline-interface.js:204: assert.equal(readline.getStringWidth('안녕하세요'), 10);
node-core-test-simple-0.11.11.tgz/test-readline-interface.js:205: assert.equal(readline.getStringWidth('A\ud83c\ude00BC'), 5); // surrogate
node-core-test-simple-0.11.11.tgz/test-readline-interface.js:212: assert.equal(readline.getStringWidth('\u001b[31m> \u001b[39m'), 2);
node-core-test-simple-0.11.11.tgz/test-readline-interface.js:213: assert.equal(readline.getStringWidth('\u001b[31m> \u001b[39m> '), 4);
node-core-test-simple-0.11.11.tgz/test-readline-interface.js:214: assert.equal(readline.getStringWidth('\u001b[31m\u001b[39m'), 0);
node-core-test-simple-0.11.11.tgz/test-readline-interface.js:215: assert.equal(readline.getStringWidth('> '), 2);
pn-0.0.1.tgz/readline.js:12: getStringWidth: { enumerable: true, value: bind(readline, readline.getStringWidth) },
portable-js-0.0.3.tgz/misc/io/readline.js:647: diffWidth = -getStringWidth(
portable-js-0.0.3.tgz/misc/io/readline.js:651: diffWidth = getStringWidth(
portable-js-0.0.3.tgz/misc/io/readline.js:1336:function getStringWidth(str) {
portable-js-0.0.3.tgz/misc/io/readline.js:1352:exports.getStringWidth = getStringWidth;
portable-js-0.0.3.tgz/misc/node/readline.js:655: diffWidth = -getStringWidth(
portable-js-0.0.3.tgz/misc/node/readline.js:659: diffWidth = getStringWidth(
portable-js-0.0.3.tgz/misc/node/readline.js:1271:function getStringWidth(str) {
portable-js-0.0.3.tgz/misc/node/readline.js:1287:exports.getStringWidth = getStringWidth;
process-engine-0.5.3.tgz/ui/app/diagram-viewer/js/ProcessDiagramCanvas.js:1227: var realWidth = this.getStringWidth(truncated, attr);
process-engine-0.5.3.tgz/ui/app/diagram-viewer/js/ProcessDiagramCanvas.js:1299: var realWidth = this.getStringWidth(truncated, fontAttr);
process-engine-0.5.3.tgz/ui/app/diagram-viewer/js/ProcessDiagramCanvas.js:1383: getStringWidth: function(text, fontAttrs){
process-engine-0.5.3.tgz/ui/app/diagram-viewer/js/ProcessDiagramCanvas.js:1621: var realWidth = this.getStringWidth(truncated, fontAttr);
process-engine-0.5.3.tgz/ui/app/diagram-viewer/js/ProcessDiagramCanvas.js:2116: var realWidth = this.getStringWidth(wrappedText, attr);
retool-0.0.94.tgz/index.js:23141: getStringWidth(s: string): number {
retool-0.0.94.tgz/index.js:23838: var textWidth = width - lineWidth * 2; //var textWidth = this.getStringWidth(s);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.