diff mac/dw.m @ 1201:196cd8a8e6a8

Fixed dw_mle_set_cursor() should scroll to the point on Mac. Fixed a warning reported by clang in the test program. The events are occassionally getting errors on Mac and Unix... will need to debug.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Fri, 30 Sep 2011 03:32:26 +0000
parents 698875cfe8e5
children 5c1a01c6384d
line wrap: on
line diff
--- a/mac/dw.m	Fri Sep 30 03:19:16 2011 +0000
+++ b/mac/dw.m	Fri Sep 30 03:32:26 2011 +0000
@@ -4476,6 +4476,7 @@
     if(point > length)
         point = (int)length;
     [mle setSelectedRange: NSMakeRange(point,point)];
+    [mle scrollRangeToVisible:NSMakeRange(point,point)];
 }
 
 /*