diff --git a/docs/xml/lazutils/lazmethodlist.xml b/docs/xml/lazutils/lazmethodlist.xml index af19432950..11b1641428 100644 --- a/docs/xml/lazutils/lazmethodlist.xml +++ b/docs/xml/lazutils/lazmethodlist.xml @@ -25,7 +25,7 @@ TMethodList is class which implements a list of TMethod entries. TMethodList is implemented using an array of TMethod references that provide access to the Items in the list. Methods are provided to Add, Insert, Delete, and Move items in the list. Enumerators (forward and reverse) are also available for methods in the list.

- TMethodList is used in the Lazarus IDE, plugins, and utilities such as: TComponentEditorDesigner, TCodeToolManager, TLazIDEInterface, TLazCompilerOptions, TDebuggerIntf, TGUITestRunner. It is also used in the implementation of Classes and Components like: TFreeNotifyingObject, TApplication, TCustomForm, TControl, TDateTimePicker, TLazSynTextArea, TSynCustomHighlighter, TSynGutterBase, and many more. + TMethodList is used in the Lazarus IDE, plugins, and utilities such as: TComponentEditorDesigner, TCodeToolManager, TLazIDEInterface, TLazCompilerOptions, TDebuggerIntf, TGUITestRunner. It is also used in the implementation of Classes and Components like: TFreeNotifyingObject, TApplication, TCustomForm, TControl, TDateTimePicker, TLazSynTextArea, TSynCustomHighlighter, TSynGutterBase, and many more.

@@ -138,7 +138,7 @@ Raises an index out of bounds exception.

- RaiseIndexOutOfBounds is a procedure which raises an EListError exception when an invalid index position is used when accessing the Items in the method list. Index is the invalid ordinal position requested, and is included in the exception message. + RaiseIndexOutOfBounds is a procedure which raises an EListError exception when an invalid index position is used when accessing the Items in the method list. Index is the invalid ordinal position requested, and is included in the exception message.

@@ -235,7 +235,7 @@ Copies property values from Source into the current class instance.

- Assign is an overridden method in TMethodList used to implement object persistence for the TMethodList class type. Assign calls Clear to reallocate memory for the Items in the class instance. Values from the Items property in Source are added to the current class instance. + Assign is an overridden method in TMethodList used to implement object persistence for the TMethodList class type. Assign calls Clear to reallocate memory for the Items in the class instance. Values from the Items property in Source are added to the current class instance.

@@ -299,7 +299,7 @@ Adds the specified method to the list.

- Add is an overloaded procedure used to add the TMethod instance specified in AMethod to the Items in the list. Add uses the value in AllowDuplicates to determine if the Items in the list need to be checked for duplicates prior to adding the specified method. When AllowDuplicates is False, the IndexOf method is used to locate an existing entry in Items with the method in AMethod. If the method does not exist in Items, or AllowDuplicates is True, the method in AMethod is appended to the end of the memory allocated to the Items property. ReAllocMem is used to set the new size for the memory allocation. + Add is an overloaded procedure used to add the TMethod instance specified in AMethod to the Items in the list. Add uses the value in AllowDuplicates to determine if the Items in the list need to be checked for duplicates prior to adding the specified method. When AllowDuplicates is False, the IndexOf method is used to locate an existing entry in Items with the method in AMethod. If the method does not exist in Items, or AllowDuplicates is True, the method in AMethod is appended to the end of the memory allocated to the Items property. ReAllocMem is used to set the new size for the memory allocation.

Add ensures the the internal member used for the Count function is incremented when necessary.