| 196 | } |
| 197 | |
| 198 | void RcxEditor::setCustomTypeNames(const QStringList& names) { |
| 199 | m_customTypeNames = names; |
| 200 | QByteArray kw = names.join(' ').toLatin1(); |
| 201 | m_sci->SendScintilla(QsciScintillaBase::SCI_SETKEYWORDS, |
| 202 | (uintptr_t)3, kw.constData()); |
| 203 | } |
| 204 | |
| 205 | void RcxEditor::setupMargins() { |
| 206 | m_sci->setMarginsFont(editorFont()); |