Changeset 6 for trunk/UAcronym.pas
- Timestamp:
- Apr 21, 2016, 10:22:08 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UAcronym.pas
r5 r6 76 76 77 77 TAcronymDb = class 78 FileName: string; 78 79 Sources: TObjectList; // TObjectList<TAcronymSource> 79 80 Acronyms: TAcronyms; 80 81 Contexts: TAcronymContexts; 82 Modified: Boolean; 81 83 constructor Create; 82 84 destructor Destroy; override; … … 222 224 AcronymContext: TAcronymContext; 223 225 begin 226 Self.FileName := FileName; 224 227 Acronyms.Clear; 225 228 F := TStringList.Create; … … 261 264 Context.Free; 262 265 end; 266 Modified := False; 263 267 end; 264 268 … … 272 276 Context: TStringList; 273 277 begin 278 Self.FileName := FileName; 274 279 F := TStringList.Create; 275 280 Line := TStringList.Create; … … 299 304 Context.Free; 300 305 end; 306 Modified := False; 301 307 end; 302 308 … … 336 342 Acronym.Meanings.Add(Meaning); 337 343 end; 344 Modified := True; 338 345 end; 339 346 … … 352 359 end; 353 360 end; 361 Modified := True; 354 362 end; 355 363
Note:
See TracChangeset
for help on using the changeset viewer.