Author: mhutch
Date: 2007-08-30 19:07:23 -0400 (Thu, 30 Aug 2007)
New Revision: 85082

Modified:
   trunk/monodevelop/Extras/BooBinding/ChangeLog
   trunk/monodevelop/Extras/BooBinding/Gui/ShellTextView.boo
   trunk/monodevelop/Extras/BooBinding/Properties/ShellProperties.boo
Log:
2007-08-31  Michael Hutchinson <[EMAIL PROTECTED]>

        * Gui/ShellTextView.boo, Properties/ShellProperties.boo: Track API 
          changes.



Modified: trunk/monodevelop/Extras/BooBinding/ChangeLog
===================================================================
--- trunk/monodevelop/Extras/BooBinding/ChangeLog       2007-08-30 22:55:49 UTC 
(rev 85081)
+++ trunk/monodevelop/Extras/BooBinding/ChangeLog       2007-08-30 23:07:23 UTC 
(rev 85082)
@@ -1,3 +1,8 @@
+2007-08-31  Michael Hutchinson <[EMAIL PROTECTED]>
+
+       * Gui/ShellTextView.boo, Properties/ShellProperties.boo: Track API 
+         changes.
+
 2007-08-09  Lluis Sanchez Gual <[EMAIL PROTECTED]> 
 
        * BooBinding.addin.xml, BooBinding.mdp, BooShell/Makefile.am, 
Makefile.am:

Modified: trunk/monodevelop/Extras/BooBinding/Gui/ShellTextView.boo
===================================================================
--- trunk/monodevelop/Extras/BooBinding/Gui/ShellTextView.boo   2007-08-30 
22:55:49 UTC (rev 85081)
+++ trunk/monodevelop/Extras/BooBinding/Gui/ShellTextView.boo   2007-08-30 
23:07:23 UTC (rev 85082)
@@ -505,7 +505,16 @@
                ctx.TriggerTextHeight = rect.Height;
                return ctx;
                
-
+       
+       ICompletionWidget.SelectedLength:
+               get:
+                       select1 as TextIter
+                       select2 as TextIter
+                       if Buffer.GetSelectionBounds (select1, select2):
+                               return Buffer.GetText (select1, select2, 
true).Length
+                       else:
+                               return 0
+       
        ICompletionWidget.TextLength:
                get:
                        return Buffer.EndIter.Offset

Modified: trunk/monodevelop/Extras/BooBinding/Properties/ShellProperties.boo
===================================================================
--- trunk/monodevelop/Extras/BooBinding/Properties/ShellProperties.boo  
2007-08-30 22:55:49 UTC (rev 85081)
+++ trunk/monodevelop/Extras/BooBinding/Properties/ShellProperties.boo  
2007-08-30 23:07:23 UTC (rev 85082)
@@ -14,7 +14,7 @@
 
 class ShellProperties:
        private propertyService = cast (PropertyService, 
ServiceManager.GetService (typeof(PropertyService)))
-       private properties = cast (IProperties, propertyService.GetProperty 
(PropertyName, DefaultProperties()))
+       private properties = propertyService.GetProperty of IProperties 
(PropertyName, DefaultProperties())
 
        public abstract PropertyName as string:
                get:

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

Reply via email to