tomboy r1893 - in trunk: . Tomboy



Author: kkubasik
Date: Sat Feb 23 18:14:11 2008
New Revision: 1893
URL: http://svn.gnome.org/viewvc/tomboy?rev=1893&view=rev

Log:
* Tomboy/Watchers.cs: Fix bug# 441296, and follow large pastes' to
  their end.

Modified:
   trunk/ChangeLog
   trunk/Tomboy/Watchers.cs

Modified: trunk/Tomboy/Watchers.cs
==============================================================================
--- trunk/Tomboy/Watchers.cs	(original)
+++ trunk/Tomboy/Watchers.cs	Sat Feb 23 18:14:11 2008
@@ -86,6 +86,9 @@
 
 			// Avoid lingering note-title after a multi-line insert...
 			Buffer.RemoveTag (title_tag, TitleEnd, end);
+			
+			//In the case of large copy and paste operations, show the end of the block
+			this.Window.Editor.ScrollMarkOnscreen (this.Buffer.InsertMark);
 		}
 
 		void OnDeleteRange (object sender, Gtk.DeleteRangeArgs args)
@@ -956,6 +959,7 @@
 		void OnDeleteRange (object sender, Gtk.DeleteRangeArgs args)
 		{
 			ApplyWikiwordToBlock (args.Start, args.End);
+			
 		}
 
 		void OnInsertText (object sender, Gtk.InsertTextArgs args)
@@ -964,6 +968,7 @@
 			start.BackwardChars (args.Length);
 
 			ApplyWikiwordToBlock (start, args.Pos);
+			
 		}
 	}
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]