Logo FluentUI

QMLHighlighter QML Type

A QML syntax highlighter component. More...

Import Statement: import FluentUI.Controls 1.0

Properties

Detailed Description

QMLHighlighter provides syntax highlighting for QML source code within a TextDocument. It applies color formatting to QML keywords, property names, string literals, comments, and other language constructs.

Property Documentation

textDocument : TextDocument

The TextDocument to which the syntax highlighting is applied. Setting this property attaches the highlighter to the document, and the highlighting is automatically updated as the document content changes.