[mono/monodevelop] [2 commits] 00967611: 16307 - reset motion after actions
| Newsgroups | gmane.comp.gnome.mono.patches |
|---|---|
| Message-ID | <00000142728c1e9e-a9de6913-049d-4f7f-8ee8-8b79bc9564f5-000000@email.amazonses.com> |
Branch: refs/heads/master
Home: https://github.com/mono/monodevelop
Compare: https://github.com/mono/monodevelop/compare/84f7b428516c...5807caa980c3
Commit: 0096761136de4777cafdc83079f2c8b34943ab8d
Author: kjnilsson <[email protected]> (kjnilsson)
Date: 2013-11-19 19:49:10 GMT
URL: https://github.com/mono/monodevelop/commit/0096761136de4777cafdc83079f2c8b34943ab8d
16307 - reset motion after actions
Changed paths:
M main/src/core/Mono.Texteditor/Mono.TextEditor.Vi/ViMode.cs
Modified: main/src/core/Mono.Texteditor/Mono.TextEditor.Vi/ViMode.cs
===================================================================
@@ -252,7 +252,7 @@ void Reset (string status)
{
CurState = State.Normal;
ResetEditorState (Data);
-
+ motion = Motion.None;
commandBuffer.Length = 0;
Status = status;
}
@@ -617,6 +617,7 @@ protected override void HandleKeypress (Gdk.Key key, uint unicodeKey, Gdk.Modifi
RunActions (action, ClipboardActions.Cut);
Status = "-- INSERT --";
CurState = State.Insert;
+ motion = Motion.None;
Caret.Mode = CaretMode.Insert;
} else {
Reset ("Unrecognised motion");
Commit: 5807caa980c376c934aee199f124ba957e5a43e4
Author: Michael Hutchinson <[email protected]> (mhutch)
Date: 2013-11-19 22:45:30 GMT
URL: https://github.com/mono/monodevelop/commit/5807caa980c376c934aee199f124ba957e5a43e4
Merge pull request #438 from kjnilsson/master
16307 - vi mode - reset motion after actions
Changed paths:
M main/src/core/Mono.Texteditor/Mono.TextEditor.Vi/ViMode.cs
Modified: main/src/core/Mono.Texteditor/Mono.TextEditor.Vi/ViMode.cs
===================================================================
@@ -252,7 +252,7 @@ void Reset (string status)
{
CurState = State.Normal;
ResetEditorState (Data);
-
+ motion = Motion.None;
commandBuffer.Length = 0;
Status = status;
}
@@ -617,6 +617,7 @@ protected override void HandleKeypress (Gdk.Key key, uint unicodeKey, Gdk.Modifi
RunActions (action, ClipboardActions.Cut);
Status = "-- INSERT --";
CurState = State.Insert;
+ motion = Motion.None;
Caret.Mode = CaretMode.Insert;
} else {
Reset ("Unrecognised motion");
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches