forked from qt-creator/qt-creator
Fix the miscalculation of the start / end of the js directives lines. Also small optimizations on usage of increment operators. Add a unit test. Fixes: QTCREATORBUG-29001 Change-Id: I38923f137dca5c0b89d474cd747a64ec11e62fd9 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
16 lines
231 B
JavaScript
16 lines
231 B
JavaScript
// Copyright (C) 2023 The Qt Company Ltd.
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
|
|
|
|
|
.pragma library
|
|
|
|
.import QtQml as QTQML
|
|
|
|
|
|
|
|
.import QtQuick as QTQUICK
|
|
|
|
|
|
|
|
function test() {}
|