Warning, /frameworks/syntax-highlighting/examples/minimal-qml/example.qml is written in an unsupported language. File is not indexed.
0001 /* 0002 SPDX-FileCopyrightText: 2018 Eike Hein <hein@kde.org> 0003 0004 SPDX-License-Identifier: MIT 0005 */ 0006 0007 import QtQuick 2.6 0008 import QtQuick.Controls 2.0 0009 import org.kde.syntaxhighlighting 1.0 0010 0011 TextArea { 0012 id: myText 0013 0014 width: 250 0015 height: 250 0016 0017 text: "int foo = 0;" 0018 0019 SyntaxHighlighter { 0020 textEdit: myText 0021 definition: "C++" 0022 } 0023 }