[Monodevelop-patches-list] r1874 - in trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding: . Gui Parser
commit-watcher at mono-cvs.ximian.com
commit-watcher at mono-cvs.ximian.com
Thu Jul 1 15:31:23 EDT 2004
Author: tberman
Date: 2004-07-01 15:31:23 -0400 (Thu, 01 Jul 2004)
New Revision: 1874
Modified:
trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding/ChangeLog
trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding/Gui/OutputOptionsPanel.cs
trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding/Parser/Resolver.cs
Log:
fix ctrlspace completion so it adds the contents of this. to the list.
Modified: trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding/ChangeLog
===================================================================
--- trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding/ChangeLog 2004-07-01 19:03:55 UTC (rev 1873)
+++ trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding/ChangeLog 2004-07-01 19:31:23 UTC (rev 1874)
@@ -1,3 +1,11 @@
+2004-07-01 Todd Berman <tberman at off.net>
+
+ * Parser/Resolver.cs: fix up CtrlSpace resolving to add this. members
+ to the completion window. We need to figure out what is causing the
+ public class MyWindow : Window not working but the public class
+ MyWindow : Gtk.Window still works and this stuff will look good.
+ * Gui/OutputOptionsPanel.cs: remove dup'd namespace.
+
2004-06-22 John Luke <jluke at cfl.rr.com>
* CSharpBindingCompilerManager.cs: be explicit when copying the
Modified: trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding/Gui/OutputOptionsPanel.cs
===================================================================
--- trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding/Gui/OutputOptionsPanel.cs 2004-07-01 19:03:55 UTC (rev 1873)
+++ trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding/Gui/OutputOptionsPanel.cs 2004-07-01 19:31:23 UTC (rev 1874)
@@ -20,7 +20,6 @@
using MonoDevelop.Services;
using Gtk;
-using MonoDevelop.Gui.Widgets;
namespace CSharpBinding
{
Modified: trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding/Parser/Resolver.cs
===================================================================
--- trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding/Parser/Resolver.cs 2004-07-01 19:03:55 UTC (rev 1873)
+++ trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding/Parser/Resolver.cs 2004-07-01 19:31:23 UTC (rev 1874)
@@ -127,7 +127,7 @@
cu = (ICompilationUnit)cSharpVisitor.Visit(fileCompilationUnit, null);
if (cu != null) {
callingClass = GetInnermostClass();
- //Console.WriteLine("CallingClass is " + callingClass == null ? "null" : callingClass.Name);
+// Console.WriteLine("CallingClass is " + callingClass == null ? "null" : callingClass.Name);
}
//Console.WriteLine("expression = " + expr.ToString());
IReturnType type = expr.AcceptVisitor(typeVisitor, null) as IReturnType;
@@ -904,6 +904,8 @@
{
ArrayList result = new ArrayList();
this.parserService = parserService;
+ this.caretLine = caretLine;
+ this.caretColumn = caretColumn;
IParseInformation parseInfo = parserService.GetParseInformation(fileName);
ICSharpCode.SharpRefactory.Parser.AST.CompilationUnit fileCompilationUnit = parseInfo.MostRecentCompilationUnit.Tag as ICSharpCode.SharpRefactory.Parser.AST.CompilationUnit;
if (fileCompilationUnit == null) {
@@ -916,7 +918,7 @@
cu = (ICompilationUnit)cSharpVisitor.Visit(fileCompilationUnit, null);
if (cu != null) {
callingClass = GetInnermostClass();
-// Console.WriteLine("CallingClass is " + callingClass == null ? "null" : callingClass.Name);
+ Console.WriteLine("CallingClass is " + (callingClass == null ? "null" : callingClass.Name));
}
foreach (string name in lookupTableVisitor.variables.Keys) {
ArrayList variables = (ArrayList)lookupTableVisitor.variables[name];
@@ -930,7 +932,7 @@
}
}
if (callingClass != null) {
- result = ListMembers(result, callingClass);
+ ListMembers(result, callingClass);
}
string n = "";
result.AddRange(parserService.GetNamespaceContents(project, n, true));
More information about the Monodevelop-patches-list
mailing list