MCPcopy Create free account
hub / github.com/Cubitect/cubiomes-viewer / markFormated

Method markFormated

src/scripts.cpp:497–505  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

495}
496
497void LuaHighlighter::markFormated(QString *text, int start, int count, const QTextCharFormat& format)
498{
499 setFormat(start, count, format);
500 if (text)
501 {
502 for (int i = 0; i < count; i++)
503 (*text)[start+i] = QChar(0x02);
504 }
505}
506
507
508class ScriptEditor;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected