store whether open tags are required and use that information in code completion
authorMilian Wolff <mail@milianw.de>
Sat, 31 Jul 2010 17:00:51 +0000 (19:00 +0200)
committerMilian Wolff <mail@milianw.de>
Sat, 31 Jul 2010 17:00:51 +0000 (19:00 +0200)
commit666bad66427eb4adf86f91eb8e8c4a67e8411a56
tree6e58f57c1e3563fd16a79478dbeae9201d4afe28
parent8f2bc58c1f7f30b525eef88746e17a4b9a691e84
store whether open tags are required and use that information in code completion

this way we can offer the correct list in e.g. a <table> tag where <tfoot>, <thead> and <tbody> are all optional.
NOTE: You might need to wipe your duchain cache to get the required changes, or touch your DTD files
languages/xml/language/completion/dtdcompletionsupport.cpp
languages/xml/language/completion/sgmlcodecompletionmodel.cpp
languages/xml/language/duchain/declarationbuilder.cpp
languages/xml/language/duchain/elementdeclaration.cpp
languages/xml/language/duchain/elementdeclaration.h