Commit Graph

60 Commits

Author SHA1 Message Date
Christian Kamm
03b443b86b QuickFix: Simplify getting a Document for a C++ refactoring. 2010-08-12 14:21:35 +02:00
Christian Kamm
0355e37e53 QuickFix: Migrate to a nicer API for cross-file quick fixes. 2010-08-12 14:21:35 +02:00
Christian Kamm
235f4d1d26 QuickFix: Clean up RefactoringChanges and add missing functionality.
* Can change files without opening an editor.
* Can open an editor without changing a file.
* Default to reindenting new files.
* Allow reading a file temporarily to access document and text.
2010-08-12 14:21:35 +02:00
Roberto Raggi
d3761d10e2 Use 1-based locations. 2010-07-29 15:17:24 +02:00
Erik Verbruggen
b2659950e2 Added the InsertionPointLocator.
For answers to questions about where to insert a snippet/chunk of C++ code. Ok,
currently it will only find the One And Only place to insert method
declarations in classes, and it will need some tuning.
2010-07-27 15:32:40 +02:00
Erik Verbruggen
9135c8ccb1 Quickfix for adding a declaration to a class from a definition. 2010-07-12 09:53:58 +02:00
Roberto Raggi
c3657634ed Added workaround for indentation not working when inserting text at the beginning of a range. 2010-06-22 15:59:21 +02:00
Roberto Raggi
27f6b2ceb5 Renamed CppRefactoringChanges::parsedDocumentForFile(). 2010-06-22 12:13:30 +02:00
Roberto Raggi
eb749ec3a2 Generalized the changeset operations. 2010-06-22 12:13:30 +02:00
Erik Verbruggen
297b281ced Added infrastructure to change multiple files at once. 2010-06-14 15:03:10 +02:00