Changeset 192 for trunk/UAcronym.pas


Ignore:
Timestamp:
Jul 17, 2018, 2:39:01 PM (6 years ago)
Author:
chronos
Message:
  • Added: Analysis of acronyms usage (without parentheses) in document content.
  • Modified: Better reporting of acronyms with multiple meanings and with different meaning between content and summary acronyms.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UAcronym.pas

    r184 r192  
    7070    function SearchByName(Name: string; Flags: TSearchFlags = []): TAcronymMeaning;
    7171    function AddMeaning(Name: string): TAcronymMeaning;
     72    function GetNames: string;
    7273  end;
    7374
     
    10571058end;
    10581059
     1060function TAcronymMeanings.GetNames: string;
     1061var
     1062  I: Integer;
     1063begin
     1064  Result := '';
     1065  for I := 0 to Count - 1 do
     1066    Result := Result + ', "' + TAcronymMeaning(Items[I]).Name + '"';
     1067  System.Delete(Result, 1, 2);
     1068end;
     1069
    10591070{ TAcronymMeaning }
    10601071
Note: See TracChangeset for help on using the changeset viewer.