diff options
author | Mike Krüger <mkrueger@novell.com> | 2011-06-17 17:52:14 +0400 |
---|---|---|
committer | Mike Krüger <mkrueger@novell.com> | 2011-06-17 17:52:14 +0400 |
commit | 8deb7519e209a22bddc2a72ccbf4a881ac74c243 (patch) | |
tree | 0047db42de050cc4fdf2bf1746be21972a590dfd /main/src/addins/CBinding | |
parent | 35b43b743c3b2f232cdd12ec8d33619644bb5bab (diff) |
Renamed ParsedFile -> ParsedDocument again.
Diffstat (limited to 'main/src/addins/CBinding')
-rw-r--r-- | main/src/addins/CBinding/Gui/CTextEditorExtension.cs | 2 | ||||
-rw-r--r-- | main/src/addins/CBinding/Parser/CompilationUnitDataProvider.cs | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/main/src/addins/CBinding/Gui/CTextEditorExtension.cs b/main/src/addins/CBinding/Gui/CTextEditorExtension.cs index 5f9a2b349c..cffbf66400 100644 --- a/main/src/addins/CBinding/Gui/CTextEditorExtension.cs +++ b/main/src/addins/CBinding/Gui/CTextEditorExtension.cs @@ -674,7 +674,7 @@ namespace CBinding // Yoinked from C# binding void UpdatePath (object sender, Mono.TextEditor.DocumentLocationEventArgs e) { - var unit = Document.ParsedFile; + var unit = Document.ParsedDocument; if (unit == null) return; diff --git a/main/src/addins/CBinding/Parser/CompilationUnitDataProvider.cs b/main/src/addins/CBinding/Parser/CompilationUnitDataProvider.cs index 69d22e8ad6..17fc062c00 100644 --- a/main/src/addins/CBinding/Parser/CompilationUnitDataProvider.cs +++ b/main/src/addins/CBinding/Parser/CompilationUnitDataProvider.cs @@ -55,7 +55,7 @@ namespace CBinding.Parser public string GetMarkup (int n) { - return GLib.Markup.EscapeText (Document.ParsedFile.UserRegions.ElementAt (n).Name); + return GLib.Markup.EscapeText (Document.ParsedDocument.UserRegions.ElementAt (n).Name); } internal static Gdk.Pixbuf Pixbuf @@ -70,13 +70,13 @@ namespace CBinding.Parser public object GetTag (int n) { - return Document.ParsedFile.UserRegions.ElementAt (n); + return Document.ParsedDocument.UserRegions.ElementAt (n); } public void ActivateItem (int n) { - var reg = Document.ParsedFile.UserRegions.ElementAt (n); + var reg = Document.ParsedDocument.UserRegions.ElementAt (n); MonoDevelop.Ide.Gui.Content.IExtensibleTextEditor extEditor = Document.GetContent<MonoDevelop.Ide.Gui.Content.IExtensibleTextEditor> (); if (extEditor != null) extEditor.SetCaretTo (Math.Max (1, reg.Region.BeginLine), reg.Region.BeginColumn); @@ -85,9 +85,9 @@ namespace CBinding.Parser public int IconCount { get { - if (Document.ParsedFile == null) + if (Document.ParsedDocument == null) return 0; - return Document.ParsedFile.UserRegions.Count (); + return Document.ParsedDocument.UserRegions.Count (); } } |