SF.net SVN: geany: [962] trunk
ntrel at users.sourceforge.net
ntrel at xxxxx
Fri Nov 3 12:21:18 UTC 2006
Revision: 962
http://svn.sourceforge.net/geany/?rev=962&view=rev
Author: ntrel
Date: 2006-11-03 04:21:12 -0800 (Fri, 03 Nov 2006)
Log Message:
-----------
Don't set error indicators when clicking on an error message if the
document has been modified.
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/msgwindow.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2006-11-02 23:22:34 UTC (rev 961)
+++ trunk/ChangeLog 2006-11-03 12:21:12 UTC (rev 962)
@@ -1,3 +1,10 @@
+2006-11-03 Nick Treleaven <nick.treleaven at btinternet.com>
+
+ * src/msgwindow.c:
+ Don't set error indicators when clicking on an error message if the
+ document has been modified.
+
+
2006-11-02 Enrico Tröger <enrico.troeger at uvena.de>
* src/callbacks.c, src/dialogs:
Modified: trunk/src/msgwindow.c
===================================================================
--- trunk/src/msgwindow.c 2006-11-02 23:22:34 UTC (rev 961)
+++ trunk/src/msgwindow.c 2006-11-03 12:21:12 UTC (rev 962)
@@ -317,7 +317,8 @@
if (idx >= 0 && doc_list[idx].is_valid)
{
- document_set_indicator(idx, line - 1);
+ if (! doc_list[idx].changed) // if modified, line may be wrong
+ document_set_indicator(idx, line - 1);
ret = utils_goto_line(idx, line);
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Commits
mailing list