gtksourceview r2192 - in branches/indenters: . gtksourceview
- From: icq svn gnome org
- To: svn-commits-list gnome org
- Subject: gtksourceview r2192 - in branches/indenters: . gtksourceview
- Date: Sat, 28 Feb 2009 23:03:52 +0000 (UTC)
Author: icq
Date: Sat Feb 28 23:03:51 2009
New Revision: 2192
URL: http://svn.gnome.org/viewvc/gtksourceview?rev=2192&view=rev
Log:
2009-03-01 Ignacio Casal Quinteiro <nacho resa gmail com>
* gtksourceview/gtksourceview.c:
Relocate if the inserted char is at column 0.
Modified:
branches/indenters/ChangeLog
branches/indenters/gtksourceview/gtksourceview.c
Modified: branches/indenters/gtksourceview/gtksourceview.c
==============================================================================
--- branches/indenters/gtksourceview/gtksourceview.c (original)
+++ branches/indenters/gtksourceview/gtksourceview.c Sat Feb 28 23:03:51 2009
@@ -3183,6 +3183,12 @@
gtk_text_iter_set_line_offset (&start, 0);
c = gtk_text_iter_get_char (&start);
+ /*
+ * Check the first char is not space
+ */
+ if (!g_unichar_isspace (c))
+ return TRUE;
+
while (gtk_text_iter_compare (&start, cur) < 0)
{
if (!g_unichar_isspace (c))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]