| 85 | } |
| 86 | |
| 87 | CtrlrTextEditor *CtrlrTextEditor::readOnlyMultiline(const String &xmlSource, const Colour backgroundColour, const Colour outlineColour, const Colour shadowColour) |
| 88 | { |
| 89 | CtrlrTextEditor *t = new CtrlrTextEditor(); |
| 90 | t->setColour (TextEditor::backgroundColourId, backgroundColour); |
| 91 | t->setColour (TextEditor::shadowColourId, shadowColour); |
| 92 | t->setColour (TextEditor::outlineColourId, outlineColour); |
| 93 | t->setReadOnly (true); |
| 94 | t->setMultiLine (true, true); |
| 95 | t->setXmlSource (xmlSource); |
| 96 | |
| 97 | return (t); |
| 98 | } |
| 99 | |
| 100 | void CtrlrTextEditor::setXmlSource (const String &xmlSource) |
| 101 | { |
nothing calls this directly
no test coverage detected