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