Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QtCreator Source Code: Highlight keyword matches.
Can anyone tell how to find the procedure in QtCreator code that highlights the matching keywords. :-) I have search a lot, but no results.
This is the closer I can get:
void CurrentDocumentFind::highlightAll(const QString &txt, Find::FindFlags findFlags)
But can't find the definition for highlightAll. Any idea?
sergey-shambir last edited by
I didn't understand which language keywords you mean and which highlighting. Can you explain more detaily please?
Hi sergey-shambir, thanks for your reply.
In QtCreator, when you Find some text, and the text is found, the Editor highlight (in yellow) the matching words, I want to know, how QtCreator does it.