forked from qt-creator/qt-creator
Reformatting 'signal' preceded by comments used to bring to a bad formatted file. Task-number: QTCREATORBUG-17886 Change-Id: I02e093a4721cd1e75d45b498ea768251aee88ea4 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
27 lines
395 B
QML
27 lines
395 B
QML
import QtQuick 2.0
|
|
|
|
|
|
/* Comment 1
|
|
This is a multiline comment. */
|
|
|
|
/*
|
|
Another multiline comment.
|
|
|
|
A slightly different formatting.
|
|
*/
|
|
Item {
|
|
/*
|
|
Indented multiline comment.
|
|
*/
|
|
|
|
// Comment over a signal.
|
|
signal foo
|
|
|
|
function test() {
|
|
for (var i = model.count - 1; i >= 0; --i) // in-line comment
|
|
{
|
|
console.log("test")
|
|
}
|
|
}
|
|
}
|