Commit a700c1f0 authored by hjk's avatar hjk
Browse files

fakevim: re-use the undo/redo capability of QTextDocument instead of

rolling our own

This is reverting a previous decision and boils down to replacing one can of worms by another...
parent bb075d29
This diff is collapsed.
......@@ -73,10 +73,11 @@ signals:
void indentRegion(int *amount, int beginLine, int endLine, QChar typedChar);
void completionRequested();
public:
class Private;
private:
bool eventFilter(QObject *ob, QEvent *ev);
class Private;
friend class Private;
Private *d;
};
......
......@@ -119,6 +119,9 @@ int main(int argc, char *argv[])
&proxy, SLOT(changeStatusData(QString)));
theFakeVimSetting(ConfigUseFakeVim)->setValue(true);
theFakeVimSetting(ConfigShiftWidth)->setValue(8);
theFakeVimSetting(ConfigTabStop)->setValue(8);
handler.installEventFilter();
handler.setupWidget();
if (args.size() >= 1)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment