| Summary: | [VI Mode] Range operations in vi-input mode don't work | ||
|---|---|---|---|
| Product: | [Applications] kate | Reporter: | Matthijs <mtijink.bugs> |
| Component: | Vi Input Mode | Assignee: | KWrite Developers <kwrite-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | christoph, kdedevel, mail |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | http://commits.kde.org/ktexteditor/0ea97afbeddb19f598bab98e01f31869852bdf62 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Matthijs
2010-05-01 00:31:02 UTC
I can confirm this and would really like to see this fixed. I often do visual selections and replace something in them, this doesn't work: - Do a visual selection - Start typing a command - At the moment the : is entered, the visual selection is gone Simon: Is this still an issue with all your changes? Dominik: There's a bit of a mix of bugs here: a) The range is not entirely respected e.g. the 3:s/much/try/" & ".,.+2s/much/try/" examples; b) The "r" command is not implemented; & c) Pressing ":" in Visual Mode immediately dismisses the selection. a) Seems to be fixed; b) is not, and should be a separate bug report; as for c) - well, the selection is still technically immediately dismissed, but the fact that this is an operation to be carried out over the selected range is stored. I can't immediately come up with a scenario where this would give a different result to Vim, so I'd class it as "fixed for all practical purposes". Matthijs, Elias: Can you test again by following http://kate-editor.org/get-it/ ? Git commit 0ea97afbeddb19f598bab98e01f31869852bdf62 by Boris Egorov. Committed on 12/02/2016 at 02:12. Pushed by egorov into branch 'master'. Add tests for #235862, just to make sure it is fixed REVIEW: 127045 M +4 -0 autotests/src/vimode/modes.cpp http://commits.kde.org/ktexteditor/0ea97afbeddb19f598bab98e01f31869852bdf62 |