forked from qt-creator/qt-creator
First version of QML navigation.
This commit is contained in:
@@ -482,6 +482,7 @@ public:
|
||||
|
||||
public slots:
|
||||
virtual void format();
|
||||
virtual void reformat();
|
||||
virtual void rewrapParagraph();
|
||||
virtual void unCommentSelection();
|
||||
virtual void setFontSettings(const TextEditor::FontSettings &);
|
||||
@@ -509,6 +510,11 @@ protected:
|
||||
// Indent at cursor. Calls indentBlock for selection or current line.
|
||||
virtual void indent(QTextDocument *doc, const QTextCursor &cursor, QChar typedChar);
|
||||
|
||||
// Reformats/prettyprints a text block based on previous line. Default does nothing
|
||||
virtual void reformatBlock(QTextDocument *doc, QTextBlock block);
|
||||
// Reformat/prettyprint the current document.
|
||||
virtual void reformat(QTextDocument *doc, const QTextCursor &cursor);
|
||||
|
||||
struct Link
|
||||
{
|
||||
Link(const QString &fileName = QString(),
|
||||
|
||||
Reference in New Issue
Block a user