| 465 | } |
| 466 | |
| 467 | int 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 | |
| 477 | void SyntaxHighlighter::buildCodeDoc() |
| 478 | { |