~bratsche/ubuntu/maverick/monodevelop/disable-appmenu

« back to all changes in this revision

Viewing changes to src/addins/Mono.Texteditor/Mono.TextEditor.Vi/ViMode.cs

  • Committer: Bazaar Package Importer
  • Author(s): Jo Shields, Jo Shields, Iain Lane
  • Date: 2009-04-02 20:50:18 UTC
  • mfrom: (1.2.3 upstream) (1.1.14 sid)
  • Revision ID: james.westby@ubuntu.com-20090402205018-2ehhq89bo5eeajli
Tags: 2.0+dfsg-1~ubuntu1
[ Jo Shields ]
* New upstream release
* DFSG version of MonoDevelop 2.0
  (deleted all pre-compiled binaries from the tarball)
  + For the record here a list of the deleted files:
    src/addins/NUnit/lib/nunit.framework.dll
    src/addins/NUnit/lib/nunit.core.dll
    src/addins/NUnit/lib/nunit.util.dll
    src/addins/NUnit/lib/nunit.core.interfaces.dll
* debian/control:
  + Tweak build-deps to allow building against libgconf2.24-cil due to 
    broken ABI bump in Ubuntu
* debian/patches/update_templates_for_gtk-sharp_2.10.dpatch,
  debian/patches/update_templates_for_gtk-sharp_2.12.dpatch:
  + Refresh patch to ensure new projects are created using the correct
    version of GTK#

[ Iain Lane ]
* Upload from pkg-cli-apps SVN into Ubuntu; delayed in sid due to transition
  constraints. (LP: #353300)

Show diffs side-by-side

added added

removed removed

Lines of Context:
199
199
 
200
200
                                        case 'V':
201
201
                                                Status = "-- VISUAL LINE --";
 
202
                                                Data.SelectionAnchor = Caret.Offset;
202
203
                                                Data.SetSelectLines (Caret.Line, Caret.Line);
203
204
                                                state = State.VisualLine;
204
205
                                                return;
205
206
                                                
206
207
                                        case 'v':
207
208
                                                Status = "-- VISUAL --";
 
209
                                                Data.SelectionAnchor = Caret.Offset;
208
210
                                                state = State.Visual;
209
211
                                                return;
210
212
                                                
495
497
                                        if (0 < commandBuffer.Length) {
496
498
                                                commandBuffer.Remove (commandBuffer.Length-1, 1);
497
499
                                                Status = commandBuffer.ToString ();
 
500
                                                if (0 == commandBuffer.Length)
 
501
                                                        Reset (Status);
498
502
                                        }
499
503
                                        break;
500
504
                                default:
723
727
                                        data.InsertAtCaret (contents);
724
728
                                        data.Caret.Offset = offset;
725
729
                                }
 
730
                                Reset (string.Empty);
726
731
                        });
727
732
                }
728
733
 
770
775
                                        data.InsertAtCaret (contents);
771
776
                                        Caret.Offset = offset;
772
777
                                }
 
778
                                Reset (string.Empty);
773
779
                        });
774
780
                }
775
781