diff options
author | Mike Krüger <mkrueger@xamarin.com> | 2015-04-02 10:28:03 +0300 |
---|---|---|
committer | Mike Krüger <mkrueger@xamarin.com> | 2015-04-02 10:28:03 +0300 |
commit | 163623c0903f58c0197ff9521e530a1e7aca5976 (patch) | |
tree | 01eb2758364a0bc127ad8775bd914578f19f7e2c /main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Content | |
parent | f78aeaa7e4dd6cd1d312f8f8e8bf69f82de0e089 (diff) |
[Ide] IOpenNamedElementHandler is now internal.
It's only for the AssemblyBrowser. ISmartIndenter was unused.
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Content')
3 files changed, 2 insertions, 65 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Content/IFoldable.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Content/IFoldable.cs index 2e163bc941..2775cfd06e 100644 --- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Content/IFoldable.cs +++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Content/IFoldable.cs @@ -30,7 +30,7 @@ using System; namespace MonoDevelop.Ide.Gui.Content { - public interface IFoldable + interface IFoldable { void ToggleAllFoldings (); void FoldDefinitions (); diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Content/IOpenNamedElementHandler.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Content/IOpenNamedElementHandler.cs index 1ee3cc8e22..e7b6c33768 100644 --- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Content/IOpenNamedElementHandler.cs +++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Content/IOpenNamedElementHandler.cs @@ -30,7 +30,7 @@ using System; namespace MonoDevelop.Ide.Gui.Content { - public interface IOpenNamedElementHandler + interface IOpenNamedElementHandler { void Open (Microsoft.CodeAnalysis.ISymbol element); void Open (string documentationCommentId); diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Content/ISmartIndenter.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Content/ISmartIndenter.cs deleted file mode 100644 index dfeb37a083..0000000000 --- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Content/ISmartIndenter.cs +++ /dev/null @@ -1,63 +0,0 @@ -// -// ISmartIndenter.cs -// -// Author: -// Michael Hutchinson <mhutchinson@novell.com> -// -// Copyright (C) 2008 Novell, Inc (http://www.novell.com) -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// - -using System; - -namespace MonoDevelop.Ide.Gui.Content -{ - - public interface ISmartIndenter - { - Indent GetIndent (int line); - Indent GetAutoTriggeredReindent (int insertionOffset, int length); - } - - public struct Indent - { - int depth, alignment; - bool isRelative; - - public Indent (int depth, int alignment) - : this (depth, alignment, false) - { - } - - public Indent (int depth, int alignment, bool isRelative) - { - this.depth = depth; - this.alignment = alignment; - this.isRelative = isRelative; - } - - public int Depth { get { return depth; } } - public int Alignment { get { return alignment; } } - public bool IsRelativeToPreviousLine { get { return isRelative; } } - - public bool IsZero { get { return Depth == 0 && Alignment == 0; } } - } -} |