[gnoduino/gnoduino-0-4-0] Bug 675350 - Program exits unexpectedly with loss of changes



commit 2fb5293eb5b5c57be128f9e0ab401ac673b488a0
Author: Lucian Langa <lucilanga gnome org>
Date:   Sat May 5 13:54:26 2012 +0200

    Bug 675350 - Program exits unexpectedly with loss of changes

 src/srcview.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/srcview.py b/src/srcview.py
index 8b33d9b..0bc7687 100644
--- a/src/srcview.py
+++ b/src/srcview.py
@@ -60,6 +60,7 @@ def instext(b, iter, text, len) :
 	lang = get_lang_for_content(cont)
 	if lang != None:
 		b.set_language(lang)
+	config.cur_iter = -1
 
 def updatePos(buffer, sb):
 	sb.pop(1)



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