Revision e434ac2...

Go back to digest for 26th May 2013

Bug Fixes in Development Tools

Milian Wolff committed changes in [kdevelop] /cpp/codegen:

Transform ranges properly using the revision they actually belong to.

This is imo basically a hack to circumvent the bad RangeInRevision API
without rewriting everything...

The RangeInRevision is actually just blindly assuming that it belongs
to the revision the file was parsed in the last time. But if the file
is reparsed in between (due to changes) the ranges might be wrong. Due
to that we must store the ranges and their actual revision... Stupid!

Imo an API called RangeInRevision should _know_ which revision it
belongs to... Meh!

File Changes

Modified 5 files
  • /cpp/codegen
  •   languages/renameaction.cpp
  •   languages/renameaction.h
  •   languages/renameassistant.cpp
  •   languages/renameassistant.h
  •   languages/signatureassistant.cpp
5 files changed in total