PFA the revised patch for fts template node which includes dependency and dependent route handling code.
Please do review it and if found proper please do commit it.
- When creating a new template, errors in the dialogue are not cleared - e.g. the "Name must not be empty" doesn't clear, and save is not enabled, even when a name is entered.
- "Fts Templates" should be "FTS Templates" on the treeview.
- The "Init" field should be labelled "Init Function"
- The "Lexize" field should be labelled "Lexize Function"
- Selecting a schema should be optional, with the default being the current schema.
- 4 character indents are not consistently used in SQL templates