DecompilerHighlighter

class DecompilerHighlighter : public QSyntaxHighlighter

SyntaxHighlighter based on annotations from decompiled code. Can be only used in combination with DecompilerWidget.

Public Functions

DecompilerHighlighter(QTextDocument *parent = nullptr)
virtual ~DecompilerHighlighter() = default
void setAnnotations(RzAnnotatedCode *code)

Set the code with annotations to be used for highlighting.

It is callers responsibility to ensure that it is synchronized with currentTextDocument and has sufficiently long lifetime.

Parameters:

code