Exemple #1
0
        internal MarkSession(ITextView view, EmacsCommandsManager manager)
        {
            this.manager = manager;

            this.view = view;
            this.view.Selection.SelectionChanged += new EventHandler(Selection_SelectionChanged);

            this.activeMark = this.currentMark = CreateTrackingPoint(0);
        }
Exemple #2
0
        internal MarkSession(ITextView view, EmacsCommandsManager manager)
        {
            this.manager = manager;

            this.view = view;
            this.view.Selection.SelectionChanged += new EventHandler(Selection_SelectionChanged);

            this.activeMark = this.currentMark = CreateTrackingPoint(0);
        }
 private void CopyVskUsingXCopy(string installPath, EmacsCommandsManager manager)
 {
     var process = new System.Diagnostics.Process();
     process.StartInfo.FileName = @"xcopy.exe";
     process.StartInfo.Arguments = string.Format(@"""{0}"" ""{1}""", installPath, manager.EmacsInstallationPath);
     if (Environment.OSVersion.Platform == PlatformID.Win32NT && Environment.OSVersion.Version.Major > 5)
     {
         process.StartInfo.Verb = "runas";
     }
     process.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
     process.Start();
 }
Exemple #4
0
        private void CopyVskUsingXCopy(string installPath, EmacsCommandsManager manager)
        {
            var process = new System.Diagnostics.Process();

            process.StartInfo.FileName  = @"xcopy.exe";
            process.StartInfo.Arguments = string.Format(@"""{0}"" ""{1}""", installPath, manager.EmacsInstallationPath);
            if (Environment.OSVersion.Platform == PlatformID.Win32NT && Environment.OSVersion.Version.Major > 5)
            {
                process.StartInfo.Verb = "runas";
            }
            process.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
            process.Start();
        }
 public EmacsCommandsFilter(ITextView view, EmacsCommandsManager manager, CommandRouter router)
 {
     this.view = view;
     this.manager = manager;
     this.router = router;
 }
 public EmacsCommandsFilter(ITextView view, EmacsCommandsManager manager, CommandRouter router)
 {
     this.view    = view;
     this.manager = manager;
     this.router  = router;
 }
 public InteractiveRoleWorkAroundFilter(ITextView view, EmacsCommandsManager manager)
 {
     this.view = view;
     this.manager = manager;
 }
 internal UniversalArgumentSession(ITextView view, EmacsCommandsManager manager)
 {
     this.view = view;
     this.manager = manager;
 }
 public InteractiveRoleWorkAroundFilter(ITextView view, EmacsCommandsManager manager)
 {
     this.view    = view;
     this.manager = manager;
 }
Exemple #10
0
 internal UniversalArgumentSession(ITextView view, EmacsCommandsManager manager)
 {
     this.view    = view;
     this.manager = manager;
 }