All pastes #749177 Raw Edit

Stuff

public text v1 · immutable
#749177 ·published 2007-10-25 14:16 UTC
rendered paste body
Index: Tomboy/NoteBuffer.cs
===================================================================
--- Tomboy/NoteBuffer.cs        (revision 1603)
+++ Tomboy/NoteBuffer.cs        (working copy)
@@ -329,7 +329,7 @@
                                return true;
                        }
                        // Replace lines starting with '*' or '-' with bullets
-                       else if (iter.Char.Equals ("*") || iter.Char.Equals ("-")) {
+                       else if (iter.Char.Equals ("*") || (iter.Char.Equals ("-") && !GetIterAtLineOffset(iter.Line, 1).Char.Equals("-"))) {
                                Gtk.TextIter start = GetIterAtLineOffset (iter.Line, 0);
                                Gtk.TextIter end = GetIterAtLineOffset (iter.Line, 1);