QCodeEdit small changes

This commit is contained in:
2020-09-14 00:07:58 +03:00
parent aa695f8494
commit ad471350e7

View File

@@ -56,13 +56,13 @@ public:
};
struct QAD_WIDGETS_EXPORT ACEntry {
ACEntry(const QString & t = QString(), const QString & n = QString(), const QString & h = QString()):
type(t), name(n), hint(h) {declaration_pos = -1; custom_data = 0;}
type(t), name(n), hint(h) {declaration_pos = -1;}
bool isNull() const {return type.isEmpty() && name.isEmpty();}
QString type;
QString name;
QString hint;
int declaration_pos;
void * custom_data;
QVariant custom_data;
};
QTextCursor textCursor() const;