<commit_before>WindowInfo
	title Text editing
	position 600 50
	size 310 400
TBLayout: axis: y, distribution: available
	TBLayout: distribution: gravity
		TBButton: id: undo
			TBSkinImage: skin: arrow.left
		TBButton: id: redo
			TBSkinImage: skin: arrow.right
		TBButton: text: Clear, id: clear
		TBLayout
			gravity left right
			distribution_position right bottom
			TBTextField: id: info
			TBButton: id: menu
				TBSkinImage: skin: arrow.down
				TBTextField: text: Menu
				skin TBButton.flat
	TBEditField: multiline: 1, styling: 1, gravity: all, id: editfield, autofocus: 1
		text: "Tinkerbell UI Toolkit\n\n" \
				"<color #0794f8>Test zone</color>\n" \
				"The menu to the left spawns some examples of what tinkerbell can do.\n\n" \
				"The code in Demo/* is more like a developers test zone than organized tutorial-like samples. " \
				"This would be good to fix of course (help is welcome! ;)\n\n" \
				"<color #0794f8>Some things to try out</color>\n" \
				" • All layouts provide panning of content automatically when squashed below the minimal size, so try resizing windows and pan.\n" \
				" • Lines starting with a bullet sequence (like this one) should wrap in a smart way.\n" \
				" • <u>Underline</u>, <color #f44>Red</color>, <color #6f6>Green</color>, <color #aaf>Blue</color>\n\n" \
				"<color #0794f8>Good to know</color>\n" \
				" • The text component you're reading in handles styling and embedded content (such as this widget: <widget TBButton: text: ':)'>), but does not handle editing of those fully. Undo/Redo should work fine, but caret movement and position updates doesn't.\n" \
				" • All resources are UTF-8."<commit_msg>Added comment in demo text.<commit_after>WindowInfo
	title Text editing
	position 600 50
	size 310 400
TBLayout: axis: y, distribution: available
	TBLayout: distribution: gravity
		TBButton: id: undo
			TBSkinImage: skin: arrow.left
		TBButton: id: redo
			TBSkinImage: skin: arrow.right
		TBButton: text: Clear, id: clear
		TBLayout
			gravity left right
			distribution_position right bottom
			TBTextField: id: info
			TBButton: id: menu
				TBSkinImage: skin: arrow.down
				TBTextField: text: Menu
				skin TBButton.flat
	TBEditField: multiline: 1, styling: 1, gravity: all, id: editfield, autofocus: 1
		text: "Tinkerbell UI Toolkit\n\n" \
				"<color #0794f8>Test zone</color>\n" \
				"The menu to the left spawns some examples of what tinkerbell can do.\n\n" \
				"The code in Demo/* is more like a developers test zone than organized tutorial-like samples. " \
				"This would be good to fix of course (help is welcome! ;)\n\n" \
				"<color #0794f8>Some things to try out</color>\n" \
				" • All layouts provide panning of content automatically when squashed below the minimal size, so try resizing windows and pan.\n" \
				" • Lines starting with a bullet sequence (like this one) should wrap in a smart way.\n" \
				" • Message windows whose target is removed, are automatically removed. Close the menu window with open messages.\n" \
				" • Keyboard navigation using tab.\n" \
				" • <u>Underline</u>, <color #f44>Red</color>, <color #6f6>Green</color>, <color #aaf>Blue</color>\n\n" \
				"<color #0794f8>Good to know</color>\n" \
				" • The text component you're reading in handles styling and embedded content (such as this widget: <widget TBButton: text: ':)'>), but does not handle editing of those fully. Undo/Redo should work fine, but caret movement and position updates doesn't.\n" \
				" • All resources are UTF-8."
{'fraction_non_alphanumeric': 0.1044691147167663, 'fraction_numerical': 0.019356675206376316, 'mean_word_length': 3.5341935483870968, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 33, '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': '6069415', 'n_tokens_mistral': 1292, 'n_tokens_neox': 1077, 'n_words': 447}