Revision: 1489 http://svn.sourceforge.net/geany/?rev=1489&view=rev Author: ntrel Date: 2007-04-30 05:17:31 -0700 (Mon, 30 Apr 2007)
Log Message: ----------- Fix reloading of read-only documents.
Modified Paths: -------------- trunk/ChangeLog trunk/src/document.c
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2007-04-30 12:03:46 UTC (rev 1488) +++ trunk/ChangeLog 2007-04-30 12:17:31 UTC (rev 1489) @@ -5,6 +5,8 @@ UTF-8 automatically; mark error messages for translation. * src/search.c: Allow replacing identical text if case sensitive is not checked. + * src/document.c: + Fix reloading of read-only documents.
2007-04-29 Nick Treleaven nick.treleaven@btinternet.com
Modified: trunk/src/document.c =================================================================== --- trunk/src/document.c 2007-04-30 12:03:46 UTC (rev 1488) +++ trunk/src/document.c 2007-04-30 12:17:31 UTC (rev 1489) @@ -776,6 +776,7 @@ sci_empty_undo_buffer(doc_list[idx].sci);
// add the text to the ScintillaObject + sci_set_readonly(doc_list[idx].sci, FALSE); // to allow replacing text sci_set_text(doc_list[idx].sci, filedata.data); // NULL terminated data
// detect & set line endings
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.