Author: mkrueger
Date: 2007-09-18 05:16:47 -0400 (Tue, 18 Sep 2007)
New Revision: 85956

Modified:
   trunk/monodevelop/Extras/CSharpBinding/ChangeLog
   trunk/monodevelop/Extras/CSharpBinding/Gui/CSharpTextEditorExtension.cs
Log:
* Gui/CSharpTextEditorExtension.cs: Fixed Bug 325438 - New doc
  completion slowing me down.

Modified: trunk/monodevelop/Extras/CSharpBinding/ChangeLog
===================================================================
--- trunk/monodevelop/Extras/CSharpBinding/ChangeLog    2007-09-18 08:38:35 UTC 
(rev 85955)
+++ trunk/monodevelop/Extras/CSharpBinding/ChangeLog    2007-09-18 09:16:47 UTC 
(rev 85956)
@@ -1,3 +1,8 @@
+2007-09-18  Mike Krüger <[EMAIL PROTECTED]> 
+
+       * Gui/CSharpTextEditorExtension.cs: Fixed Bug 325438 - New doc 
completion
+         slowing me down.
+
 2007-09-15  Jérémie Laval <[EMAIL PROTECTED]>
 
        * Parser/Parser.cs: Added support for parsing error retrieval from 
NRefactory.

Modified: 
trunk/monodevelop/Extras/CSharpBinding/Gui/CSharpTextEditorExtension.cs
===================================================================
--- trunk/monodevelop/Extras/CSharpBinding/Gui/CSharpTextEditorExtension.cs     
2007-09-18 08:38:35 UTC (rev 85955)
+++ trunk/monodevelop/Extras/CSharpBinding/Gui/CSharpTextEditorExtension.cs     
2007-09-18 09:16:47 UTC (rev 85956)
@@ -228,6 +228,7 @@
                                        IParserContext pctx = GetParserContext 
();
                                        ICompilationUnit unit = 
pctx.GetParseInformation (this.FileName).BestCompilationUnit as 
ICompilationUnit;
                                        if (unit != null) {
+                                               
                                                IClass insideClass = 
LookupClass (unit, lin, col);
                                                if (insideClass != null) {
                                                        if (!IsInsideClassBody 
(insideClass, lin, col))
@@ -814,23 +815,23 @@
                        cp.AddCompletionData (new CodeCompletionData ("c", 
"md-literal", GettextCatalog.GetString ("Marks text as code.")));
                        cp.AddCompletionData (new CodeCompletionData ("code", 
"md-literal", GettextCatalog.GetString ("Marks text as code.")));
                        cp.AddCompletionData (new CodeCompletionData 
("example", "md-literal", GettextCatalog.GetString ("A description of the code 
sample.\nCommonly, this would involve use of the &lt;code&gt; tag.")));
-                       cp.AddCompletionData (new CodeCompletionData 
("exception cref=\"\"", "md-literal", GettextCatalog.GetString ("This tag lets 
you specify which exceptions can be thrown.")));
-                       cp.AddCompletionData (new CodeCompletionData ("include 
file=\"\" path=\"\"", "md-literal", GettextCatalog.GetString ("The 
&lt;include&gt; tag lets you refer to comments in another file that describe 
the types and members in your source code.\nThis is an alternative to placing 
documentation comments directly in your source code file.")));
-                       cp.AddCompletionData (new CodeCompletionData ("list 
type=\"\"", "md-literal", GettextCatalog.GetString ("Defines a list or 
table.")));
+                       cp.AddCompletionData (new CodeCompletionData 
("exception", "md-literal", GettextCatalog.GetString ("This tag lets you 
specify which exceptions can be thrown."), "exception 
cref=\"|\"></exception>"));
+                       cp.AddCompletionData (new CodeCompletionData 
("include", "md-literal", GettextCatalog.GetString ("The &lt;include&gt; tag 
lets you refer to comments in another file that describe the types and members 
in your source code.\nThis is an alternative to placing documentation comments 
directly in your source code file."), "include file=\"|\" path=\"\">"));
+                       cp.AddCompletionData (new CodeCompletionData ("list", 
"md-literal", GettextCatalog.GetString ("Defines a list or table."), "list 
type=\"|\">"));
                        cp.AddCompletionData (new CodeCompletionData 
("listheader", "md-literal", GettextCatalog.GetString ("Defines a header for a 
list or table.")));
                        cp.AddCompletionData (new CodeCompletionData ("item", 
"md-literal", GettextCatalog.GetString ("Defines an item for a list or 
table.")));
                        cp.AddCompletionData (new CodeCompletionData ("term", 
"md-literal", GettextCatalog.GetString ("A term to define.")));
                        cp.AddCompletionData (new CodeCompletionData 
("description", "md-literal", GettextCatalog.GetString ("Describes a term in a 
list or table.")));
                        cp.AddCompletionData (new CodeCompletionData ("para", 
"md-literal", GettextCatalog.GetString ("A text paragraph.")));
 
-                       cp.AddCompletionData (new CodeCompletionData ("param 
name=\"\"", "md-literal", GettextCatalog.GetString ("Describes a method 
parameter.")));
-                       cp.AddCompletionData (new CodeCompletionData ("paramref 
name=\"\"", "md-literal", GettextCatalog.GetString ("The &lt;paramref&gt; tag 
gives you a way to indicate that a word is a parameter.")));
+                       cp.AddCompletionData (new CodeCompletionData ("param", 
"md-literal", GettextCatalog.GetString ("Describes a method parameter."), 
"param name=\"|\">"));
+                       cp.AddCompletionData (new CodeCompletionData 
("paramref", "md-literal", GettextCatalog.GetString ("The &lt;paramref&gt; tag 
gives you a way to indicate that a word is a parameter."), "paramref 
name=\"|\"/>"));
                        
-                       cp.AddCompletionData (new CodeCompletionData 
("permission cref=\"\"", "md-literal", GettextCatalog.GetString ("The 
&lt;permission&gt; tag lets you document the access of a member.")));
+                       cp.AddCompletionData (new CodeCompletionData 
("permission", "md-literal", GettextCatalog.GetString ("The &lt;permission&gt; 
tag lets you document the access of a member."), "permission cref=\"|\""));
                        cp.AddCompletionData (new CodeCompletionData 
("remarks", "md-literal", GettextCatalog.GetString ("The &lt;remarks&gt; tag is 
used to add information about a type, supplementing the information specified 
with &lt;summary&gt;.")));
                        cp.AddCompletionData (new CodeCompletionData 
("returns", "md-literal", GettextCatalog.GetString ("The &lt;returns&gt; tag 
should be used in the comment for a method declaration to describe the return 
value.")));
-                       cp.AddCompletionData (new CodeCompletionData ("see 
cref=\"\"", "md-literal", GettextCatalog.GetString ("The &lt;see&gt; tag lets 
you specify a link from within text.")));
-                       cp.AddCompletionData (new CodeCompletionData ("seealso 
cref=\"\"", "md-literal", GettextCatalog.GetString ("The &lt;seealso&gt; tag 
lets you specify the text that you might want to appear in a See Also 
section.")));
+                       cp.AddCompletionData (new CodeCompletionData ("see", 
"md-literal", GettextCatalog.GetString ("The &lt;see&gt; tag lets you specify a 
link from within text.")));
+                       cp.AddCompletionData (new CodeCompletionData 
("seealso", "md-literal", GettextCatalog.GetString ("The &lt;seealso&gt; tag 
lets you specify the text that you might want to appear in a See Also 
section.")));
                        cp.AddCompletionData (new CodeCompletionData 
("summary", "md-literal", GettextCatalog.GetString ("The &lt;summary&gt; tag 
should be used to describe a type or a type member.")));
                        cp.AddCompletionData (new CodeCompletionData ("value", 
"md-literal", GettextCatalog.GetString ("The &lt;value&gt; tag lets you 
describe a property.")));
                        

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to