Commit Graph

468 Commits

Author SHA1 Message Date
hjk
c2edf7929e fakevim: fix 'A' 2010-09-14 18:48:04 +02:00
hjk
db14763c2d fakevim: fix undo 2010-09-14 18:30:49 +02:00
hjk
b85597da6f fakevim: more selection refactoring 2010-09-14 17:18:44 +02:00
hjk
80bc682d2e fakevim: more selection refactoring 2010-09-14 17:18:44 +02:00
hjk
a9891347dd fakevim: cursor refactoring 2010-09-14 17:18:44 +02:00
hjk
042c9f06a5 fakevim: create a document() accessor function. 2010-09-14 17:18:44 +02:00
hjk
259c0c1d8e fakevim: use main editor selection 2010-09-14 17:18:44 +02:00
Jarek Kobus
c072293ef0 Typos spotted while translating 2010-08-19 14:06:50 +02:00
hjk
362c41be5b fakevim: slightly better support for regular expressions in search patterns 2010-08-16 16:47:01 +02:00
hjk
91c909120b fakevim: Fix mark interpretion for d'a etc.
http://bugreports.qt.nokia.com/browse/QTCREATORBUG-1342
2010-08-11 15:15:19 +02:00
hjk
495c3f52fa fakevim: improve selection interaction with main text editor 2010-08-11 13:42:22 +02:00
hjk
a40094c99f fakevim: fix indentation of first line after >iB and >ib
http://bugreports.qt.nokia.com/browse/QTCREATORBUG-2015
2010-08-11 12:07:05 +02:00
hjk
2d551de03f fakevim: make recognition of ex command names similar to vi's 2010-07-14 18:15:17 +02:00
hjk
6df48b6650 fakevim: implement :nohlsearch 2010-07-14 16:04:10 +02:00
hjk
29af23cdb1 fakevim: implement some of the :bn/bp commands 2010-07-14 14:33:56 +02:00
hjk
816f60f0e1 fakevim: implement Ctrl-J, Ctrl-N, Ctrl-P
Funny to see what people are using instead of 'j' and 'k'...
2010-07-14 14:33:56 +02:00
hjk
e0f6d43bf7 fakevim: implement [( and ]) 2010-07-14 14:33:55 +02:00
hjk
5574a13849 fakevim: implement [{ and ]} 2010-07-14 13:08:38 +02:00
con
d24d01f49c Merge commit '52b9fcca2ddd5d5e95c6e13cbded018699c7dd68' (origin/2.0)
Conflicts:
	src/plugins/debugger/debuggeragents.cpp
	src/plugins/qt4projectmanager/qt-maemo/maemopackagecreationstep.cpp
	src/plugins/qt4projectmanager/qt-maemo/maemopackagecreationstep.h
	src/plugins/qt4projectmanager/qt-maemo/maemopackagecreationwidget.cpp
	src/plugins/qt4projectmanager/qt-maemo/maemosshthread.cpp
	src/plugins/qt4projectmanager/qt-maemo/maemosshthread.h
2010-07-13 11:31:05 +02:00
hjk
6f58124007 fakevim: fix mark positions after <Delete>
(cherry picked from commit 7ccf903ee3d9da4a104310ed423130857d59d91b)
2010-07-06 16:42:16 +02:00
hjk
312509fcdb fakevim: fix backspace in the presence of physical tabs
(cherry picked from commit 2b40e2906fc070c6253a84c0ca507ff0db912f73)
2010-07-06 16:42:10 +02:00
hjk
cd433a52de fakevim: fix insertion of tabs in insert mode
(cherry picked from commit 474ec252a23745bf5106b239054c17d7dfc2fbf2)
2010-07-06 16:42:03 +02:00
hjk
5f67f7c42b fakevim: fix insert of tabs when shifting to the right
(cherry picked from commit 3eb7b6bfbde6a847154c6053e7b4171554207865)
2010-07-06 16:41:56 +02:00
hjk
210f2784c5 fakevim: make Ctrl-V <Tab> and Ctrl-V <Return> work in Insert and Ex mode
(cherry picked from commit cbdd9202d2)
2010-07-06 14:25:51 +02:00
hjk
91ab134ff4 fakevim: fix up/down movement in the presence of real tabs
(cherry picked from commit 2e09a8f421)
2010-07-06 14:25:39 +02:00
hjk
3cae595b7a fakevim: fix insert of Tabs
(cherry picked from commit d3cea8a4d1)
2010-07-06 14:25:32 +02:00
hjk
2e09a8f421 fakevim: fix up/down movement in the presence of real tabs 2010-07-06 14:24:54 +02:00
hjk
d3cea8a4d1 fakevim: fix insert of Tabs 2010-07-06 14:24:54 +02:00
hjk
cbdd9202d2 fakevim: make Ctrl-V <Tab> and Ctrl-V <Return> work in Insert and Ex mode 2010-07-06 14:24:54 +02:00
hjk
7c44271932 fakevim: fix Delete key in command mode
(cherry picked from commit bb0f033b92)
2010-06-23 15:29:29 +02:00
hjk
c2580c91b1 fakevim: fix '$' handling on Finnish keyboards
(cherry picked from commit d2ea5a4843)
2010-06-23 15:29:25 +02:00
hjk
bb0f033b92 fakevim: fix Delete key in command mode 2010-06-23 15:13:51 +02:00
hjk
d2ea5a4843 fakevim: fix '$' handling on Finnish keyboards 2010-06-23 14:55:10 +02:00
Thorbjørn Lindeijer
173cdff56c Merge branch '2.0'
Conflicts:
	src/plugins/cppeditor/cppquickfix.cpp
	src/plugins/mercurial/mercurialjobrunner.cpp
	src/plugins/subversion/subversionplugin.cpp
2010-06-15 13:22:33 +02:00
Thorbjørn Lindeijer
a6e5298591 Fixed handling of text wrapping and a text layout corner case
Due to using QTextCursor::columnNumber() instead of
QTextCursor::positionInBlock(), a lot of code would not work correctly
when used with wrapped lines.

In addition, there was an issue with columnNumber() returning 0 right
after inserting a character before the last character of a line.

Reviewed-by: mae
2010-06-15 12:25:01 +02:00
con
7f733b1545 Merge remote branch 'origin/2.0'
Conflicts:
	README
	doc/qt-html-templates.qdocconf
	doc/qtcreator.qdoc
	doc/qtcreator.qdocconf
	src/app/Info.plist
	src/plugins/bineditor/BinEditor.pluginspec
	src/plugins/bookmarks/Bookmarks.pluginspec
	src/plugins/cmakeprojectmanager/CMakeProjectManager.pluginspec
	src/plugins/coreplugin/Core.pluginspec
	src/plugins/coreplugin/coreconstants.h
	src/plugins/cpaster/CodePaster.pluginspec
	src/plugins/cppeditor/CppEditor.pluginspec
	src/plugins/cpptools/CppTools.pluginspec
	src/plugins/cvs/CVS.pluginspec
	src/plugins/debugger/Debugger.pluginspec
	src/plugins/designer/Designer.pluginspec
	src/plugins/fakevim/FakeVim.pluginspec
	src/plugins/find/Find.pluginspec
	src/plugins/genericprojectmanager/GenericProjectManager.pluginspec
	src/plugins/git/ScmGit.pluginspec
	src/plugins/helloworld/HelloWorld.pluginspec
	src/plugins/help/Help.pluginspec
	src/plugins/locator/Locator.pluginspec
	src/plugins/mercurial/Mercurial.pluginspec
	src/plugins/perforce/Perforce.pluginspec
	src/plugins/projectexplorer/ProjectExplorer.pluginspec
	src/plugins/qmldesigner/QmlDesigner.pluginspec
	src/plugins/qmlinspector/QmlInspector.pluginspec
	src/plugins/qmljseditor/QmlJSEditor.pluginspec
	src/plugins/qmlprojectmanager/QmlProjectManager.pluginspec
	src/plugins/qt4projectmanager/Qt4ProjectManager.pluginspec
	src/plugins/regexp/RegExp.pluginspec
	src/plugins/resourceeditor/ResourceEditor.pluginspec
	src/plugins/snippets/Snippets.pluginspec
	src/plugins/subversion/Subversion.pluginspec
	src/plugins/texteditor/TextEditor.pluginspec
	src/plugins/vcsbase/VCSBase.pluginspec
	src/plugins/welcome/Welcome.pluginspec
2010-06-08 10:39:45 +02:00
hjk
fe396a5146 fakevim: fix cursor keys on Mac.
On Mac, QKeyEvent::text() returns non-empty strings for cursor keys. This
breaks some of the logic relying on text() being empty for "special" keys.

This is a quick fix to make it usable.
2010-06-04 12:53:38 +02:00
hjk
90bd009835 fakevim: implement {}/[]/<>-block text objects 2010-06-04 11:17:55 +02:00
hjk
419f587518 fakevim: clear opcount and mvcount on escape 2010-06-04 09:07:39 +02:00
hjk
3bff717f37 fakevim: use basetext indentation access instead of the cppeditor based one 2010-06-03 13:29:17 +02:00
hjk
b67369393e fakevim: synchronize with master
In theory this should have been a backport of the search-related commits
7e8c345a and 46fa3aa7, but they are buried in the middle of the Big
Commandline Reorganization. Just taking everything has lower risk and
is faster.
2010-06-02 11:09:39 +02:00
hjk
4c2c654c2a fakevim: fix (again) 'r' at last position of a line 2010-05-28 15:48:20 +02:00
hjk
5c44689793 fakevim: cleanup 'r' handling 2010-05-28 13:16:13 +02:00
hjk
0c4c66f228 fakevim: fix undo after cjaaa<Esc> 2010-05-20 16:49:48 +02:00
hjk
9b6c86bdc1 fakevim: implement :reg[isters] 2010-05-20 14:08:11 +02:00
hjk
7e8c345a64 fakevim: refactor searching
Less random jumps now.
2010-05-19 12:00:52 +02:00
hjk
2f99706031 fakevim: prepare for better integration with creator core
For :ex commands, the plugin is now asked first unconditionally.
The handler only provides fallbacks for the standalone case.
2010-05-19 12:00:52 +02:00
hjk
a87e93103a fakevim: fix range parsing if only start line is given 2010-05-19 12:00:52 +02:00
hjk
53e9c4fad6 fakevim: uniformly use double quote around file names in status messages 2010-05-18 12:13:27 +02:00
hjk
5d5eeed6c0 fakevim: set target column and mark after undo/redo, 'o' and 'O' and Return 2010-05-18 12:13:27 +02:00