void SetWordFindStrategy()
        {
            switch (WordNavigationStyle)
            {
            case MonoDevelop.Ide.Editor.WordNavigationStyle.Unix:
                this.wordFindStrategy = new EmacsWordFindStrategy(true);
                break;

            case MonoDevelop.Ide.Editor.WordNavigationStyle.Windows:
                this.wordFindStrategy = new SharpDevelopWordFindStrategy();
                break;
            }
        }
Beispiel #2
0
        void SetWordFindStrategy()
        {
            if (UseViModes)
            {
                this.wordFindStrategy = new Mono.TextEditor.Vi.ViWordFindStrategy();
                return;
            }

            switch (WordNavigationStyle)
            {
            case MonoDevelop.Ide.Editor.WordNavigationStyle.Unix:
                this.wordFindStrategy = new EmacsWordFindStrategy(true);
                break;

            case MonoDevelop.Ide.Editor.WordNavigationStyle.Windows:
                this.wordFindStrategy = new SharpDevelopWordFindStrategy();
                break;
            }
        }
        void SetWordFindStrategy()
        {
            if (useViModes)
            {
                wordFindStrategy = new Mono.TextEditor.Vi.ViWordFindStrategy();
                return;
            }

            switch (WordNavigationStyle)
            {
            case WordNavigationStyle.Windows:
                wordFindStrategy = new SharpDevelopWordFindStrategy();
                break;

            default:
                wordFindStrategy = new EmacsWordFindStrategy();
                break;
            }
        }
        void SetWordFindStrategy()
        {
            if (useViModes)
            {
                this.wordFindStrategy = new Mono.TextEditor.Vi.ViWordFindStrategy();
                return;
            }

            switch (ControlLeftRightMode)
            {
            case ControlLeftRightMode.MonoDevelop:
                this.wordFindStrategy = new EmacsWordFindStrategy(true);
                break;

            case ControlLeftRightMode.Emacs:
                this.wordFindStrategy = new EmacsWordFindStrategy(false);
                break;

            case ControlLeftRightMode.SharpDevelop:
                this.wordFindStrategy = new SharpDevelopWordFindStrategy();
                break;
            }
        }
		void SetWordFindStrategy ()
		{
			if (useViModes) {
				this.wordFindStrategy = new Mono.TextEditor.Vi.ViWordFindStrategy ();
				return;
			}
			
			switch (ControlLeftRightMode) {
			case ControlLeftRightMode.MonoDevelop:
				this.wordFindStrategy = new EmacsWordFindStrategy (true);
				break;
			case ControlLeftRightMode.Emacs:
				this.wordFindStrategy = new EmacsWordFindStrategy (false);
				break;
			case ControlLeftRightMode.SharpDevelop:
				this.wordFindStrategy = new SharpDevelopWordFindStrategy ();
				break;
			}
		}
		void SetWordFindStrategy ()
		{
			if (useViModes) {
				wordFindStrategy = new Mono.TextEditor.Vi.ViWordFindStrategy ();
				return;
			}
			
			switch (WordNavigationStyle) {
			case WordNavigationStyle.Windows:
				wordFindStrategy = new SharpDevelopWordFindStrategy ();
				break;
			default:
				wordFindStrategy = new EmacsWordFindStrategy ();
				break;
			}
		}
		void SetWordFindStrategy ()
		{
			switch (WordNavigationStyle) {
			case MonoDevelop.Ide.Editor.WordNavigationStyle.Unix:
				this.wordFindStrategy = new EmacsWordFindStrategy (true);
				break;
			case MonoDevelop.Ide.Editor.WordNavigationStyle.Windows:
				this.wordFindStrategy = new SharpDevelopWordFindStrategy ();
				break;
			}
		}
		void SetWordFindStrategy ()
		{
			if (UseViModes) {
				this.wordFindStrategy = new Mono.TextEditor.Vi.ViWordFindStrategy ();
				return;
			}

			switch (WordNavigationStyle) {
			case MonoDevelop.Ide.Editor.WordNavigationStyle.Unix:
				this.wordFindStrategy = new EmacsWordFindStrategy (true);
				break;
			case MonoDevelop.Ide.Editor.WordNavigationStyle.Windows:
				this.wordFindStrategy = new SharpDevelopWordFindStrategy ();
				break;
			}
		}