1import { Controller } from "@hotwired/stimulus"; 2 3export default class extends Controller { 4 static targets = ["data", "display"]; 5 6 select(event) { 7 if (this.hasDataTarget) this.dataTarget.value = event.currentTarget.dataset.data; 8 if (this.hasDisplayTarget) this.displayTarget.innerText = event.currentTarget.dataset.display; 9 } 10};
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.