cody: dictionary: load before save

git-svn-id: trunk@33841 -
This commit is contained in:
mattias 2011-11-28 18:10:34 +00:00
parent c792350e8a
commit 346e83eccf
2 changed files with 5 additions and 6 deletions

View File

@ -26,12 +26,9 @@
ToDo:
-quickfix for identifier not found
-show dialog
-check if identifier still exists
-check if unit conflicts with another unit in path
-buttons: add unit to interface, add unit to implementation
-button: jump to identifier
-add dependency to owner
-check if identifier still exists
-buttons: add unit to interface, add unit to implementation
-button: jump to identifier
-clean up old entries
-When, How?
-gzip? lot of cpu, may be faster on first load

View File

@ -227,6 +227,8 @@ end;
procedure TCodyMiscOptionsFrame.UDSaveButtonClick(Sender: TObject);
begin
// make sure the old db is loaded
CodyUnitDictionary.Load;
CodyUnitDictionary.Save;
end;