<commit_before><commit_msg>Created HaltColonIconStylerClass, to style `halt:` message nodes with red highlighting in code browsers.<commit_after>"
I'm in charge to style  the editor for  `halt:` messages, like `self halt: 'an error happened'`
"
Class {
	#name : #HaltColonIconStyler,
	#superclass : #HaltIconStyler,
	#category : #'Reflectivity-Tools-Breakpoints'
}

{ #category : #defaults }
HaltColonIconStyler >> iconLabelBlock: aNode [
	^ ['halt:']
]

{ #category : #testing }
HaltColonIconStyler >> shouldStyleNode: aNode [
	^aNode isMessage and: [ aNode selector = 'halt:']
]
{'fraction_non_alphanumeric': 0.12758620689655173, 'fraction_numerical': 0.0, 'mean_word_length': 5.755813953488372, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '1557455', 'n_tokens_mistral': 203, 'n_tokens_neox': 194, 'n_words': 53}