[mapguide-commits] r4424 - trunk/Tools/Maestro/Maestro

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Sat Dec 12 05:38:39 EST 2009


Author: ksgeograf
Date: 2009-12-12 05:38:39 -0500 (Sat, 12 Dec 2009)
New Revision: 4424

Modified:
   trunk/Tools/Maestro/Maestro/Profiling.cs
Log:
Maestro:
Fixed issue #1176.

Modified: trunk/Tools/Maestro/Maestro/Profiling.cs
===================================================================
--- trunk/Tools/Maestro/Maestro/Profiling.cs	2009-12-12 10:32:22 UTC (rev 4423)
+++ trunk/Tools/Maestro/Maestro/Profiling.cs	2009-12-12 10:38:39 UTC (rev 4424)
@@ -105,7 +105,7 @@
                 this.Invoke(new WriteStringDelegate(WriteString), text);
             else
             {
-                bool scroll = Results.SelectionLength == 0 && Results.SelectionStart == Results.Text.Length;
+                bool scroll = Math.Abs((Results.SelectionStart + Results.SelectionLength) - Results.Text.Length) < 20;
 
                 Results.Text += text + "\r\n";
                 if (scroll)



More information about the mapguide-commits mailing list