Commit Graph

11 Commits

Author SHA1 Message Date
Leandro Melo
898bc97cce Snippets: Make it flexible for adding builtin snippets
Instead of in one XML embedded as a resource, now builtin
snippets can be specified on any XML distributed under share.
2010-12-08 17:22:14 +01:00
Leandro Melo
f614663223 Snippets: Correct top-left/bottom-right when emiting dataChanged 2010-12-08 17:22:13 +01:00
Leandro Melo
1175705bfc Snippets: Make it easier for plugins to add snippets groups
Groups are no longer enum values but identified from snippet providers.
2010-12-08 17:22:13 +01:00
Leandro Melo
b87861f9b4 Snippets: Add more use-cases
- Restored removed built-in snippets.
- Revert a built-in snippet.
- Reset the snippets collection.
2010-12-08 17:22:11 +01:00
Leandro Melo
22c9b652b0 Snippets: Move code from the manager to the collection.
Reloading and synchronizing are now directly accessible from
the collection interface.
2010-12-08 17:22:11 +01:00
Leandro Melo
4a8bdaf843 Snippets: Do not update content on window deactivation 2010-12-08 17:22:10 +01:00
Leandro Melo
44ffd76e8b Snippets: Rename a method in the snippet editor. 2010-12-08 17:22:10 +01:00
Leandro Melo
212e39a972 Snippets: Enable editor's parentheses matching. 2010-12-08 17:22:09 +01:00
Leandro Melo
de527d060d Snippets: Set indenters. 2010-12-08 17:22:08 +01:00
Leandro Melo
920967d901 Snippets: Make text snippets available to all groups.
And mark the completion item as a snippet.
2010-12-08 17:22:08 +01:00
Leandro Melo
7528c6d617 Snippets: Feature enhancement start...
Provide an interface so users can create/edit/remove snippets.
2010-12-08 17:22:07 +01:00