forked from qt-creator/qt-creator
QmlEditor: show the id name when folding a block.
If the id of an element exists, it will be displayed instead of the normal "..." Change-Id: I4e6633743b0e2ae014b7fbad3c752ef318c73659 Reviewed-by: Christian Kamm <christian.d.kamm@nokia.com>
This commit is contained in:
committed by
Christian Kamm
parent
d136b011e1
commit
635ca2a51a
@@ -216,6 +216,7 @@ protected:
|
||||
TextEditor::BaseTextEditor *createEditor();
|
||||
void createToolBar(QmlJSEditorEditable *editable);
|
||||
TextEditor::BaseTextEditorWidget::Link findLinkAt(const QTextCursor &cursor, bool resolveTarget = true);
|
||||
QString foldReplacementText(const QTextBlock &block) const;
|
||||
|
||||
private:
|
||||
bool isClosingBrace(const QList<QmlJS::Token> &tokens) const;
|
||||
|
||||
Reference in New Issue
Block a user