SF.net SVN: geany: [2579] trunk/src/document.c
ntrel at users.sourceforge.net
ntrel at xxxxx
Wed May 14 12:11:02 UTC 2008
Revision: 2579
http://geany.svn.sourceforge.net/geany/?rev=2579&view=rev
Author: ntrel
Date: 2008-05-14 05:11:01 -0700 (Wed, 14 May 2008)
Log Message:
-----------
Add note about possible double colourisation after reloading
(it shouldn't be that noticeable though).
Modified Paths:
--------------
trunk/src/document.c
Modified: trunk/src/document.c
===================================================================
--- trunk/src/document.c 2008-05-14 11:58:05 UTC (rev 2578)
+++ trunk/src/document.c 2008-05-14 12:11:01 UTC (rev 2579)
@@ -1114,8 +1114,10 @@
else
{ /* reloading */
document_undo_clear(idx);
- /* Recolour the document here because the text could have changed but the
- * filetype hasn't */
+ /* Recolour the document after reloading because the text could have changed
+ * without typenames changing.
+ * Note: This could cause double colourising of the current document if typenames have
+ * also changed, but it shouldn't be that noticeable. */
sci_colourise(doc_list[idx].sci, 0, -1);
use_ft = ft;
}
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