~ubuntu-branches/ubuntu/oneiric/monodevelop/oneiric

« back to all changes in this revision

Viewing changes to src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/IdeViMode.cs

  • Committer: Bazaar Package Importer
  • Author(s): Jo Shields
  • Date: 2011-06-27 17:03:13 UTC
  • mto: (1.8.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 54.
  • Revision ID: james.westby@ubuntu.com-20110627170313-6cvz3s19x6e9hqe9
ImportĀ upstreamĀ versionĀ 2.5.92+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
 
35
35
namespace MonoDevelop.SourceEditor
36
36
{
 
37
        public class NewIdeViMode : Mono.TextEditor.Vi.NewViEditMode
 
38
        {
 
39
                public NewIdeViMode (ExtensibleTextEditor editor)
 
40
                {
 
41
                        this.editor = editor;
 
42
                }
 
43
                
 
44
                protected override void HandleKeypress (Gdk.Key key, uint unicodeKey, Gdk.ModifierType modifier)
 
45
                {
 
46
                        base.HandleKeypress (key, unicodeKey, modifier);
 
47
                        IdeApp.Workbench.StatusBar.ShowMessage (ViEditor.Message);
 
48
                }
 
49
        }
 
50
        
37
51
        public class IdeViMode : Mono.TextEditor.Vi.ViEditMode
38
52
        {
39
53
                ExtensibleTextEditor editor;