tomboy r1882 - in trunk: . Tomboy
- From: cscobell svn gnome org
- To: svn-commits-list gnome org
- Subject: tomboy r1882 - in trunk: . Tomboy
- Date: Fri, 22 Feb 2008 22:25:39 +0000 (GMT)
Author: cscobell
Date: Fri Feb 22 22:25:39 2008
New Revision: 1882
URL: http://svn.gnome.org/viewvc/tomboy?rev=1882&view=rev
Log:
2008-02-22 Chris Scobell <chris thescobells com>
* Tomboy/NoteBuffer.cs: Only insert automatic bullets when a dash or
asterisk is followed by a space. Fixes bug #490161.
Modified:
trunk/ChangeLog
trunk/Tomboy/NoteBuffer.cs
Modified: trunk/Tomboy/NoteBuffer.cs
==============================================================================
--- trunk/Tomboy/NoteBuffer.cs (original)
+++ trunk/Tomboy/NoteBuffer.cs Fri Feb 22 22:25:39 2008
@@ -363,8 +363,9 @@
return true;
}
- // Replace lines starting with '*' or '-' with bullets
- else if (iter.Char.Equals ("*") || iter.Char.Equals ("-")) {
+ // Replace lines starting with '*' or '-' followed by a space with bullets
+ 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]