MCPcopy Index your code
hub / github.com/prettydiff/prettydiff / insize

Function insize

api/prettydiff-webtool.ts:581–597  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

579 }
580 },
581 insize = function dom_load_insize():void {
582 const el:HTMLInputElement = id("option-indent_size");
583 if (test.ace === true) {
584 if (textarea.codeIn !== null) {
585 aceStore
586 .codeIn
587 .getSession()
588 .setTabSize(el.value);
589 }
590 if (textarea.codeOut !== null) {
591 aceStore
592 .codeOut
593 .getSession()
594 .setTabSize(el.value);
595 }
596 }
597 },
598 modes = function dom_load_modes(event:Event):void {
599 const elly:HTMLElement = <HTMLElement>event.target || <HTMLElement>event.srcElement,
600 mode = elly.getAttribute("id").replace("mode", "");

Callers 2

numericFunction · 0.85
loadFunction · 0.85

Calls 1

idFunction · 0.85

Tested by

no test coverage detected