forked from qt-creator/qt-creator
QmlJSEditor: Make struct internal
Isn't used anywhere outside. Change-Id: I4094d9334b81fd9e0309b574d0725cdd9cb87bd5 Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
This commit is contained in:
@@ -73,22 +73,6 @@ class QmlJSEditorDocument;
|
|||||||
class QmlOutlineModel;
|
class QmlOutlineModel;
|
||||||
} // namespace Internal
|
} // namespace Internal
|
||||||
|
|
||||||
struct QMLJSEDITOR_EXPORT Declaration
|
|
||||||
{
|
|
||||||
QString text;
|
|
||||||
int startLine;
|
|
||||||
int startColumn;
|
|
||||||
int endLine;
|
|
||||||
int endColumn;
|
|
||||||
|
|
||||||
Declaration()
|
|
||||||
: startLine(0),
|
|
||||||
startColumn(0),
|
|
||||||
endLine(0),
|
|
||||||
endColumn(0)
|
|
||||||
{ }
|
|
||||||
};
|
|
||||||
|
|
||||||
class QMLJSEDITOR_EXPORT QmlJSTextEditorWidget : public TextEditor::BaseTextEditorWidget
|
class QMLJSEDITOR_EXPORT QmlJSTextEditorWidget : public TextEditor::BaseTextEditorWidget
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|||||||
@@ -51,6 +51,22 @@ enum {
|
|||||||
UPDATE_OUTLINE_INTERVAL = 500
|
UPDATE_OUTLINE_INTERVAL = 500
|
||||||
};
|
};
|
||||||
|
|
||||||
|
struct Declaration
|
||||||
|
{
|
||||||
|
QString text;
|
||||||
|
int startLine;
|
||||||
|
int startColumn;
|
||||||
|
int endLine;
|
||||||
|
int endColumn;
|
||||||
|
|
||||||
|
Declaration()
|
||||||
|
: startLine(0),
|
||||||
|
startColumn(0),
|
||||||
|
endLine(0),
|
||||||
|
endColumn(0)
|
||||||
|
{ }
|
||||||
|
};
|
||||||
|
|
||||||
class FindIdDeclarations: protected Visitor
|
class FindIdDeclarations: protected Visitor
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|||||||
Reference in New Issue
Block a user