hjk
b20dee565e
fakevim: implement S
2010-01-05 18:13:23 +01:00
hjk
d29b5cd208
fakevim: make auto-inserted text part of 'last insertion', so it can be repeated
2010-01-04 13:16:45 +01:00
hjk
f39381fc6c
fakevim: better gJ
2009-12-15 09:39:22 +01:00
hjk
421449ad30
fakevim: code cosmetics: use some accessor functions to m_visualMode
2009-12-15 09:39:21 +01:00
hjk
35e732f331
fakevim: some improvements to d, x, D and X in the visual modes
2009-12-15 09:39:21 +01:00
hjk
c7850c3f98
fakevim: improve some basic tab/space/indentation handling
2009-12-11 13:25:36 +01:00
hjk
a0abde6306
fakevim: Add back references, $ and ^ handling to ex-mode substitute
2009-12-09 17:41:59 +01:00
hjk
9af0027158
fakevim: make undo of line shifting 'atomic'
2009-12-01 17:11:09 +01:00
Kimitake
f928145163
^[ should work as well as ESC key in insert mode.
...
Merge-request: 2157
Reviewed-by: hjk <qtc-committer@nokia.com >
2009-11-27 14:48:37 +01:00
Kimitake
8abc551b31
[ and ] can be added in command mode, but they should be ignored.
...
Merge-request: 2157
Reviewed-by: hjk <qtc-committer@nokia.com >
2009-11-27 14:48:37 +01:00
hjk
aa3b274a93
fakevim: fix undo of 'J'
2009-11-19 08:51:18 +01:00
hjk
dcad2e249f
fakevim: fix pasting in visual block mode
2009-11-10 10:07:36 +01:00
hjk
82c548285f
fakevim: fix writing of full file in stand-alone mode
2009-11-10 09:25:51 +01:00
hjk
1775f5d887
fakevim: remove workaround for Qt <= 4.5. Creator needs 4.6 anyway
2009-11-03 14:25:25 +01:00
hjk
0bc1095b70
fakevim: fix undo() behaviour
...
This is the finalization of the change started with 3c0ca8c188 .
Fakevim undo was broken due to behavioural changes in QTextDocument
in Qt 4.6. Now that QTextDocument has gotten new accessors to the
needed (and previously available) data we can use it.
2009-11-03 14:15:24 +01:00
hjk
3c0ca8c188
fakevim: prepare fix of QTextDocument::revision() based undo/redo.
2009-10-26 12:52:07 +01:00
hjk
83cc22b233
fakevim: fix QTCREATORBUG-152
...
It took two 'u' to undo a '~'.
2009-10-23 15:47:12 +02:00
con
17d9bd6b0a
Rename QuickOpen namespace.
2009-10-16 11:30:46 +02:00
Friedemann Kleint
ee5e169cb8
FakeVim: Fix tr()-warnings.
2009-10-07 09:27:14 +02:00
Friedemann Kleint
5948e284bb
Rename namespace Core::Utils into Utils
...
Also move Designer::Internal::FormWindowEditor ->
Designer::FormWindowEditor.
2009-10-05 11:06:05 +02:00
James Linse
b2235b5ca2
Fixed yanking and deleting using marks ma "ay'a
...
Fixed yanking with e (ye) Fixed ce followed by .
Initial implementation for mark updates (marks should stay on the same line after adding/deleting lines)
Fixed yank with Y
Added fakevim tests for yanking using marks and yanking using Y.
Fixed yanking with marks when a mark was set to a blank line.
Combined yy and Y to use the same yanking method.
Merge-request: 1314
Reviewed-by: hjk <qtc-committer@nokia.com >
2009-09-16 14:16:55 +02:00
hjk
0422c8330c
fakevim: fix broken auto tests
2009-08-20 12:05:59 +02:00
hjk
d774393a86
fakevim: fix repeating <count>s
2009-08-20 10:24:22 +02:00
hjk
eb42239499
fakevim: make 'o' undo work in a single operation
2009-08-18 16:47:01 +02:00
hjk
06140f9c7a
fakevim: fix 'ddp'
...
Was broken recently during the yank/paste rework.
2009-08-18 16:47:01 +02:00
hjk
93cbef8724
long live the king
2009-08-14 09:30:56 +02:00
hjk
4d22bd3fde
fakevim: compile fix (add missing include)
2009-08-11 16:45:55 +02:00
hjk
bc61f9ddd9
fakevim: handle block mode for yank, cut and paste
2009-08-11 14:51:35 +02:00
Kornelia Poenitz
52a40b0d78
FakeVim: Fix yanking in some visual modes
...
This covers 'Y' in novisual, char and line mode and 'y' in char mode.
Visual block mode is still missing. It also fixes an off-by-one error
when displaying selection in visual char mode.
Reviewed-by: hjk
Merge-request: 1149
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com >
2009-08-10 11:56:46 +02:00
Kornelia Poenitz
519b2d21cc
FakeVim: Correct cursor moving in InsertMode
...
Text was selected after horizontal cursor moving / insert / enter followed by
vertical cursor movement. Also, target column was sometimes wrong.
Reviewed-By: hjk
Merge-request: 1050
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com >
2009-07-29 10:41:28 +02:00
Kornelia Poenitz
dd408d10e6
FakeVim: Correct the selection in VisualBlockMode
...
The selection was not visible when moving cursor up.
Reviewed-by: hjk
Merge-request: 1016
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com >
2009-07-27 11:26:35 +02:00
hjk
5e48ed77b1
fakevim: fix bogus position of cursor after unsuccessful search
2009-07-13 14:05:37 +02:00
hjk
d29bdf7126
fakevim: make the "registers" global.
...
This enables yank&paste between different buffers.
2009-07-13 09:07:24 +02:00
hjk
05d555acec
fakevim: fix problem with <Backspace> in insert mode on new line when
...
AutoIndent is on
2009-07-13 09:07:24 +02:00
hjk
ab4348ff4a
fakevim: partial fix for Gyyp
2009-07-03 13:26:08 +02:00
Jason McDonald
884b7af769
Update license headers and sales contact details.
...
Reviewed-by: Trust Me
2009-06-17 00:01:27 +10:00
hjk
1754aefdb1
fakevim: some re-organization of ex mode command handling
2009-06-15 15:14:16 +02:00
hjk
ea74cfd8f3
fakevim: fix repetition of 'D'
2009-06-12 11:55:42 +02:00
hjk
30e78c686b
fakevim: fix . after A and D in command mode
2009-06-11 17:22:37 +02:00
hjk
6077d20b96
fakevim: fix . after C in command mode
2009-06-11 17:11:10 +02:00
hjk
b919dbe572
fakevim: fix cursor column positioning bug after cfx + <Down>
2009-06-11 15:42:01 +02:00
hjk
4deff6fcca
fakevim: fix display of error messages.
...
They have been overwritten by empty strings previously too quickly.
2009-06-08 09:30:32 +02:00
hjk
5892ea1b1d
fakevim: fix problem where previously inserted text became part of a '.'
2009-06-04 16:08:34 +02:00
hjk
311ca7a074
fakevim: more undo work
2009-06-03 12:48:48 +02:00
hjk
4133107a0d
fakevim: remove old undo hack as QPlainTextEdit's own undo works well now.
2009-06-03 12:48:47 +02:00
hjk
76f57c8678
fakevim: fix behaviour of 'r' at end of line
2009-06-03 12:48:46 +02:00
hjk
6c85e5ec31
fakevim: let the "IncSearch" option toggle between using the Creator
...
core Find dialog and the "old" minibuffer based search.
A hot fix for the recent regression that 'n' and 'N' do not work and
the positioning of the cursor after the search is wrong.
2009-06-02 12:08:35 +02:00
Rhys Weatherley
4350baeea1
Map n and N in FakeVim to the FIND_NEXT and FIND_PREVIOUS actions.
2009-06-01 07:58:23 +10:00
Rhys Weatherley
6d4d0f044d
Make ZZ and ZQ work in FakeVim as aliases for :x and :q!
2009-06-01 07:58:06 +10:00
Rhys Weatherley
ef4d2c301a
Add :q/:w/:x commands that are normally expected in vi's
...
Common things like :wq, :x, and :qa didn't work - now they do.
2009-06-01 07:57:57 +10:00