Text editor

Use editors to edit text.

Basic editor

BrGlamorousComponentsEditors>>#basicEditor
	<gtExample>

	^ BrEditor new
		aptitude: BrGlamorousEditorAptitude;
		text: String loremIpsum
        

Input filter allowing digits only

BrGlamorousComponentsEditors>>#digitsOnly
	<gtExample>

	^ BrEditor new
		aptitude: BrGlamorousEditorAptitude + BrGlamorousInputFieldSpacingAptitude;
		inputFilter: BrTextEditorDigitInputFilter new;
		text: '42';
		fitContent
        

Input field

BrGlamorousComponentsEditors>>#inputField
	<gtExample>

	^ BrEditor new
		aptitude: BrGlamorousEditorAptitude + BrGlamorousInputFieldSpacingAptitude;
		text: (String loremIpsum: 20) trimBoth;
		fitContent
        

Text area

BrGlamorousComponentsEditors>>#textArea
	<gtExample>

	^ BrEditor new
		aptitude: BrGlamorousEditorAptitude + BrGlamorousTextAreaSpacingAptitude;
		text: String loremIpsum