The list of all templates of the edited stylesheet is presented in the view called Stylesheet Templates.
It has two operation modes: the name and match attributes of templates presented in separate columns of the table, and the name and match attributes presented in the same column. In the second case the entry in the Name + Match column is composed of the value of the name attribute followed by a space character and the value of the match attribute. The operation mode is switched from the action Join/Split name and match columns available on the toolbar of the view.
The view provides three levels of synchronization with the editor panel:
The templates list selection is not synchronized with the caret position in the editor panel.
The templates list selection is synchronized with the caret position in the editor panel when the document is modified by an editing action.
The templates list selection is synchronized with the caret position in the editor panel in real time, that is the list selection is updated for every move of the caret in the editor panel.
All the columns of the table with the templates are sortable in ascending and descending order. The first click on the column name sorts the rows of the table in ascending order after the clicked column, the second click sorts the table in descending order and the third click returns to the unsorted state, that is the order of the templates in the stylesheet.
A template can be located easily in the list using only the keyboard. If the focus is in the Name column, type the first characters of the template name and the selection moves to that template in the list. In a similar way if the focus is in the Match or Mode column, typing the first characters of the value of the match attribute or the mode attribute moves the selection to that template in the list.
When a template in the list is selected, the corresponding template fragment from the editor is selected allowing the user to easily navigate between the different templates in the editor