mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-02 08:20:19 +02:00
Docs: Updates for LCL and LazUtils. Issue #38650, patch from Don Siders.
git-svn-id: trunk@64856 -
This commit is contained in:
parent
a1aea6a20a
commit
6e22a97b90
@ -5,27 +5,30 @@
|
||||
====================================================================
|
||||
DynamicArray
|
||||
====================================================================
|
||||
-->
|
||||
-->
|
||||
<module name="DynamicArray">
|
||||
<short>It implements a resizable 2d array containing pointers.</short>
|
||||
<descr/>
|
||||
<short>Implements a resizable 2-D array of Pointers</short>
|
||||
<descr>
|
||||
<p>
|
||||
<file>dynamicarray.pas</file>implements a resizable 2-D array of Pointers. It is used in the implementation of <var>TCustomGrid</var>, <var>TDrawGrid</var> and <var>TStringGrid</var>.
|
||||
</p>
|
||||
<p>
|
||||
This file is part of the <file>LazUtils</file> package.
|
||||
</p>
|
||||
<p>
|
||||
Author: Jesus Reyes
|
||||
</p>
|
||||
</descr>
|
||||
|
||||
<!-- unresolved type reference Visibility: default -->
|
||||
<element name="Classes">
|
||||
<short/>
|
||||
<descr/>
|
||||
<seealso/>
|
||||
</element>
|
||||
<!-- unresolved type reference Visibility: default -->
|
||||
<element name="SysUtils">
|
||||
<short/>
|
||||
<descr/>
|
||||
<seealso/>
|
||||
</element>
|
||||
<!-- object Visibility: default -->
|
||||
<element name="Classes"/>
|
||||
<element name="SysUtils"/>
|
||||
|
||||
<element name="EArray">
|
||||
<short/>
|
||||
<descr/>
|
||||
<errors/>
|
||||
<descr>
|
||||
EArray is an Exception type. Not used in the current LCL implementation.
|
||||
</descr>
|
||||
<seealso/>
|
||||
</element>
|
||||
<!-- procedure type Visibility: default -->
|
||||
|
@ -7,53 +7,72 @@
|
||||
====================================================================
|
||||
-->
|
||||
<module name="DynHashArray">
|
||||
<short>Module of managing dynamic sets or associative arrays</short>
|
||||
<short>Contains classes used to manage dynamic sets or associative arrays</short>
|
||||
<descr>
|
||||
<p>Extends the functionality of Pascal by offering alternative data structure : set like array (the order is not kept) with fast find/delete. Its size can change automatically during the execution of the program. The price is that it is somewhat slower than a number indexes access of an array. </p>
|
||||
<p>This unit defines TDynHashArray, which is very similar to a TList, since
|
||||
it also stores pointer/objects. </p>
|
||||
<p>It supports Add, Remove, Contains, First, Count and Clear.</p>
|
||||
<p>Because of the hashing nature the operations adding, removing and finding is
|
||||
done in constant time on average.</p>
|
||||
<code>Inner structure:
|
||||
There are three parts:
|
||||
1. The array itself (FItems). Every entry is a pointer to the first
|
||||
TDynHashArrayItem of a list with the same hash index. The first item
|
||||
of every same index list is the list beginning and its IsOverflow
|
||||
flag is set to false. All other items are overflow items.
|
||||
To get all items with the same hash index, do a FindHashItem. Then
|
||||
search through all "Next" items until Next is nil or its IsOverflow
|
||||
flag is set to false.
|
||||
2. The items beginning with FFirstItem is a 2-way-connected list of
|
||||
TDynHashArrayItem. This list contains all used items.
|
||||
3. To reduce GetMem/FreeMem calls, free items are cached.
|
||||
|
||||
Issues:
|
||||
The maximum capacity is the PrimeNumber. You can store more items, but the
|
||||
performance decreases. The best idea is to provide your own hash function.
|
||||
|
||||
Important: Items in the TDynHashArray must not change their key.
|
||||
When changing the key of an item, remove it and add it after the change.
|
||||
</code>
|
||||
<p>
|
||||
<file>DynHashArray.pp</file> extends the functionality of Pascal by
|
||||
offering alternative data structure: set like array (the order is not kept)
|
||||
with fast find/delete. Its size can change automatically during the
|
||||
execution of the program. The price is that it is somewhat slower than
|
||||
a number indexes access of an array.
|
||||
</p>
|
||||
<p>
|
||||
This unit defines TDynHashArray, which is very similar to a TList, since
|
||||
it also stores pointer/objects.
|
||||
</p>
|
||||
<p>
|
||||
It supports Add, Remove, Contains, First, Count and Clear.
|
||||
</p>
|
||||
<p>
|
||||
Because of the hashing nature the operations adding, removing and
|
||||
finding is done in constant time on average.
|
||||
</p>
|
||||
<p>
|
||||
<b>Inner structure:</b>
|
||||
</p>
|
||||
<p>
|
||||
There are three parts:
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
The array itself (FItems). Every entry is a pointer to the first
|
||||
TDynHashArrayItem of a list with the same hash index.
|
||||
The first item of every same index list is the list beginning
|
||||
and its IsOverflow flag is set to false. All other items are
|
||||
overflow items. To get all items with the same hash index,
|
||||
do a FindHashItem. Then search through all "Next" items
|
||||
until Next is nil or its IsOverflow flag is set to false.
|
||||
</li>
|
||||
<li>
|
||||
The items beginning with FFirstItem is a 2-way-connected list
|
||||
of TDynHashArrayItem. This list contains all used items.
|
||||
</li>
|
||||
<li>
|
||||
To reduce GetMem/FreeMem calls, free items are cached.
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
<b>Issues:</b>
|
||||
</p>
|
||||
<p>
|
||||
The maximum capacity is the PrimeNumber. You can store more items,
|
||||
but the performance decreases. The best idea is to provide your own
|
||||
hash function.
|
||||
</p>
|
||||
<p>
|
||||
Important: Items in the TDynHashArray must not change their key. When
|
||||
changing the key of an item, remove it and add it after the change.
|
||||
</p>
|
||||
<p>
|
||||
This file is part of the <file>LazUtils</file> package.
|
||||
</p>
|
||||
</descr>
|
||||
|
||||
<!-- unresolved type reference Visibility: default -->
|
||||
<element name="Classes">
|
||||
<short/>
|
||||
<descr/>
|
||||
<seealso/>
|
||||
</element>
|
||||
<!-- unresolved type reference Visibility: default -->
|
||||
<element name="SysUtils">
|
||||
<short/>
|
||||
<descr/>
|
||||
<seealso/>
|
||||
</element>
|
||||
<!-- unresolved type reference Visibility: default -->
|
||||
<element name="LCLProc">
|
||||
<short/>
|
||||
<descr/>
|
||||
<seealso/>
|
||||
</element>
|
||||
<element name="Classes"/>
|
||||
<element name="SysUtils"/>
|
||||
<element name="LazLoggerBase"/>
|
||||
|
||||
<!-- function type Visibility: default -->
|
||||
<element name="THashFunction">
|
||||
<short>Type for hash function</short>
|
||||
|
@ -1445,7 +1445,7 @@
|
||||
<var>CopyDirTree</var> is a <var>Boolean</var> function used to copy file system entries from the directory in <var>SourceDir</var> to the directory in <var>TargetDir</var>.
|
||||
</p>
|
||||
<p>
|
||||
Values in SourceDir and TargetDir are fully-qualified path names for the directories. TargetDir cannot be a sub-directory located in SourceDir. No actions are performed in the routine when TargetDir is located within the specified SourceDir.
|
||||
Values in SourceDir and TargetDir are fully-qualified path names for the directories. If a trailing path delimiter is omitted in SourceDir or TargetDir, it is appended (when needed) to the values. TargetDir cannot be a sub-directory located in SourceDir. No actions are performed in the routine when TargetDir is located within the specified SourceDir.
|
||||
</p>
|
||||
<p>
|
||||
Flags contains values representing the options enabled in the copy operation. The default value for the parameters is an empty set (<b>[]</b>) and indicates that none of the <var>TCopyFileFlag</var> options are enabled. The value <var>cffCreateDestDirectory</var> is always added to the values in Flags internally; CopyDirTree requires the destination directory to be created if it does not already exist.
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -8,7 +8,14 @@
|
||||
-->
|
||||
<module name="LazMethodList">
|
||||
<short>Implements a list of TMethod entries</short>
|
||||
<descr></descr>
|
||||
<descr>
|
||||
<p>
|
||||
<file>lazmethodlist.pas</file> implements a list used TMethod instances representing event handler routines in LCL components.
|
||||
</p>
|
||||
<p>
|
||||
This file is part of the <file>LazUtils</file> package.
|
||||
</p>
|
||||
</descr>
|
||||
|
||||
<!-- class Visibility: default -->
|
||||
<element name="TMethodList">
|
||||
|
@ -22,6 +22,9 @@
|
||||
<remark>
|
||||
Behavior of helper functions are altered using the <var>{$ModeSwitch UnicodeStrings}</var> directive; the correct routines for handling UTF-8 or UTF-16 are called based on the mode switch value.
|
||||
</remark>
|
||||
<p>
|
||||
This file is part of the <file>LazUtils</file> package.
|
||||
</p>
|
||||
</descr>
|
||||
|
||||
<!-- unresolved externals -->
|
||||
|
@ -9,152 +9,310 @@
|
||||
-->
|
||||
|
||||
<module name="lazutf16">
|
||||
<short></short>
|
||||
<short>Contains routines used for UTF-16 character and string operations</short>
|
||||
<descr>
|
||||
<p>
|
||||
<file>lazutf16.pas</file> includes string routines which are based on UTF-16
|
||||
implementations, although it might also include routines for other encodings.
|
||||
</p>
|
||||
<p>
|
||||
A UTF-16 based implementation for LowerCase, for example, is faster in
|
||||
WideString and UnicodeString then the default UTF-8 implementation.
|
||||
</p>
|
||||
<p>
|
||||
Currently this unit includes only UTF8LowerCaseViaTables which is based on
|
||||
a UTF-16 table, but it might be extended to include various UTF-16 routines.
|
||||
</p>
|
||||
<p>
|
||||
This file is part of the <file>LazUtils</file> package.
|
||||
</p>
|
||||
</descr>
|
||||
|
||||
<!-- function Visibility: default -->
|
||||
<element name="UTF16CharacterLength">
|
||||
<short></short>
|
||||
<short>Gets the length of the UTF-16 character in the specified PWideChar value</short>
|
||||
<descr>
|
||||
Uses the endian-ness for the platform. Returns 0, 1, or 2.
|
||||
</descr>
|
||||
<errors>
|
||||
</errors>
|
||||
<seealso>
|
||||
</seealso>
|
||||
</element>
|
||||
|
||||
<!-- function result Visibility: default -->
|
||||
<element name="UTF16CharacterLength.Result">
|
||||
<short></short>
|
||||
<short>Length of the UTF-16 character in the value, or 0 when Nil</short>
|
||||
</element>
|
||||
|
||||
<!-- argument Visibility: default -->
|
||||
<element name="UTF16CharacterLength.p">
|
||||
<short></short>
|
||||
<short>PWideChar value examined in the routine</short>
|
||||
</element>
|
||||
|
||||
<!-- function Visibility: default -->
|
||||
<element name="UTF16Length">
|
||||
<short></short>
|
||||
<descr>
|
||||
</descr>
|
||||
<errors>
|
||||
</errors>
|
||||
<seealso>
|
||||
</seealso>
|
||||
<short>Gets the length for the specified value in UTF-16 characters</short>
|
||||
<descr/>
|
||||
<seealso/>
|
||||
</element>
|
||||
|
||||
<!-- function result Visibility: default -->
|
||||
<element name="UTF16Length.Result">
|
||||
<short></short>
|
||||
</element>
|
||||
|
||||
<!-- argument Visibility: default -->
|
||||
<element name="UTF16Length.s">
|
||||
<short></short>
|
||||
</element>
|
||||
|
||||
<!-- argument Visibility: default -->
|
||||
<element name="UTF16Length.p">
|
||||
<short></short>
|
||||
</element>
|
||||
|
||||
<!-- argument Visibility: default -->
|
||||
<element name="UTF16Length.WordCount">
|
||||
<short></short>
|
||||
</element>
|
||||
|
||||
<!-- function Visibility: default -->
|
||||
<element name="UTF16CharacterToUnicode">
|
||||
<short></short>
|
||||
<descr>
|
||||
</descr>
|
||||
<errors>
|
||||
</errors>
|
||||
<seealso>
|
||||
</seealso>
|
||||
<element name="UTF16Copy">
|
||||
<short>
|
||||
Copies a number of UTF-16 characters at the given character position in the specified value
|
||||
</short>
|
||||
<descr/>
|
||||
<seealso/>
|
||||
</element>
|
||||
<element name="UTF16Copy.Result">
|
||||
<short>UnicodeString with the values copied in the routine</short>
|
||||
</element>
|
||||
<element name="UTF16Copy.s">
|
||||
<short>UnicodeString with the values examined in the routine</short>
|
||||
</element>
|
||||
<element name="UTF16Copy.StartCharIndex">
|
||||
<short>1-based staring character (code point) position in the Unicode string</short>
|
||||
</element>
|
||||
<element name="UTF16Copy.CharCount">
|
||||
<short>Number of characters (code points) copied in the the routine</short>
|
||||
</element>
|
||||
|
||||
<element name="UTF16CharStart">
|
||||
<short/>
|
||||
<descr/>
|
||||
<seealso/>
|
||||
</element>
|
||||
<element name="UTF16CharStart.Result">
|
||||
<short/>
|
||||
</element>
|
||||
<element name="UTF16CharStart.P">
|
||||
<short>PWideChar value with the values examined in the routine</short>
|
||||
</element>
|
||||
<element name="UTF16CharStart.Len">
|
||||
<short>Len is the length in words of P</short>
|
||||
</element>
|
||||
<element name="UTF16CharStart.CharIndex">
|
||||
<short>CharIndex is the position of the desired UnicodeChar (starting at 0)</short>
|
||||
</element>
|
||||
|
||||
<element name="UTF16Pos">
|
||||
<short>Pos implemented for UTF-16-encoded values</short>
|
||||
<descr>
|
||||
<p>
|
||||
<var>UTF16Pos</var> is a <var>PtrInt</var> function used to get the character
|
||||
index in SearchInText where the value in SearchForText is located. StartPos
|
||||
allows the search to begin at a specific character (code point).
|
||||
</p>
|
||||
<p>
|
||||
The return value is the 1-based UTF-16 character index where the SearchForText
|
||||
starts in SearchInText, or 0 when not found.
|
||||
</p>
|
||||
</descr>
|
||||
<seealso/>
|
||||
</element>
|
||||
<element name="UTF16Pos.Result">
|
||||
<short>
|
||||
Character index where the SearchForText starts in SearchInText, or 0 when not found
|
||||
</short>
|
||||
</element>
|
||||
<element name="UTF16Pos.SearchForText">
|
||||
<short>UTF-16-encoded value to locate in SearchInText</short>
|
||||
</element>
|
||||
<element name="UTF16Pos.SearchInText">
|
||||
<short>UTF-16-encoded value searched in the routine</short>
|
||||
</element>
|
||||
<element name="UTF16Pos.StartPos">
|
||||
<short>Optional starting position (in UTF-16 code points, not in words)</short>
|
||||
</element>
|
||||
|
||||
<element name="UTF16CharacterToUnicode">
|
||||
<short>Converts ordinal values for UTF-16 code points in p to its Unicode equivalent</short>
|
||||
<descr>
|
||||
<p>
|
||||
UTF16CharacterToUnicode converts 16-bit values in p to the equivalent Unicode value.
|
||||
</p>
|
||||
<p>
|
||||
Unpaired surrogates are invalid in any UTFs. These include any value in the range
|
||||
$D800..$DBFF not followed by a value in the range $DC00..$DFFF, or any value in
|
||||
the range $DC00..$DFFF not preceded by a value in the range $D800..$DBFF.
|
||||
</p>
|
||||
<p>
|
||||
UTF16CharacterToUnicode ensures that ordinal value(s) in the reserved range(s)
|
||||
are converted to the correct Unicode value. CharLen is updated to reflect whether
|
||||
the values in p are a character represented by a single UTF-16 code point (1), or
|
||||
requires 2 code points for the surrogate pair (2). It is set to 0 when p contains an
|
||||
invalid UTF-16 code point.
|
||||
</p>
|
||||
<p>
|
||||
The return value contains the Cardinal value for the Unicode code point, or 0 when p
|
||||
contains an invalid UTF-16 code point.
|
||||
</p>
|
||||
</descr>
|
||||
<seealso/>
|
||||
</element>
|
||||
<!-- function result Visibility: default -->
|
||||
<element name="UTF16CharacterToUnicode.Result">
|
||||
<short></short>
|
||||
<short>Unicode code point for the values in p</short>
|
||||
</element>
|
||||
|
||||
<!-- argument Visibility: default -->
|
||||
<element name="UTF16CharacterToUnicode.p">
|
||||
<short></short>
|
||||
<short>UTF-16 code points examined and converted in the routine</short>
|
||||
</element>
|
||||
|
||||
<!-- argument Visibility: default -->
|
||||
<element name="UTF16CharacterToUnicode.CharLen">
|
||||
<short></short>
|
||||
<short>Number of UTF-16 code points for the converted character</short>
|
||||
</element>
|
||||
|
||||
<!-- function Visibility: default -->
|
||||
<element name="UnicodeToUTF16">
|
||||
<short></short>
|
||||
<short>Converts a Unicode character value to its UTF-16 equivalent as a WideString value</short>
|
||||
<descr>
|
||||
<p>
|
||||
Cardinal values below $10000 result in a single WideChar code value for the
|
||||
code point. Other cardinal values result in 2 WideChar values in the result to
|
||||
represent the UTF-16 code point.
|
||||
</p>
|
||||
</descr>
|
||||
<errors>
|
||||
</errors>
|
||||
<seealso>
|
||||
</seealso>
|
||||
<seealso/>
|
||||
</element>
|
||||
|
||||
<!-- function result Visibility: default -->
|
||||
<element name="UnicodeToUTF16.Result">
|
||||
<short></short>
|
||||
<short>WideString value with UTF-16 code point the Unicode character</short>
|
||||
</element>
|
||||
|
||||
<!-- argument Visibility: default -->
|
||||
<element name="UnicodeToUTF16.u">
|
||||
<short>Unicode character value converted in the routine</short>
|
||||
</element>
|
||||
|
||||
<element name="IsUTF16CharValid">
|
||||
<short></short>
|
||||
<descr>
|
||||
<p>
|
||||
Based on the specification defined by the Unicode consortium, at:
|
||||
</p>
|
||||
<p>
|
||||
<url href="http://unicode.org/faq/utf_bom.html#utf16-7">
|
||||
http://unicode.org/faq/utf_bom.html#utf16-7
|
||||
</url>
|
||||
</p>
|
||||
<pre>
|
||||
Q: Are there any 16-bit values that are invalid?
|
||||
|
||||
A: Unpaired surrogates are invalid in UTFs. These include any value in the
|
||||
range D800 to DBFF not followed by a value in the range DC00 to DFFF, or
|
||||
any value in the range DC00 to DFFF not preceded by a value in the range
|
||||
D800 to DBFF. [AF]
|
||||
</pre>
|
||||
<p>
|
||||
Use ANextChar = #0 to indicate that there is no next char.
|
||||
</p>
|
||||
</descr>
|
||||
<seealso/>
|
||||
</element>
|
||||
<element name="IsUTF16CharValid.Result">
|
||||
<short/>
|
||||
</element>
|
||||
<element name="IsUTF16CharValid.AChar">
|
||||
<short/>
|
||||
</element>
|
||||
<element name="IsUTF16CharValid.ANextChar">
|
||||
<short/>
|
||||
</element>
|
||||
|
||||
<element name="IsUTF16StringValid">
|
||||
<short>Determines if the specified WideString contains valid UTF-16 code points</short>
|
||||
<descr>
|
||||
<p>
|
||||
Examines the content in AWideStr for valid UTF-16 characters. Calls
|
||||
IsUTF16CharValid for consecutive code point pairs.
|
||||
</p>
|
||||
</descr>
|
||||
<seealso/>
|
||||
</element>
|
||||
<element name="IsUTF16StringValid.Result">
|
||||
<short>True if the specified WideString contains valid UTF-16 code points</short>
|
||||
</element>
|
||||
<element name="IsUTF16StringValid.AWideStr">
|
||||
<short>WideString examined in the routine</short>
|
||||
</element>
|
||||
|
||||
<element name="Utf16StringReplace">
|
||||
<short/>
|
||||
<descr>
|
||||
<p>
|
||||
Same as <var>SysUtil.StringReplace</var> but for WideStrings and UnicodeStrings,
|
||||
since it's not available in FPC yet.
|
||||
</p>
|
||||
</descr>
|
||||
<seealso/>
|
||||
</element>
|
||||
<element name="Utf16StringReplace.Result">
|
||||
<short/>
|
||||
</element>
|
||||
<element name="Utf16StringReplace.S">
|
||||
<short/>
|
||||
</element>
|
||||
<element name="Utf16StringReplace.OldPattern">
|
||||
<short/>
|
||||
</element>
|
||||
<element name="Utf16StringReplace.NewPattern">
|
||||
<short/>
|
||||
</element>
|
||||
<element name="Utf16StringReplace.Flags">
|
||||
<short/>
|
||||
</element>
|
||||
<element name="Utf16StringReplace.Count">
|
||||
<short/>
|
||||
</element>
|
||||
|
||||
<!-- function Visibility: default -->
|
||||
<element name="UnicodeLowercase">
|
||||
<short></short>
|
||||
<short>Converts a Unicode character value to its lowercase equivalent</short>
|
||||
<descr>
|
||||
<p>
|
||||
Uses internal tables to map Unicode character ranges common to both UTF-16 and UTF-32.
|
||||
</p>
|
||||
</descr>
|
||||
<errors>
|
||||
</errors>
|
||||
<seealso>
|
||||
</seealso>
|
||||
<seealso/>
|
||||
</element>
|
||||
|
||||
<!-- function result Visibility: default -->
|
||||
<element name="UnicodeLowercase.Result">
|
||||
<short></short>
|
||||
<short>Cardinal value for the lowercase equivalent of u</short>
|
||||
</element>
|
||||
|
||||
<!-- argument Visibility: default -->
|
||||
<element name="UnicodeLowercase.u">
|
||||
<short></short>
|
||||
<short>Unicode character vale converted to lowercase in the routine</short>
|
||||
</element>
|
||||
|
||||
<!-- function Visibility: default -->
|
||||
<element name="UTF8LowerCaseViaTables">
|
||||
<short></short>
|
||||
<descr>
|
||||
</descr>
|
||||
<errors>
|
||||
</errors>
|
||||
<seealso>
|
||||
</seealso>
|
||||
<short>
|
||||
Converts a UTF-8-encoded string to lowercase Unicode values using internal case tables
|
||||
</short>
|
||||
<descr/>
|
||||
<seealso/>
|
||||
</element>
|
||||
|
||||
<!-- function result Visibility: default -->
|
||||
<element name="UTF8LowerCaseViaTables.Result">
|
||||
<short></short>
|
||||
<short>String with the lowercase Unicode values for s</short>
|
||||
</element>
|
||||
|
||||
<!-- argument Visibility: default -->
|
||||
<element name="UTF8LowerCaseViaTables.s">
|
||||
<short></short>
|
||||
<short>String with UTF-8 values converted to lowercase Unicode in the routine</short>
|
||||
</element>
|
||||
|
||||
</module> <!-- lazutf16 -->
|
||||
|
||||
</module>
|
||||
<!-- lazutf16 -->
|
||||
</package>
|
||||
</fpdoc-descriptions>
|
||||
|
@ -11,7 +11,12 @@
|
||||
Routines for managing UTF-8-encoded strings
|
||||
</short>
|
||||
<descr>
|
||||
<file>lazutf8.pas</file> contains useful routines for managing UTF-8-encoded strings. All routines are thread-safe unless explicitly stated.
|
||||
<p>
|
||||
<file>lazutf8.pas</file> contains useful routines for managing UTF-8-encoded strings. All routines are thread-safe unless explicitly stated.
|
||||
</p>
|
||||
<p>
|
||||
This file is part of the <file>LazUtils</file> package.
|
||||
</p>
|
||||
</descr>
|
||||
|
||||
<!-- unresolved externals -->
|
||||
|
@ -9,7 +9,7 @@
|
||||
<module name="LazUtilsStrConsts">
|
||||
<short>Resource strings used in the LazUtils package</short>
|
||||
<descr>
|
||||
LazUtilsStrConsts contains resource strings used in the LazUtils package. The resource strings are translated using the corresponding .pot file found in the languages directory.
|
||||
<file>LazUtilsStrConsts</file> contains resource strings used in the <file>LazUtils</file> package. The resource strings are translated using the corresponding .pot file found in the languages directory.
|
||||
</descr>
|
||||
|
||||
<!-- resource string Visibility: default -->
|
||||
|
@ -11,7 +11,7 @@
|
||||
Contains routines used to read and process Comma-separated values from a file or a stream
|
||||
</short>
|
||||
<descr>
|
||||
lcsvutils.pas contains routines used to read and process Comma-separated values from a file or a stream. It is used in the implementation of the LazUtils package and the TGrid component.
|
||||
<file>lcsvutils.pas</file> contains routines used to read and process Comma-separated values from a file or a stream. It is used in the implementation of the LazUtils package and the TGrid component.
|
||||
</descr>
|
||||
|
||||
<!-- procedure type Visibility: default -->
|
||||
|
@ -11,6 +11,9 @@
|
||||
Contains TLookupStringList, an unsorted StringList with a fast lookup feature
|
||||
</short>
|
||||
<descr>
|
||||
<p>
|
||||
<file>lookupstringlist.pas</file> contains TLookupStringList, an unsorted StringList with a fast lookup feature. This file is part of the <file>LazUtils</file> package.
|
||||
</p>
|
||||
<p>
|
||||
Authors: Juha Manninen / Antônio Galvão
|
||||
</p>
|
||||
|
@ -10,11 +10,14 @@
|
||||
<short>Implements a map for unique IDs to arbitrary data</short>
|
||||
<descr>
|
||||
<p>
|
||||
Implements a map for unique IDs to arbitrary data. The ID-to-Data mapping is stored in an Average Level Binary Tree for fast indexing. The map also maintains a linked list between the ordered items for fast iteration through its elements. The ID can be signed or unsigned, with a size of 1, 2, 4, 8, 16 or 32 bytes. The data can be of any (constant) size.
|
||||
<file>maps.pp</file> implements a map for unique IDs to arbitrary data. The ID-to-Data mapping is stored in an Average Level Binary Tree for fast indexing. The map also maintains a linked list between the ordered items for fast iteration through its elements. The ID can be signed or unsigned, with a size of 1, 2, 4, 8, 16 or 32 bytes. The data can be of any (constant) size.
|
||||
</p>
|
||||
<p>
|
||||
Author: Marc Weustink
|
||||
</p>
|
||||
<p>
|
||||
This file is part of the <file>LazUtils</file> package.
|
||||
</p>
|
||||
</descr>
|
||||
|
||||
<!-- unresolved externals references -->
|
||||
|
@ -12,7 +12,7 @@
|
||||
</short>
|
||||
<descr>
|
||||
<p>
|
||||
Defines classes used to associate objects/pointers with objects/pointers. Converted to use generics by Juha. Item and Object types can now be defined.
|
||||
<file>objectlists.pas</file> defines classes used to associate objects/pointers with objects/pointers. Converted to use generics by Juha. Item and Object types can now be defined.
|
||||
</p>
|
||||
</descr>
|
||||
|
||||
|
@ -4582,11 +4582,11 @@
|
||||
Another example:
|
||||
</p>
|
||||
<pre>
|
||||
+-------+
|
||||
+-------+
|
||||
+---+ | |
|
||||
| A | | B |
|
||||
+---+ | |
|
||||
+-------+
|
||||
+-------+
|
||||
</pre>
|
||||
<p>
|
||||
Centering A relative to B:
|
||||
@ -5182,6 +5182,9 @@
|
||||
<link id="TLazAccessibleObject"/>
|
||||
</seealso>
|
||||
</element>
|
||||
<element name="TLazAccessibilityRole.larIgnore">
|
||||
<short>Something to be ignored. For example a blank space between other objects</short>
|
||||
</element>
|
||||
<element name="TLazAccessibilityRole.larAnimation">
|
||||
<short>An object that displays an animation</short>
|
||||
</element>
|
||||
@ -5203,6 +5206,9 @@
|
||||
<element name="TLazAccessibilityRole.larColorPicker">
|
||||
<short>A control which allows selecting a color</short>
|
||||
</element>
|
||||
<element name="TLazAccessibilityRole.larColumn">
|
||||
<short>A generic column in a table</short>
|
||||
</element>
|
||||
<element name="TLazAccessibilityRole.larComboBox">
|
||||
<short>A list of choices that the user can select from</short>
|
||||
</element>
|
||||
@ -5215,9 +5221,6 @@
|
||||
<element name="TLazAccessibilityRole.larGroup">
|
||||
<short>A control which groups others, such as a TGroupBox</short>
|
||||
</element>
|
||||
<element name="TLazAccessibilityRole.larIgnore">
|
||||
<short>Something to be ignored. For example a blank space between other objects</short>
|
||||
</element>
|
||||
<element name="TLazAccessibilityRole.larImage">
|
||||
<short>A graphic or picture or an icon</short>
|
||||
</element>
|
||||
@ -5245,6 +5248,9 @@
|
||||
<element name="TLazAccessibilityRole.larResizeGrip">
|
||||
<short>A grip that the user can drag to change the size of widgets</short>
|
||||
</element>
|
||||
<element name="TLazAccessibilityRole.larRow">
|
||||
<short>A generic row in a table</short>
|
||||
</element>
|
||||
<element name="TLazAccessibilityRole.larScrollBar">
|
||||
<short>A control to scroll another one</short>
|
||||
</element>
|
||||
@ -5254,12 +5260,21 @@
|
||||
<element name="TLazAccessibilityRole.larTabControl">
|
||||
<short>A control with tabs, like TPageControl</short>
|
||||
</element>
|
||||
<element name="TLazAccessibilityRole.larText">
|
||||
<short>Text inside of a control, like text in a row cell</short>
|
||||
</element>
|
||||
<element name="TLazAccessibilityRole.larTextEditorMultiline">
|
||||
<short>A multi-line text editor (for example: TMemo, SynEdit)</short>
|
||||
</element>
|
||||
<element name="TLazAccessibilityRole.larTextEditorSingleline">
|
||||
<short>A single-line text editor (for example: TEdit)</short>
|
||||
</element>
|
||||
<element name="TLazAccessibilityRole.larToolBar">
|
||||
<short>A control that holds ToolButtons</short>
|
||||
</element>
|
||||
<element name="TLazAccessibilityRole.larToolBarButton">
|
||||
<short>A button on a ToolBar</short>
|
||||
</element>
|
||||
<element name="TLazAccessibilityRole.larTrackBar">
|
||||
<short>A control which allows one to drag a slider</short>
|
||||
</element>
|
||||
@ -5269,6 +5284,9 @@
|
||||
<element name="TLazAccessibilityRole.larTreeItem">
|
||||
<short>An item in a tree structure</short>
|
||||
</element>
|
||||
<element name="TLazAccessibilityRole.larUnknown">
|
||||
<short>An item that doesn't fit any of the other categories</short>
|
||||
</element>
|
||||
<element name="TLazAccessibilityRole.larWindow">
|
||||
<short>A top level window</short>
|
||||
</element>
|
||||
@ -5319,20 +5337,12 @@
|
||||
</seealso>
|
||||
</element>
|
||||
|
||||
<element name="TLazAccessibleObject.FHandle"/>
|
||||
<element name="TLazAccessibleObject.FPosition"/>
|
||||
<element name="TLazAccessibleObject.FSize"/>
|
||||
<element name="TLazAccessibleObject.FLastSearchNode"/>
|
||||
<element name="TLazAccessibleObject.FLastSearchIndex"/>
|
||||
<element name="TLazAccessibleObject.FLastSearchInSubcontrols"/>
|
||||
|
||||
<element name="TLazAccessibleObject.GetHandle">
|
||||
<short>Gets the value for the Handle property</short>
|
||||
</element>
|
||||
<element name="TLazAccessibleObject.GetHandle.Result">
|
||||
<short>Value for the property</short>
|
||||
</element>
|
||||
|
||||
<element name="TLazAccessibleObject.GetPosition">
|
||||
<short>Gets the value for the Position property</short>
|
||||
</element>
|
||||
@ -5381,7 +5391,9 @@
|
||||
<short>New value for the property</short>
|
||||
</element>
|
||||
|
||||
<element name="TLazAccessibleObject.FHandle"/>
|
||||
<element name="TLazAccessibleObject.FChildrenSortedForDataObject"/>
|
||||
<element name="TLazAccessibleObject.FAccessibleName"/>
|
||||
<element name="TLazAccessibleObject.FAccessibleDescription"/>
|
||||
<element name="TLazAccessibleObject.FAccessibleValue"/>
|
||||
<element name="TLazAccessibleObject.FAccessibleRole"/>
|
||||
@ -5397,6 +5409,15 @@
|
||||
<short>Value for the property</short>
|
||||
</element>
|
||||
|
||||
<element name="TLazAccessibleObject.GetHandle">
|
||||
<short>Gets the value for the Handle property</short>
|
||||
<descr/>
|
||||
<seealso/>
|
||||
</element>
|
||||
<element name="TLazAccessibleObject.GetHandle.Result">
|
||||
<short>Value for the property</short>
|
||||
</element>
|
||||
|
||||
<element name="TLazAccessibleObject.OwnerControl">
|
||||
<short>
|
||||
The control that this accessible object is attached to. It might be the main accessible object of this control or it might represent a sub-part of a control
|
||||
@ -5449,6 +5470,15 @@
|
||||
<seealso/>
|
||||
</element>
|
||||
|
||||
<element name="TLazAccessibleObject.SetAccessibleName">
|
||||
<short>Sets the value for AccessibleName</short>
|
||||
<descr/>
|
||||
<seealso/>
|
||||
</element>
|
||||
<element name="TLazAccessibleObject.SetAccessibleName.AName">
|
||||
<short/>
|
||||
</element>
|
||||
|
||||
<element name="TLazAccessibleObject.SetAccessibleDescription">
|
||||
<short>Setter for the property AccessibleDescription</short>
|
||||
</element>
|
||||
@ -5468,6 +5498,12 @@
|
||||
<element name="TLazAccessibleObject.AddChildAccessibleObject">
|
||||
<short>Creates a new child accessible object and returns it</short>
|
||||
</element>
|
||||
<element name="TLazAccessibleObject.AddChildAccessibleObject.Result">
|
||||
<short/>
|
||||
</element>
|
||||
<element name="TLazAccessibleObject.AddChildAccessibleObject.ADataObject">
|
||||
<short/>
|
||||
</element>
|
||||
|
||||
<element name="TLazAccessibleObject.InsertChildAccessibleObject">
|
||||
<short>Inserts an already created child accessible object as a child of this one</short>
|
||||
@ -5513,6 +5549,12 @@
|
||||
</seealso>
|
||||
</element>
|
||||
|
||||
<element name="TLazAccessibleObject.AccessibleName">
|
||||
<short>The name for this accessible object</short>
|
||||
<descr/>
|
||||
<seealso/>
|
||||
</element>
|
||||
|
||||
<element name="TLazAccessibleObject.AccessibleDescription">
|
||||
<short>The description of this accessible object</short>
|
||||
<seealso>
|
||||
@ -16757,7 +16799,7 @@ If you want to have the top of B the same as the top of C:
|
||||
<code>Example2
|
||||
For centering A relative to B:
|
||||
|
||||
+-------+
|
||||
+-------+
|
||||
+---+ | |
|
||||
| A | | B |
|
||||
+---+ | |
|
||||
|
Loading…
Reference in New Issue
Block a user