1export function TabEditable_Changed(dotNetHelper, cssSelector, id) { 2 var item = document.querySelector(cssSelector); 3 if (!!item) { 4 5 item.addEventListener('keydown', (e) => { 6 if (e.keyCode == 13) { 7 e.preventDefault(); 8 document.activeElement.blur(); 9 } 10 }); 11 12 item.addEventListener('blur', (e) => { 13 dotNetHelper.invokeMethodAsync("UpdateTabLabelAsync", id, item.innerText); 14 }); 15 } 16}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.