rem: : BView(rect, "Number Editor", B_FOLLOW_LEFT_RIGHT, 0),
add: : TypeEditorView(rect, "Number Editor", B_FOLLOW_LEFT_RIGHT, 0),
context: NumberEditor::NumberEditor(BRect rect, DataEditor &editor)	: BView(rect, "Number Editor", B_FOLLOW_LEFT_RIGHT, 0),	fEditor(editor){	SetViewColor(ui_color(B_PANEL_BACKGROUND_COLOR));	fTextControl = new BTextControl(rect.InsetByCopy(5, 5), B_EMPTY_STRING, TypeLabel(), NULL,							new BMessage(kMsgValueChanged), B_FOLLOW_ALL);	fTextControl->SetDivider(StringWidth(fTextControl->Label()) + 8);	fTextControl->SetAlignment(B_ALIGN_RIGHT, B_ALIGN_RIGHT);	ResizeTo(rect.Width(), 30);	AddChild(fTextControl);}