Commit Graph

590 Commits

Author SHA1 Message Date
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
Rhys Weatherley
8fa417bdd7 Make '-' move to the start of the previous line in FakeVim mode. 2009-06-01 07:57:46 +10:00
Rhys Weatherley
790a7879e8 Make FakeVim use the default find box instead of mini-buffer
Creator already has a find box that works fairly well, so there
is no need for a mini-buffer mode for searching.  This change makes
FakeVim activate the standard find box when the user hits '/' or '?'.

Note: right now both '/' and '?' do forward searching by default
because the Creator find box lacks a "find backwards by default" mode.
This can be added later to the find box if considered useful.
2009-06-01 07:57:32 +10:00
Friedemann Kleint
4e7f2f8d7f Fixed translation glitches. 2009-05-14 17:02:30 +02:00
hjk
979c48fd5a fakevim: show a message similar to vim when pressing Ctrl-c in command mode 2009-05-07 10:53:26 +02:00
hjk
b575e06553 fakevim: make Ctrl-c work in insert and ex mode 2009-05-07 10:48:12 +02:00
hjk
aa6c55260f fakevim: better cursor poistioning after indenting 2009-05-05 09:06:36 +02:00
hjk
ed853ee42b fakevim: fix typo 2009-05-05 08:46:45 +02:00
hjk
ab47d78c0c fakevim: handle Key_Insert 2009-05-04 09:36:26 +02:00
hjk
df2c805c73 fakevim: fix 'dd' when cursor is not in the first column
Was seemingly broken by the target columns changes. Autotest is added
now, too.
2009-04-29 15:29:03 +02:00
Oswald Buddenhagen
6d5eeb7afb add missing tr()s, etc., add some //: comments 2009-04-20 16:51:10 +02:00
con
412a4b027d Merge commit 'origin/1.1'
Conflicts:
	src/plugins/debugger/debuggeractions.cpp
	src/plugins/debugger/gdboptionpage.ui
2009-04-17 15:17:31 +02:00
hjk
6f85959d06 fakevim: eat Ctrl-A to prevent the global "select all" shortcut to trigger 2009-04-17 14:58:01 +02:00
hjk
5076be59e3 fakevim: fix cursor position for <n>j or <n>k and end or begin of document 2009-04-16 11:52:58 +02:00
Thorbjørn Lindeijer
bc89f5dc4f Merge branch '1.1'
Conflicts:
	src/plugins/debugger/debuggeractions.cpp

Reviewed-by: hjk
2009-04-16 11:32:05 +02:00
hjk
c172e9b1a4 fakevim: autotests for 'e', 'dd', 'w', 'cc' 2009-04-16 11:26:12 +02:00
hjk
0c03179fac fakevim: compile fix 2009-04-14 15:47:45 +02:00
Friedemann Kleint
7f84a96e3a Compile on Windows. 2009-04-14 15:22:52 +02:00
Fred Emmott
b95af44c0d work on substitution command in fakevim 2009-04-14 13:59:46 +02:00
hjk
3e6285358d fakevim: fix positioning after 'w'
was broken during the changes to the "target column" logic
2009-04-14 09:38:16 +02:00
hjk
e76ba64f68 fakevim: work on autotests 2009-04-14 09:38:16 +02:00
hjk
57aad47460 fakevim: work on autotests 2009-04-09 13:49:22 +02:00
hjk
48dcc26d36 fakevim: work on autotests 2009-04-08 16:05:49 +02:00
hjk
0d803c5da8 fakevim: fix some target column related issues 2009-04-07 17:36:29 +02:00
hjk
7d48b523d5 fakevim: work on auto tests 2009-04-06 14:08:01 +02:00
hjk
05f0b60ff1 fakevim: fix split window 2009-04-03 16:33:59 +02:00
hjk
37ac1bee95 fakevim: fix several issues related to cursor column positioning, also
handle a few instances of "startofline" properly
2009-04-03 15:47:11 +02:00