[tomboy] bgo #447245 Addressed bullet list bug when using the delete key



commit 52a89816328f6e3d485eb52bd4103ac0da854450
Author: Jared Jennings <jjennings src gnome org>
Date:   Wed Jun 22 00:10:44 2011 -0400

    bgo #447245 Addressed bullet list bug when using the delete key

 Tomboy/NoteBuffer.cs |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/Tomboy/NoteBuffer.cs b/Tomboy/NoteBuffer.cs
index 096a9ea..5558e18 100644
--- a/Tomboy/NoteBuffer.cs
+++ b/Tomboy/NoteBuffer.cs
@@ -546,7 +546,11 @@ namespace Tomboy
 			} else if (start.EndsLine () && start.Line < LineCount) {
 				Gtk.TextIter next = GetIterAtLine (start.Line + 1);
 				end = start;
-				end.ForwardChars (3);
+				
+				if (IsBulletedListActive ())
+					end.ForwardChars (3);
+				else
+					end.ForwardChars (1);
 
 				DepthNoteTag depth = FindDepthTag (next);
 



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