1$(function(){ 2 $.ui.autocomplete.prototype._renderItem = function( t, n) { 3 return $('<li>').html( 4 '<div>' + 5 String(n.label).replace( 6 new RegExp('(' + $.ui.autocomplete.escapeRegex(this.term) + ')', 'i'), 7 '<b>$&</b>' 8 ) + '</div>' 9 ).appendTo( t ); 10 }; 11 $.ui.autocomplete.prototype.options.open = function( t, n) { 12 $('.ui-autocomplete').scrollTop(0); 13 }; 14 $.ui.autocomplete.prototype.options.search = function(event, ui) { 15 //å·¦å³ç¢å°ãã¼ã§ãµã¸ã§ã¹ã表示ç¡å¹å 16 if(event.keyCode==37||event.keyCode==39) return false; 17 return true; 18 }; 19});
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.