MetaModelicaEditor::MetaModelicaEditor(ModelWidget *pModelWidget) : BaseEditor(pModelWidget) { setCanHaveBreakpoints(true); /* set the document marker */ mpDocumentMarker = new DocumentMarker(mpPlainTextEdit->document()); }
//! Constructor ModelicaEditor::ModelicaEditor(ModelWidget *pParent) : BaseEditor(pParent), mLastValidText(""), mTextChanged(false), mForceSetPlainText(false) { setCanHaveBreakpoints(true); /* set the document marker */ mpDocumentMarker = new DocumentMarker(mpPlainTextEdit->document()); }