diff options
author | therzok <marius.ungureanu@xamarin.com> | 2019-12-08 09:23:47 +0300 |
---|---|---|
committer | monojenkins <jo.shields+jenkins@xamarin.com> | 2020-01-15 14:54:36 +0300 |
commit | adecba7c3176e837caa603e0022699eed15ec35f (patch) | |
tree | 81781b4f4a0fb6f0ff39fdfd096478ed03b70ae1 /main/src/addins/TextTemplating | |
parent | d8237ec4ee9dc2f58b73f469cc6862fd0d0772c2 (diff) |
Remove NRefactory from TextTemplating
Diffstat (limited to 'main/src/addins/TextTemplating')
3 files changed, 0 insertions, 17 deletions
diff --git a/main/src/addins/TextTemplating/MonoDevelop.TextTemplating/Gui/T4EditorExtension.cs b/main/src/addins/TextTemplating/MonoDevelop.TextTemplating/Gui/T4EditorExtension.cs index 520954efab..611db18a0d 100644 --- a/main/src/addins/TextTemplating/MonoDevelop.TextTemplating/Gui/T4EditorExtension.cs +++ b/main/src/addins/TextTemplating/MonoDevelop.TextTemplating/Gui/T4EditorExtension.cs @@ -31,7 +31,6 @@ using MonoDevelop.Ide.Gui.Content; using MonoDevelop.DesignerSupport; using MonoDevelop.TextTemplating.Parser; using MonoDevelop.Ide; -using ICSharpCode.NRefactory.TypeSystem; using MonoDevelop.Ide.Editor.Extension; using MonoDevelop.Ide.Editor; using System.Threading.Tasks; @@ -85,16 +84,6 @@ namespace MonoDevelop.TextTemplating.Gui } } - protected string GetBufferText (DomRegion region) - { - int start = Editor.LocationToOffset (region.BeginLine, region.BeginColumn); - int end = Editor.LocationToOffset (region.EndLine, region.EndColumn); - if (end > start && start >= 0) - return Editor.GetTextBetween (start, end); - else - return null; - } - #endregion #region Code completion diff --git a/main/src/addins/TextTemplating/MonoDevelop.TextTemplating/MonoDevelop.TextTemplating.csproj b/main/src/addins/TextTemplating/MonoDevelop.TextTemplating/MonoDevelop.TextTemplating.csproj index f4d393e913..93a403d0a0 100644 --- a/main/src/addins/TextTemplating/MonoDevelop.TextTemplating/MonoDevelop.TextTemplating.csproj +++ b/main/src/addins/TextTemplating/MonoDevelop.TextTemplating/MonoDevelop.TextTemplating.csproj @@ -55,11 +55,6 @@ <Name>MonoDevelop.Ide</Name> <Private>False</Private> </ProjectReference> - <ProjectReference Include="..\..\..\..\external\nrefactory\ICSharpCode.NRefactory\ICSharpCode.NRefactory.csproj"> - <Project>{3B2A5653-EC97-4001-BB9B-D90F1AF2C371}</Project> - <Name>ICSharpCode.NRefactory</Name> - <Private>False</Private> - </ProjectReference> <ProjectReference Include="..\..\..\..\external\mono-addins\Mono.Addins\Mono.Addins.csproj"> <Project>{91DD5A2D-9FE3-4C3C-9253-876141874DAD}</Project> <Name>Mono.Addins</Name> diff --git a/main/src/addins/TextTemplating/MonoDevelop.TextTemplating/Parser/T4ParsedDocument.cs b/main/src/addins/TextTemplating/MonoDevelop.TextTemplating/Parser/T4ParsedDocument.cs index 63d5f95b58..be9322ff9d 100644 --- a/main/src/addins/TextTemplating/MonoDevelop.TextTemplating/Parser/T4ParsedDocument.cs +++ b/main/src/addins/TextTemplating/MonoDevelop.TextTemplating/Parser/T4ParsedDocument.cs @@ -28,7 +28,6 @@ using System; using System.Collections.Generic; using Mono.TextTemplating; using MonoDevelop.Ide.TypeSystem; -using ICSharpCode.NRefactory.TypeSystem; using MonoDevelop.Ide.Editor; using System.Linq; |