<commit_before>var partController = {
	$ready : function() {
		var field = hui.get('PartTextTextarea');
		field.focus();
		field.select();
		this.resizer = new op.FieldResizer({field:field});
		this.resizer.resize(true);
	},
	syncSize : function() {
		this.resizer.resize();
	}
}

hui.ui.listen(partController);<commit_msg>Fixed problem with text selection in text part<commit_after>var partController = {
	$ready : function() {
		var field = hui.get('PartTextTextarea');
		this.resizer = new op.FieldResizer({field:field});
		this.resizer.resize(true);
		field.focus();
		field.select();
	},
	syncSize : function() {
		this.resizer.resize();
	}
}

hui.ui.listen(partController);
{'fraction_non_alphanumeric': 0.16789396170839468, 'fraction_numerical': 0.0, 'mean_word_length': 4.762711864406779, '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': '7028699', 'n_tokens_mistral': 246, 'n_tokens_neox': 233, 'n_words': 40}