fixed: index templates and 'change' templates were not cleared when 'reload' function was called
so wrong indexes have been assigned git-svn-id: svn://ttmath.org/publicrep/winix/trunk@759 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -105,6 +105,15 @@
|
||||
// in p1 you have a pointer to the Item struct
|
||||
#define WINIX_FILE_CHANGED 3016
|
||||
|
||||
// here you add your own html templates
|
||||
// call TemplatesFunctions::patterns.Add(L"file_name.html")
|
||||
// the method returns an index which you have to remember
|
||||
// and you can get the template with patterns.Get(index, lang_index)
|
||||
// it returns a pointer to Ezc::Pattern (or null pointer if the index is wrong)
|
||||
// the message will be sent too whenever 'reload/templates' winix function is called
|
||||
// templates you should add only in this message
|
||||
// in other cases after 'reload' function the indexes would be wrong
|
||||
#define WINIX_ADD_TEMPLATE 3017
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user