View Issue Details

IDProjectCategoryView StatusLast Update
0038986LazarusPatchpublic2021-06-11 14:43
ReporterDon Siders Assigned ToJuha Manninen  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version2.1 (SVN) 
Summary0038986: Corrections for spelling errors in LCL, Components
DescriptionMinor corrections for spelling errors.
TagsNo tags attached.
Fixed in Revisionr65216
LazTarget-
Widgetset
Attached Files

Activities

Don Siders

2021-06-10 23:50

reporter  

laz-trunk-spelling.diff (4,868 bytes)   
Index: components/datetimectrls/datetimepicker.pas
===================================================================
--- components/datetimectrls/datetimepicker.pas	(revision 65211)
+++ components/datetimectrls/datetimepicker.pas	(working copy)
@@ -86,7 +86,7 @@
   { 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 @@
 
 { TDTSpeedButton }
 
-{ See the coment above TDTUpDown.CalculatePreferredSize }
+{ See the comment above TDTUpDown.CalculatePreferredSize }
 procedure TDTSpeedButton.CalculatePreferredSize(var PreferredWidth,
   PreferredHeight: integer; WithThemeSpace: Boolean);
 begin
Index: components/fpvectorial/epsvectorialreader.pas
===================================================================
--- components/fpvectorial/epsvectorialreader.pas	(revision 65211)
+++ components/fpvectorial/epsvectorialreader.pas	(working copy)
@@ -489,7 +489,7 @@
 
 {@@ 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
 }
Index: components/synedit/synbeautifier.pas
===================================================================
--- components/synedit/synbeautifier.pas	(revision 65211)
+++ components/synedit/synbeautifier.pas	(working copy)
@@ -165,7 +165,7 @@
     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
Index: components/synedit/synbeautifierpascal.pas
===================================================================
--- components/synedit/synbeautifierpascal.pas	(revision 65211)
+++ components/synedit/synbeautifierpascal.pas	(working copy)
@@ -99,9 +99,9 @@
     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 @@
     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 @@
     property BorEolSkipLongerLine: Boolean      read FEolSkipLongerLine[sctBor]
                                                 write FEolSkipLongerLine[sctBor];
 
-    // *** coments with //
+    // *** comments with //
     // Continue only, if Extended
 
     property ExtendSlashCommentMode: TSynCommentExtendMode read FExtendSlashCommentMode
Index: lcl/lazdeviceapis.pas
===================================================================
--- lcl/lazdeviceapis.pas	(revision 65211)
+++ lcl/lazdeviceapis.pas	(working copy)
@@ -57,7 +57,7 @@
 
   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
Index: lcl/shellctrls.pas
===================================================================
--- lcl/shellctrls.pas	(revision 65211)
+++ lcl/shellctrls.pas	(working copy)
@@ -1252,7 +1252,7 @@
 
   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;
laz-trunk-spelling.diff (4,868 bytes)   

Juha Manninen

2021-06-11 07:12

developer   ~0131245

Applied, thanks.

Issue History

Date Modified Username Field Change
2021-06-10 23:50 Don Siders New Issue
2021-06-10 23:50 Don Siders File Added: laz-trunk-spelling.diff
2021-06-11 07:09 Juha Manninen Assigned To => Juha Manninen
2021-06-11 07:09 Juha Manninen Status new => assigned
2021-06-11 07:12 Juha Manninen Status assigned => resolved
2021-06-11 07:12 Juha Manninen Resolution open => fixed
2021-06-11 07:12 Juha Manninen Fixed in Revision => r65216
2021-06-11 07:12 Juha Manninen LazTarget => -
2021-06-11 07:12 Juha Manninen Note Added: 0131245
2021-06-11 14:43 Don Siders Status resolved => closed