mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 03:49:30 +02:00
Docs: LCL, LazUtils. Changes MacOS to macOS in topics.
This commit is contained in:
parent
375d96cbc2
commit
6719d7b54a
@ -15,10 +15,10 @@
|
||||
<file>fileutils.pas</file> contains routines, types, and classes used to maintain compatibility with the FileUtil unit in Delphi. File routines that deal with UTF-8 file names are located in the <file>LazFileUtils</file> unit.
|
||||
</p>
|
||||
<p>
|
||||
File name handling in the unit is platform- or OS-specific. For the Windows, Darwin (MacOS), and Amiga platforms, file names are <b>NOT</b> case sensitive. In addition, under Darwin, the <b>NotLiteralFilenames</b> define is enabled. This indicates that file names cannot be compared using the <b>=</b> string operator.
|
||||
File name handling in the unit is platform- or OS-specific. For the Windows, Darwin (macOS), and Amiga platforms, file names are <b>NOT</b> case sensitive. In addition, under Darwin, the <b>NotLiteralFilenames</b> define is enabled. This indicates that file names cannot be compared using the <b>=</b> string operator.
|
||||
</p>
|
||||
<p>
|
||||
This unit contains basic functions similar to those in the RTL, but use UTF-8 instead of the default system encoding. Please note that AnsiToUTF8 and UTF8ToAnsi need a widestring manager under Linux, BSD, and MacOS. Normally these operating systems use UTF-8 as the system encoding so the WideStringManager is not needed.
|
||||
This unit contains basic functions similar to those in the RTL, but use UTF-8 instead of the default system encoding. Please note that AnsiToUTF8 and UTF8ToAnsi need a widestring manager under Linux, BSD, and macOS. Normally these operating systems use UTF-8 as the system encoding so the WideStringManager is not needed.
|
||||
</p>
|
||||
</descr>
|
||||
|
||||
@ -206,11 +206,11 @@
|
||||
|
||||
<element name="ProgramDirectoryWithBundle">
|
||||
<short>
|
||||
Gets the directory for the current executable without the MacOS bundle post-fix.
|
||||
Gets the directory for the current executable without the macOS bundle post-fix.
|
||||
</short>
|
||||
<descr>
|
||||
<p>
|
||||
<var>ProgramDirectoryWithBundle</var> is a <var>String</var> function used to get the path to current executable on the MacOS operating system. It calls ProgramDirectory to get the return value, and removes the bundle post-fix ('.app/Contents/MacOS') from the return value. The return value is not changed if it does not contain the bundle post-fix.
|
||||
<var>ProgramDirectoryWithBundle</var> is a <var>String</var> function used to get the path to current executable on the macOS operating system. It calls ProgramDirectory to get the return value, and removes the bundle post-fix ('.app/Contents/macOS') from the return value. The return value is not changed if it does not contain the bundle post-fix.
|
||||
</p>
|
||||
</descr>
|
||||
<seealso>
|
||||
@ -218,7 +218,7 @@
|
||||
</seealso>
|
||||
</element>
|
||||
<element name="ProgramDirectoryWithBundle.Result">
|
||||
<short>Path to the executable without the MacOS bundle post-fix.</short>
|
||||
<short>Path to the executable without the macOS bundle post-fix.</short>
|
||||
</element>
|
||||
|
||||
<element name="ExpandUNCFileNameUTF8">
|
||||
|
@ -1006,7 +1006,7 @@
|
||||
<short>The form stays system-wide on top.</short>
|
||||
<descr>
|
||||
<p>
|
||||
Used in forms for a modal system dialogs Prevents another form from having a higher Z-order value than the current one. Generally treated the same as fsStayOnTop except for MacOS Cocoa, because... you know, Mac! Think different!
|
||||
Used in forms for a modal system dialogs Prevents another form from having a higher Z-order value than the current one. Generally treated the same as fsStayOnTop except for macOS Cocoa.
|
||||
</p>
|
||||
</descr>
|
||||
</element>
|
||||
|
@ -9426,7 +9426,7 @@
|
||||
</descr>
|
||||
<seealso/>
|
||||
<notes>
|
||||
<note>Which platforms support it? Win, Qt, MacOS Carbon...</note>
|
||||
<note>Which platforms support it? Win, Qt, macOS Carbon...</note>
|
||||
</notes>
|
||||
</element>
|
||||
<element name="TRasterImage.ScanLine.Row">
|
||||
@ -12768,7 +12768,7 @@
|
||||
</descr>
|
||||
<seealso/>
|
||||
</element>
|
||||
<!-- .ICNS is the Apple icon image format used in MacOS. -->
|
||||
<!-- .ICNS is the Apple icon image format used in macOS. -->
|
||||
<element name="TIcnsRec">
|
||||
<short>
|
||||
Record type with the icon type and raw image data for a TIcnsIcon instance.
|
||||
@ -12881,10 +12881,10 @@
|
||||
</seealso>
|
||||
</element>
|
||||
<element name="TIcnsIcon">
|
||||
<short>Implements a MacOS Icon Resource file.</short>
|
||||
<short>Implements a macOS Icon Resource file.</short>
|
||||
<descr>
|
||||
<p>
|
||||
<var>TIcnsIcon</var> is a <var>TCustomIcon</var> descendant which implements a class used for MacOS Icon resources. TIcnsIcon is similar to the .ICO format used on Windows platforms. An Icns Icon can store one or more images, which generally use the PNG image format. Standard icon sizes used in Icns Icon files include: 16x16, 32x32, 48x48, 128x128, 256x256, 512x512, and 1024x1024 pixels.
|
||||
<var>TIcnsIcon</var> is a <var>TCustomIcon</var> descendant which implements a class used for macOS Icon resources. TIcnsIcon is similar to the .ICO format used on Windows platforms. An Icns Icon can store one or more images, which generally use the PNG image format. Standard icon sizes used in Icns Icon files include: 16x16, 32x32, 48x48, 128x128, 256x256, 512x512, and 1024x1024 pixels.
|
||||
</p>
|
||||
</descr>
|
||||
<seealso>
|
||||
|
@ -42,7 +42,7 @@ This file is part of the Lazarus Component Library (<b>LCL</b>).
|
||||
<short>Windows CE.</short>
|
||||
</element>
|
||||
<element name="TLCLPlatform.lpCarbon">
|
||||
<short>MacOS Carbon API.</short>
|
||||
<short>macOS Carbon API.</short>
|
||||
</element>
|
||||
<element name="TLCLPlatform.lpQT">
|
||||
<short>QT version 4.</short>
|
||||
@ -57,7 +57,7 @@ This file is part of the Lazarus Component Library (<b>LCL</b>).
|
||||
<short>No GUI.</short>
|
||||
</element>
|
||||
<element name="TLCLPlatform.lpCocoa">
|
||||
<short>MacOS Cocoa API.</short>
|
||||
<short>macOS Cocoa API.</short>
|
||||
</element>
|
||||
<element name="TLCLPlatform.lpCustomDrawn">
|
||||
<short>Custom-drawn.</short>
|
||||
@ -217,7 +217,7 @@ GetDefaultLCLWidgetType is called from the LCL interface.
|
||||
</p>
|
||||
</descr>
|
||||
<version>
|
||||
For LCL version 2.2 and higher, the default widgetset for the MacOS (darwin)
|
||||
For LCL version 2.2 and higher, the default widgetset for the macOS (Darwin)
|
||||
platform uses the Cocoa (lpCocoa) API. For versions prior to 2.2, the default
|
||||
widgetset used was the Carbon (lpCarbon) API. For Macs using the PowerPC
|
||||
processor, the widgetset continues to use the Carbon (lpCarbon) API.
|
||||
|
@ -6011,7 +6011,7 @@
|
||||
<short>Copies the selected text in the control to the clipboard.</short>
|
||||
<descr>
|
||||
<p>
|
||||
<var>CopyToClipboard</var> is a procedure used to copy the selected text in the control to the clipboard. CopyToClipboard is performed for selected text when the <b>Ctrl+C</b> or <b>Ctrl+Insert</b> key combination is handled for the edit control. <b>Meta+C</b> or <b>Meta+Insert</b> is used for MacOS. No actions are performed when text is not selected in the control.
|
||||
<var>CopyToClipboard</var> is a procedure used to copy the selected text in the control to the clipboard. CopyToClipboard is performed for selected text when the <b>Ctrl+C</b> or <b>Ctrl+Insert</b> key combination is handled for the edit control. <b>Meta+C</b> or <b>Meta+Insert</b> is used for macOS. No actions are performed when text is not selected in the control.
|
||||
</p>
|
||||
<p>
|
||||
CopyToClipboard calls the <var>Copy</var> method in the widgetset class when a handle has been allocated for the control.
|
||||
@ -6039,7 +6039,7 @@
|
||||
<var>CutToClipboard</var> is a method used to move the current text selection in the control to the clipboard. The selected value is removed from the Text in the control.
|
||||
</p>
|
||||
<p>
|
||||
CutToClipboard is performed when the <b>Ctrl+X</b> or <b>Shift+Delete</b> key combination is handled in the control (MacOS uses <b>Meta+X</b> or <b>Shift+Delete</b>). Pressing <b>Shift+Delete</b> when text is not selected (<var>SelLength</var> is 0) causes the the character prior to the editing cursor to be deleted but not copied to the clipboard. No actions are performed if the editing cursor is positioned before the first character in the Text for the control.
|
||||
CutToClipboard is performed when the <b>Ctrl+X</b> or <b>Shift+Delete</b> key combination is handled in the control (macOS uses <b>Meta+X</b> or <b>Shift+Delete</b>). Pressing <b>Shift+Delete</b> when text is not selected (<var>SelLength</var> is 0) causes the the character prior to the editing cursor to be deleted but not copied to the clipboard. No actions are performed if the editing cursor is positioned before the first character in the Text for the control.
|
||||
</p>
|
||||
<p>
|
||||
CutToClipboard calls the <var>Cut</var> method in the widgetset class when its handle has been allocated.
|
||||
@ -6064,7 +6064,7 @@
|
||||
<var>PasteFromClipboard</var> is a method used to insert the contents of the clipboard at the current position in the edit control. If Text is selected in the control, the SelText is replaced with the clipboard content. When SelLength is 0, the clipboard values are inserted at the position for the editing cursor.
|
||||
</p>
|
||||
<p>
|
||||
PasteFromClipboard is performed when the <b>Ctrl+V</b> or <b>Shift+Insert</b> key combination is handled for the control (MacOS uses <b>Meta+V</b> or <b>Shift+Insert</b>).
|
||||
PasteFromClipboard is performed when the <b>Ctrl+V</b> or <b>Shift+Insert</b> key combination is handled for the control (macOS uses <b>Meta+V</b> or <b>Shift+Insert</b>).
|
||||
</p>
|
||||
<p>
|
||||
PasteFromClipboard calls the <var>Paste</var> method in the widgetset class when its handle has been allocated.
|
||||
@ -6086,7 +6086,7 @@
|
||||
<short>Reverts the last editing action in the control.</short>
|
||||
<descr>
|
||||
<p>
|
||||
<var>Undo</var> is a method used to revert the last editing action performed in the control. Undo is performed when the <b>Ctrl+Z</b> (or <b>Meta+Z</b> on MacOS) key combination is handled for the control. Pressing <b>Ctrl+Z</b> causes the value in Text to revert to its value before editing. A subsequent <b>Ctrl+Z</b> key press causes the edited value to be toggled.
|
||||
<var>Undo</var> is a method used to revert the last editing action performed in the control. Undo is performed when the <b>Ctrl+Z</b> (or <b>Meta+Z</b> on macOS) key combination is handled for the control. Pressing <b>Ctrl+Z</b> causes the value in Text to revert to its value before editing. A subsequent <b>Ctrl+Z</b> key press causes the edited value to be toggled.
|
||||
</p>
|
||||
<p>
|
||||
Undo calls the <var>Undo</var> method in the widgetset class when its handle has been allocated.
|
||||
|
Loading…
Reference in New Issue
Block a user