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@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@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.