1(function($){$.fn.limitMaxlength=function(options){var settings=jQuery.extend({attribute:"maxlength",onLimit:function(){},onEdit:function(){}},options);var onEdit=function(){var textarea=jQuery(this);var maxlength=parseInt(textarea.attr(settings.attribute),10);if(textarea.val().length>maxlength){textarea.val(textarea.val().substr(0,maxlength));jQuery.proxy(settings.onLimit,this)();} 2jQuery.proxy(settings.onEdit,this)(maxlength-textarea.val().length);} 3this.each(onEdit);return this.keyup(onEdit).keydown(onEdit).focus(onEdit);};})(jQuery);
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.