Commit d9c207b7 authored by Juha Manninen's avatar Juha Manninen
Browse files

Corrections for spelling errors in LCL and Components. Issue #38986, patch by Don Siders.

git-svn-id: trunk@65216 -
parent dadb9c7e
......@@ -86,7 +86,7 @@ type
{ Used by DateDisplayOrder property to determine the order to display date
parts -- d-m-y, m-d-y or y-m-d.
When ddoTryDefault is set, the actual order is determined from
ShortDateFormat global variable -- see coments above
ShortDateFormat global variable -- see comments above
AdjustEffectiveDateDisplayOrder procedure }
TDateDisplayOrder = (ddoDMY, ddoMDY, ddoYMD, ddoTryDefault);
......@@ -3673,7 +3673,7 @@ end;
{ TDTSpeedButton }
{ See the coment above TDTUpDown.CalculatePreferredSize }
{ See the comment above TDTUpDown.CalculatePreferredSize }
procedure TDTSpeedButton.CalculatePreferredSize(var PreferredWidth,
PreferredHeight: integer; WithThemeSpace: Boolean);
begin
......
......@@ -489,7 +489,7 @@ end;
{@@ Rules for parsing PostScript files:
* Coments go from the first occurrence of % outside a line to the next new line
* Comments go from the first occurrence of % outside a line to the next new line
* The only accepted characters are printable ASCII ones, plus spacing ASCII chars
See IsValidPostScriptChar about that
}
......
......@@ -165,7 +165,7 @@ type
function UnIndentLine(const ACaret: TSynEditCaret; out CaretNewX: Integer): Boolean;
public
procedure Assign(Src: TPersistent); override;
// Retruns a 0-based position (even 0-based physical)
// Returns a 0-based position (even 0-based physical)
function GetIndentForLine(Editor: TSynEditBase; const Line: string;
Physical: boolean): Integer;
function GetDesiredIndentForLine
......
......@@ -99,9 +99,9 @@ type
constructor Create(AOwner: TComponent); override;
destructor Destroy; override;
procedure Assign(Src: TPersistent); override;
// Retruns a 0-based position (even 0-based physical)
// Returns a 0-based position (even 0-based physical)
published
// *** coments with (* *)
// *** comments with (* *)
(* AnsiIndentFirstLineMax:
* For comments that use any sciAlignOpen...
......@@ -145,7 +145,7 @@ type
property AnsiEolSkipLongerLine: Boolean read FEolSkipLongerLine[sctAnsi]
write FEolSkipLongerLine[sctAnsi];
// *** coments with { }
// *** comments with { }
property BorIndentMode: TSynCommentIndentFlags read FIndentMode[sctBor]
write FIndentMode[sctBor];
......@@ -176,7 +176,7 @@ type
property BorEolSkipLongerLine: Boolean read FEolSkipLongerLine[sctBor]
write FEolSkipLongerLine[sctBor];
// *** coments with //
// *** comments with //
// Continue only, if Extended
property ExtendSlashCommentMode: TSynCommentExtendMode read FExtendSlashCommentMode
......
......@@ -57,7 +57,7 @@ type
TLazDeviceMessage = class
public
// The coments indicate in which message kind each
// The comments indicate in which message kind each
// field is available. SMS MMS EMail
bccAddress: TStringList; // N N Y
Body: string; // Y Y Y
......
......@@ -1252,7 +1252,7 @@ begin
if (not IsRelpath) or ((RelPath <> '') and ((Length(RelPath) > 1) and (RelPath[1] = '.') and (RelPath[2] = '.'))) then
begin
// CreateRelativePath retruns a string beginning with ..
// CreateRelativePath returns a string beginning with ..
// so AValue is not a subdirectory of FRoot
Raise EInvalidPath.CreateFmt(sShellCtrlsInvalidPathRelative,[AValue, FQRootPath]);
end;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment