gtksourceview r2032 - in trunk: . gtksourceview
- From: pborelli svn gnome org
- To: svn-commits-list gnome org
- Subject: gtksourceview r2032 - in trunk: . gtksourceview
- Date: Sun, 17 Aug 2008 18:54:16 +0000 (UTC)
Author: pborelli
Date: Sun Aug 17 18:54:16 2008
New Revision: 2032
URL: http://svn.gnome.org/viewvc/gtksourceview?rev=2032&view=rev
Log:
2008-08-17 Paolo Borelli <paolo borelli katamail com>
* gtksourceview/gtksourceview.c (draw_spaces_at_iter): special case
the end iter.
Modified:
trunk/ChangeLog
trunk/gtksourceview/gtksourceview.c
Modified: trunk/gtksourceview/gtksourceview.c
==============================================================================
--- trunk/gtksourceview/gtksourceview.c (original)
+++ trunk/gtksourceview/gtksourceview.c Sun Aug 17 18:54:16 2008
@@ -1797,7 +1797,7 @@
draw_space_at_iter (cr, GTK_TEXT_VIEW (view), iter, rect);
}
else if (view->priv->draw_spaces & GTK_SOURCE_DRAW_SPACES_NEWLINE &&
- gtk_text_iter_ends_line (iter))
+ gtk_text_iter_ends_line (iter) && !gtk_text_iter_is_end (iter))
{
draw_newline_at_iter (cr, GTK_TEXT_VIEW (view), iter, rect);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]