|
From: <de...@us...> - 2009-10-12 02:03:55
|
Revision: 1877
http://iterm.svn.sourceforge.net/iterm/?rev=1877&view=rev
Author: delx
Date: 2009-10-12 02:03:45 +0000 (Mon, 12 Oct 2009)
Log Message:
-----------
Lock scrollback buffer after finding text (#2875908)
Modified Paths:
--------------
trunk/Changelog
trunk/PTYTextView.m
Modified: trunk/Changelog
===================================================================
--- trunk/Changelog 2009-10-12 01:49:38 UTC (rev 1876)
+++ trunk/Changelog 2009-10-12 02:03:45 UTC (rev 1877)
@@ -1,5 +1,6 @@
2009-10-12 delx
* Fixed incorrect vertical font positioning (#2765901)
+ * Lock scrollback buffer after finding text (#2875908)
2009-10-07 delx
* Fixed report bug link in about box (#2872981)
Modified: trunk/PTYTextView.m
===================================================================
--- trunk/PTYTextView.m 2009-10-12 01:49:38 UTC (rev 1876)
+++ trunk/PTYTextView.m 2009-10-12 02:03:45 UTC (rev 1877)
@@ -2935,6 +2935,9 @@
endX = anIndex % [dataSource width];
endY = anIndex/[dataSource width];
+ // Lock scrolling after finding text
+ [(PTYScroller*)([[self enclosingScrollView] verticalScroller]) setUserScroll:YES];
+
[self _scrollToLine:endY];
[self setNeedsDisplay:YES];
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|