MCPcopy Create free account
hub / github.com/GilesBathgate/RapCAD / buildCodeDoc

Method buildCodeDoc

src/syntaxhighlighter.cpp:467–475  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

465}
466
467int SyntaxHighlighter::buildCodeDoc(const QString& s)
468{
469 int stringLen=s.length();
470 setFormat(startIndex,stringLen,codeDocFormat);
471 /* Need to adjust back the index because this is a token and thus
472 * index is incremented in the NextToken() call */
473 startIndex-=(lexerget_leng(scanner)-stringLen);
474 return YY_CONTINUE;
475}
476
477void SyntaxHighlighter::buildCodeDoc()
478{

Callers

nothing calls this directly

Calls 1

lengthMethod · 0.80

Tested by

no test coverage detected