save/restore collapsed state
git-svn-id: svn://db.shs.com.ru/libs@16 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -49,6 +49,7 @@ protected:
|
||||
typedef QList<ACPair> ACList;
|
||||
|
||||
virtual ACList autoCompletitionList(const QStringList & scope, const QString & written) const {return ACList();}
|
||||
virtual void parse() {}
|
||||
ACList wordsCompletitionList(const QString & written) const;
|
||||
static int skipRange(const QString & s, int pos, QChar oc, QChar cc, QChar sc = QChar());
|
||||
static int skipCWord(const QString & s, int pos);
|
||||
@@ -69,10 +70,11 @@ private:
|
||||
QTextEdit::ExtraSelection es_line;
|
||||
QList<QTextEdit::ExtraSelection> es_selected, es_custom;
|
||||
QMap<int, ACClass> ac_classes;
|
||||
int prev_lc, auto_comp_pl;
|
||||
int prev_lc, auto_comp_pl, timer;
|
||||
bool spaces_, _ignore_focus_out;
|
||||
|
||||
bool eventFilter(QObject * o, QEvent * e);
|
||||
void timerEvent(QTimerEvent * );
|
||||
void applyExtraSelection();
|
||||
void nextCompletition();
|
||||
void previousCompletition();
|
||||
@@ -101,6 +103,7 @@ public slots:
|
||||
|
||||
signals:
|
||||
void textChanged();
|
||||
void parseRequest();
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user