I have ported ctags to dreamweaver. so that we can click and go to the definition of tags.
I want handle all dw.saveDocument() event in my extension, so I can just update the tags of the document.
How can do this?
This doesn't work.
but it didn't tell me which file is unsaved.
how can i know this?
it seems i can use 'dw.canSaveDocument'.
so i have to get all opened docs including they related files.
dw.getRelatedFiles only returns the current active document's related files.
and dw.getDocumentList only return document BUT NOT INCLUDE they related files.