<commit_before>enyo.kind({
	name: "moon.sample.HighlightTextSample",
	classes: "moon enyo-unselectable enyo-fit",
	components: [
		{kind: "moon.Panels", classes:"enyo-fit", controlClasses:"moon-6h", components: [
			{kind: "moon.Panel", title:"STATIC", titleBelow:"Simple items", subTitleBelow: "Case insensitive", components: [
				{kind: "moon.Scroller", fit: true, components: [
					{kind: "moon.Divider", content:"Standard highlight"},
					{kind: "moon.Item", components: [
						{kind: "moon.HighlightText", content:"Text to highlight", highlight:"text"}
					]},
					{kind: "moon.Item", components: [
						{kind: "moon.HighlightText", content:"Text to highlight", highlight:"to"}
					]},
					{kind: "moon.Item", components: [
						{kind: "moon.HighlightText", content:"Text to highlight", highlight:"highlight"}
					]},
					{kind: "moon.Divider", content:"Custom highlight classes"},
					{kind: "moon.Item", components: [
						{kind: "moon.HighlightText", content:"Text to highlight", highlight:"text", highlightClasses:"highlight-text-sample-red"}
					]},
					{kind: "moon.Item", components: [
						{kind: "moon.HighlightText", content:"Text to highlight", highlight:"to", highlightClasses:"highlight-text-sample-blue"}
					]},
					{kind: "moon.Item", components: [
						{kind: "moon.HighlightText", content:"Text to highlight", highlight:"highlight", highlightClasses:"highlight-text-sample-fancy"}
					]}
				]}
			]},
			{name: "inputPanel", kind: "moon.Panel", headerOptions: {kind: "moon.InputHeader"}, joinToPrev: true, oninput: "search", components: [
				{kind: "moon.DataList", fit: true, name:"list", components: [
					{kind: "moon.HighlightText", bindings: [
						{from: ".model.text", to:".content"},
						{from: ".controller.text", to: ".highlight"}
					]}
				]}
			], title:"SEARCH", titleBelow: "Filtered items in DataList", subTitleBelow: "Case sensitive"}
		]}
	],
	bindings: [
		{from: ".controller", to: ".$.list.controller"},
		{from: ".$.inputPanel.$.header.value", to: ".controller.text"}
	],
	create: function() {
		this.controller = new enyo.Collection(this.data, {
			// we set our available filters block
			filters: {search: "searchFilter"},
			// we want to make use of the ability to set a bindable property to
			// automatically filter on change
			filterProps: "text",
			// we designate our filter as active so it is immediately useable
			activeFilter: "search",
			// we implement our actual filter function that needs to return an array of
			// records to reset the internal data to<commit_msg>Making HighlightText items in search sample case-sensitive.<commit_after>enyo.kind({
	name: "moon.sample.HighlightTextSample",
	classes: "moon enyo-unselectable enyo-fit",
	components: [
		{kind: "moon.Panels", classes:"enyo-fit", controlClasses:"moon-6h", components: [
			{kind: "moon.Panel", title:"STATIC", titleBelow:"Simple items", subTitleBelow: "Case insensitive", components: [
				{kind: "moon.Scroller", fit: true, components: [
					{kind: "moon.Divider", content:"Standard highlight"},
					{kind: "moon.Item", components: [
						{kind: "moon.HighlightText", content:"Text to highlight", highlight:"text"}
					]},
					{kind: "moon.Item", components: [
						{kind: "moon.HighlightText", content:"Text to highlight", highlight:"to"}
					]},
					{kind: "moon.Item", components: [
						{kind: "moon.HighlightText", content:"Text to highlight", highlight:"highlight"}
					]},
					{kind: "moon.Divider", content:"Custom highlight classes"},
					{kind: "moon.Item", components: [
						{kind: "moon.HighlightText", content:"Text to highlight", highlight:"text", highlightClasses:"highlight-text-sample-red"}
					]},
					{kind: "moon.Item", components: [
						{kind: "moon.HighlightText", content:"Text to highlight", highlight:"to", highlightClasses:"highlight-text-sample-blue"}
					]},
					{kind: "moon.Item", components: [
						{kind: "moon.HighlightText", content:"Text to highlight", highlight:"highlight", highlightClasses:"highlight-text-sample-fancy"}
					]}
				]}
			]},
			{name: "inputPanel", kind: "moon.Panel", headerOptions: {kind: "moon.InputHeader"}, joinToPrev: true, oninput: "search", components: [
				{kind: "moon.DataList", fit: true, name:"list", components: [
					{kind: "moon.HighlightText", caseSensitive: true, bindings: [
						{from: ".model.text", to:".content"},
						{from: ".controller.text", to: ".highlight"}
					]}
				]}
			], title:"SEARCH", titleBelow: "Filtered items in DataList", subTitleBelow: "Case sensitive"}
		]}
	],
	bindings: [
		{from: ".controller", to: ".$.list.controller"},
		{from: ".$.inputPanel.$.header.value", to: ".controller.text"}
	],
	create: function() {
		this.controller = new enyo.Collection(this.data, {
			// we set our available filters block
			filters: {search: "searchFilter"},
			// we want to make use of the ability to set a bindable property to
			// automatically filter on change
			filterProps: "text",
			// we designate our filter as active so it is immediately useable
			activeFilter: "search",
			// we implement our actual filter function that needs to return an array of
			// records to reset the internal data to
{'fraction_non_alphanumeric': 0.168433224127963, 'fraction_numerical': 0.0003854307188282906, 'mean_word_length': 4.0242013552758955, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6515367', 'n_tokens_mistral': 1901, 'n_tokens_neox': 1560, 'n_words': 419}