SF.net SVN: geany: [722] trunk/src/document.c

ntrel at users.sourceforge.net ntrel at xxxxx
Tue Aug 15 12:51:39 UTC 2006


Revision: 722
Author:   ntrel
Date:     2006-08-15 05:51:36 -0700 (Tue, 15 Aug 2006)
ViewCVS:  http://svn.sourceforge.net/geany/?rev=722&view=rev

Log Message:
-----------
Move filename/filetype/encoding debug message to start of document_set_filetype so it is printed before the file is parsed

Modified Paths:
--------------
    trunk/src/document.c
Modified: trunk/src/document.c
===================================================================
--- trunk/src/document.c	2006-08-15 12:32:56 UTC (rev 721)
+++ trunk/src/document.c	2006-08-15 12:51:36 UTC (rev 722)
@@ -1070,6 +1070,7 @@
 	if (! type || idx < 0) return;
 	if (type->id > GEANY_MAX_FILE_TYPES) return;
 
+	geany_debug("%s : %s (%s)",	doc_list[idx].file_name, type->name, doc_list[idx].encoding);
 	doc_list[idx].file_type = type;
 	document_update_tag_list(idx, TRUE);
 	type->style_func_ptr(doc_list[idx].sci);
@@ -1114,7 +1115,6 @@
 	}
 	sci_colourise(doc_list[idx].sci, 0, -1);
 	utils_build_show_hide(idx);
-	geany_debug("%s : %s (%s)",	doc_list[idx].file_name, type->name, doc_list[idx].encoding);
 }
 
 


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