| 802 | } |
| 803 | |
| 804 | void RcxEditor::applyBaseAddressColoring(const QVector<LineMeta>& meta) { |
| 805 | if (meta.isEmpty() || meta[0].lineKind != LineKind::CommandRow) return; |
| 806 | |
| 807 | clearIndicatorLine(IND_BASE_ADDR, 0); |
| 808 | // Override lexer's green number coloring on the address with default text color |
| 809 | QString t = getLineText(m_sci, 0); |
| 810 | ColumnSpan addr = commandRowAddrSpan(t); |
| 811 | if (addr.valid) |
| 812 | fillIndicatorCols(IND_BASE_ADDR, 0, addr.start, addr.end); |
| 813 | } |
| 814 | |
| 815 | void RcxEditor::applyCommandRowPills() { |
| 816 | if (m_meta.isEmpty() || m_meta[0].lineKind != LineKind::CommandRow) return; |
nothing calls this directly
no test coverage detected