2
0
Эх сурвалжийг харах

Mass typo fix for Textmode IDE.

Margers 6 өдөр өмнө
parent
commit
960f0d6a07

+ 1 - 1
packages/ide/fp.pas

@@ -196,7 +196,7 @@ begin
             ShowReadme:=true;
             ShowReadme:=true;
           end else
           end else
         case Upcase(Param[1]) of
         case Upcase(Param[1]) of
-          'C' : { custom config file (BP compatiblity) }
+          'C' : { custom config file (BP compatibility) }
            if BeforeINI then
            if BeforeINI then
             begin
             begin
               delete(param,1,1); // delete C
               delete(param,1,1); // delete C

+ 1 - 1
packages/ide/fpcodcmp.pas

@@ -442,7 +442,7 @@ begin
   Insert(New(PLabel, Init(R2, 'Case handling', RB)));
   Insert(New(PLabel, Init(R2, 'Case handling', RB)));
   Insert(RB);
   Insert(RB);
 
 
-  { Mininum length inputline }
+  { Minimum length inputline }
   R.Copy(R3); R.A.Y:=R.B.Y-7;R.B.Y:=R.A.Y+1; Dec(R.B.X); R.A.X:=R.B.X -5;
   R.Copy(R3); R.A.Y:=R.B.Y-7;R.B.Y:=R.A.Y+1; Dec(R.B.X); R.A.X:=R.B.X -5;
   New(MinInputL, Init(R,5));
   New(MinInputL, Init(R,5));
   MinInputL^.SetValidator(New(PRangeValidator, Init(1,255)));
   MinInputL^.SetValidator(New(PRangeValidator, Init(1,255)));

+ 4 - 4
packages/ide/fpcompil.pas

@@ -17,7 +17,7 @@ unit FPCompil;
 interface
 interface
 
 
 { don't redir under linux, because all stdout (also from the ide!) will
 { don't redir under linux, because all stdout (also from the ide!) will
-  then be redired (PFV) }
+  then be redirected (PFV) }
 { this should work now correctly because
 { this should work now correctly because
   RedirDisableAll and RedirEnableAll function are added in fpredir (PM) }
   RedirDisableAll and RedirEnableAll function are added in fpredir (PM) }
 
 
@@ -716,7 +716,7 @@ begin
        CompilerStatus:=true;
        CompilerStatus:=true;
        exit;
        exit;
     end;
     end;
-{ only display line info every 100 lines, ofcourse all other messages
+{ only display line info every 100 lines, of course all other messages
   will be displayed directly }
   will be displayed directly }
   if (getrealtime-lasttime>=CompilerStatusUpdateDelay) or (status.compiledlines=1) then
   if (getrealtime-lasttime>=CompilerStatusUpdateDelay) or (status.compiledlines=1) then
    begin
    begin
@@ -960,7 +960,7 @@ begin
     FileName:='"'+FileName+'"';
     FileName:='"'+FileName+'"';
   if mode=cBuild then
   if mode=cBuild then
     FileName:='-B '+FileName;
     FileName:='-B '+FileName;
-  { tokens are created and distroed by compiler.compile !! PM }
+  { tokens are created and destroyed by compiler.compile !! PM }
   DoneTokens;
   DoneTokens;
   PPasFile:='ppas'+source_info.scriptext;
   PPasFile:='ppas'+source_info.scriptext;
   WUtils.DeleteFile(GetExePath+PpasFile);
   WUtils.DeleteFile(GetExePath+PpasFile);
@@ -992,7 +992,7 @@ begin
   else
   else
     EXEFile:=DirOf(MainFile)+NameOf(MainFile)+GetTargetExeExt;
     EXEFile:=DirOf(MainFile)+NameOf(MainFile)+GetTargetExeExt;
   DefaultReplacements(ExeFile);
   DefaultReplacements(ExeFile);
-  { tokens are created and distroyed by compiler.compile !! PM }
+  { tokens are created and destroyed by compiler.compile !! PM }
   InitTokens;
   InitTokens;
   if LinkAfter and
   if LinkAfter and
      ExistsFile(GetExePath+PpasFile) and
      ExistsFile(GetExePath+PpasFile) and

+ 2 - 2
packages/ide/fpdesk.pas

@@ -551,7 +551,7 @@ begin
     if (W^.Flags and wfGrow)<>0 then
     if (W^.Flags and wfGrow)<>0 then
       WI.Bounds.B.Y:=Max(6,round(WI.Bounds.B.Y*(ScreenHeight-2)/(VM.row-2)));
       WI.Bounds.B.Y:=Max(6,round(WI.Bounds.B.Y*(ScreenHeight-2)/(VM.row-2)));
   end;
   end;
-  {relocat and resize window as needed}
+  {relocate and resize window as needed}
   W^.GetBounds(R);
   W^.GetBounds(R);
   if (R.A.X<>WI.Bounds.A.X) or (R.A.Y<>WI.Bounds.A.Y) then
   if (R.A.X<>WI.Bounds.A.X) or (R.A.Y<>WI.Bounds.A.Y) then
     R.Move(WI.Bounds.A.X-R.A.X,WI.Bounds.A.Y-R.A.Y);
     R.Move(WI.Bounds.A.X-R.A.X,WI.Bounds.A.Y-R.A.Y);
@@ -897,7 +897,7 @@ begin
       Setlength(Dir,Size);
       Setlength(Dir,Size);
       S^.Read(Dir[1], Size);                           { Read the directory }
       S^.Read(Dir[1], Size);                           { Read the directory }
       {$i-}ChDir(Dir);{$i+}
       {$i-}ChDir(Dir);{$i+}
-      IOResult; {eat io result so it does not affect leater operations}
+      IOResult; {eat io result so it does not affect later operations}
       GetDir(0,StartUpDir);
       GetDir(0,StartUpDir);
     end;
     end;
   end;
   end;

+ 2 - 2
packages/ide/fphelp.pas

@@ -201,7 +201,7 @@ const
       hint_browser           = 'Specify global browser settings';
       hint_browser           = 'Specify global browser settings';
       hint_reloadmodifiedfile= 'Reload file modified on disk';
       hint_reloadmodifiedfile= 'Reload file modified on disk';
       hint_tools             = 'Create or change tools';
       hint_tools             = 'Create or change tools';
-      hint_environmentmenu   = 'Specify environment settins';
+      hint_environmentmenu   = 'Specify environment settings';
       hint_preferences       = 'Specify preferences settings';
       hint_preferences       = 'Specify preferences settings';
       hint_editoroptions     = 'Specify default editor settings';
       hint_editoroptions     = 'Specify default editor settings';
       hint_codecomplete      = 'Specify CodeComplete keywords';
       hint_codecomplete      = 'Specify CodeComplete keywords';
@@ -218,7 +218,7 @@ const
       hint_cascade           = 'Arrange windows on desktop by cascading';
       hint_cascade           = 'Arrange windows on desktop by cascading';
       hint_stepped           = 'Arrange windows on desktop by stepping';
       hint_stepped           = 'Arrange windows on desktop by stepping';
       hint_closeall          = 'Close all windows on the desktop';
       hint_closeall          = 'Close all windows on the desktop';
-      hint_resize            = 'Change the size/postion of the active window';
+      hint_resize            = 'Change the size/position of the active window';
       hint_zoom              = 'Enlarge or restore the size of the active window';
       hint_zoom              = 'Enlarge or restore the size of the active window';
       hint_next              = 'Make the next window active';
       hint_next              = 'Make the next window active';
       hint_prev              = 'Make the previous window active';
       hint_prev              = 'Make the previous window active';

+ 7 - 7
packages/ide/fpide.pas

@@ -157,7 +157,7 @@ type
       procedure RemoveRecentFile(Index: integer);
       procedure RemoveRecentFile(Index: integer);
     public
     public
       procedure CurDirChanged;
       procedure CurDirChanged;
-      procedure UpdateClockAndHeap; { update visiblity of ClockView and HeapView }
+      procedure UpdateClockAndHeap; { update visibility of ClockView and HeapView }
     private
     private
       procedure UpdatePrimaryFile;
       procedure UpdatePrimaryFile;
       procedure UpdateINIFile;
       procedure UpdateINIFile;
@@ -318,7 +318,7 @@ resourcestring  menu_local_gotosource = '~G~oto source';
                 menu_tools_msgprev     = 'Goto ~p~revious';
                 menu_tools_msgprev     = 'Goto ~p~revious';
                 menu_tools_grep        = '~G~rep';
                 menu_tools_grep        = '~G~rep';
                 menu_tools_calculator  = '~C~alculator';
                 menu_tools_calculator  = '~C~alculator';
-                menu_tools_asciitable  = 'Ascii ~t~able';
+                menu_tools_asciitable  = 'ASCII ~T~able';
 
 
                 menu_options           = '~O~ptions';
                 menu_options           = '~O~ptions';
                 menu_options_mode      = 'Mode~.~..';
                 menu_options_mode      = 'Mode~.~..';
@@ -1583,7 +1583,7 @@ begin
   UpdateScreen(true);
   UpdateScreen(true);
 {$endif go32v2}
 {$endif go32v2}
 {$endif Windows}
 {$endif Windows}
-  CurDirChanged; {To avoid memory corruption, palce this call after screen resize has been done.}
+  CurDirChanged; {To avoid memory corruption, place this call after screen resize has been done.}
   displaymode:=dmIDE;
   displaymode:=dmIDE;
 end;
 end;
 
 
@@ -1601,7 +1601,7 @@ begin
       SOK:=SaveAll;
       SOK:=SaveAll;
   if (AutoSaveOptions and asDesktop)<>0 then
   if (AutoSaveOptions and asDesktop)<>0 then
     begin
     begin
-      { destory all help & browser windows - we don't want to store them }
+      { destroy all help & browser windows - we don't want to store them }
       { UserScreenWindow is also not registered PM }
       { UserScreenWindow is also not registered PM }
       DoCloseUserScreenWindow;
       DoCloseUserScreenWindow;
       {$IFNDEF NODEBUG}
       {$IFNDEF NODEBUG}
@@ -1777,9 +1777,9 @@ begin
 
 
   GetExtent(R);
   GetExtent(R);
   AdjustRecentCount :=0;
   AdjustRecentCount :=0;
-  {calculate how much lines on screen for reacent files can be used }
+  {calculate how much lines on screen for recent files can be used }
   if r.b.y-r.a.y -19 > 0 then AdjustRecentCount:=r.b.y-r.a.y -19;
   if r.b.y-r.a.y -19 > 0 then AdjustRecentCount:=r.b.y-r.a.y -19;
-  {only if there is enough space then show all reacent files }
+  {only if there is enough space then show all recent files }
   {else cut list shorter }
   {else cut list shorter }
   if RecentFileCount < AdjustRecentCount then
   if RecentFileCount < AdjustRecentCount then
      AdjustRecentCount:=RecentFileCount;
      AdjustRecentCount:=RecentFileCount;
@@ -1982,7 +1982,7 @@ destructor TIDEApp.Done;
 begin
 begin
   InsideDone:=true;
   InsideDone:=true;
   IsRunning:=false;
   IsRunning:=false;
-  {manualy dispose ClockView and HeapView}
+  {manually dispose ClockView and HeapView}
   Delete(ClockView);
   Delete(ClockView);
   Dispose(ClockView);
   Dispose(ClockView);
   Delete(HeapView);
   Delete(HeapView);

+ 4 - 4
packages/ide/fpini.pas

@@ -127,7 +127,7 @@ const
   ieBrowserSymbols   = 'SymbolFlags';
   ieBrowserSymbols   = 'SymbolFlags';
   ieBrowserDisplay   = 'DisplayFlags';
   ieBrowserDisplay   = 'DisplayFlags';
   ieBrowserSub       = 'SubBrowsing';
   ieBrowserSub       = 'SubBrowsing';
-  ieBrowserPane      = 'PreferrdPane';
+  ieBrowserPane      = 'PreferredPane';
   ieOpenExts         = 'OpenExts';
   ieOpenExts         = 'OpenExts';
   ieHighlightExts    = 'Exts';
   ieHighlightExts    = 'Exts';
   ieTabsPattern      = 'NeedsTabs';
   ieTabsPattern      = 'NeedsTabs';
@@ -486,7 +486,7 @@ begin
   DefaultSaveExt:=INIFile^.GetEntry(secEditor,ieDefaultSaveExt,DefaultSaveExt);
   DefaultSaveExt:=INIFile^.GetEntry(secEditor,ieDefaultSaveExt,DefaultSaveExt);
   { Browser }
   { Browser }
   DefaultSymbolFlags:=INIFile^.GetIntEntry(secBrowser,ieBrowserSymbols,DefaultSymbolFlags);
   DefaultSymbolFlags:=INIFile^.GetIntEntry(secBrowser,ieBrowserSymbols,DefaultSymbolFlags);
-  DefaultDispayFlags:=INIFile^.GetIntEntry(secBrowser,ieBrowserDisplay,DefaultDispayFlags);
+  DefaultDisplayFlags:=INIFile^.GetIntEntry(secBrowser,ieBrowserDisplay,DefaultDisplayFlags);
   DefaultBrowserSub:=INIFile^.GetIntEntry(secBrowser,ieBrowserSub,DefaultBrowserSub);
   DefaultBrowserSub:=INIFile^.GetIntEntry(secBrowser,ieBrowserSub,DefaultBrowserSub);
   DefaultBrowserPane:=INIFile^.GetIntEntry(secBrowser,ieBrowserPane,DefaultBrowserPane);
   DefaultBrowserPane:=INIFile^.GetIntEntry(secBrowser,ieBrowserPane,DefaultBrowserPane);
   { Highlight }
   { Highlight }
@@ -580,7 +580,7 @@ begin
         TryToOpenFile(@R,S1,X,Y,false)
         TryToOpenFile(@R,S1,X,Y,false)
       else
       else
         TryToOpenFile(nil,S1,X,Y,false);
         TryToOpenFile(nil,S1,X,Y,false);
-      { remove it because otherwise we allways keep old files }
+      { remove it because otherwise we always keep old files }
       INIFile^.DeleteEntry(secFiles,ieOpenFile+IntToStr(I));
       INIFile^.DeleteEntry(secFiles,ieOpenFile+IntToStr(I));
     end;
     end;
 *)
 *)
@@ -712,7 +712,7 @@ begin
   INIFile^.SetEntry(secEditor,ieDefaultSaveExt,DefaultSaveExt);
   INIFile^.SetEntry(secEditor,ieDefaultSaveExt,DefaultSaveExt);
   { Browser }
   { Browser }
   INIFile^.SetIntEntry(secBrowser,ieBrowserSymbols,DefaultSymbolFlags);
   INIFile^.SetIntEntry(secBrowser,ieBrowserSymbols,DefaultSymbolFlags);
-  INIFile^.SetIntEntry(secBrowser,ieBrowserDisplay,DefaultDispayFlags);
+  INIFile^.SetIntEntry(secBrowser,ieBrowserDisplay,DefaultDisplayFlags);
   INIFile^.SetIntEntry(secBrowser,ieBrowserSub,DefaultBrowserSub);
   INIFile^.SetIntEntry(secBrowser,ieBrowserSub,DefaultBrowserSub);
   INIFile^.SetIntEntry(secBrowser,ieBrowserPane,DefaultBrowserPane);
   INIFile^.SetIntEntry(secBrowser,ieBrowserPane,DefaultBrowserPane);
   { Highlight }
   { Highlight }

+ 1 - 1
packages/ide/fpmcomp.inc

@@ -61,7 +61,7 @@ begin
   if Desktop^.ExecView(D)=cmOK then
   if Desktop^.ExecView(D)=cmOK then
     begin
     begin
        TargetSwitches^.SetCurrSel(RB^.Value);
        TargetSwitches^.SetCurrSel(RB^.Value);
-       { we allways need to recompile if we change
+       { we always need to recompile if we change
          the target OS PM }
          the target OS PM }
        if L<>RB^.Value then
        if L<>RB^.Value then
          PrevMainFile:='';
          PrevMainFile:='';

+ 1 - 1
packages/ide/fpmdebug.inc

@@ -44,7 +44,7 @@ end;
 procedure TIDEApp.DoUserScreenWindow;
 procedure TIDEApp.DoUserScreenWindow;
 begin
 begin
   {$ifdef HASAMIGA}
   {$ifdef HASAMIGA}
-  Exit; // Do not open the Userscreen on AMIGA systems, its not closeable
+  Exit; // Do not open the Userscreen on AMIGA systems, its not closable
   {$endif}
   {$endif}
   if UserScreenWindow=nil then
   if UserScreenWindow=nil then
     begin
     begin

+ 1 - 1
packages/ide/fpmingw.pas

@@ -32,7 +32,7 @@ implementation
 
 
 uses
 uses
   windows,
   windows,
-  gdbint; // force dependancies that hopefully make it execute at the right moment.
+  gdbint; // force dependencies that hopefully make it execute at the right moment.
 
 
 // prototype of atexit:
 // prototype of atexit:
 Type
 Type

+ 7 - 7
packages/ide/fpmopts.inc

@@ -90,7 +90,7 @@ begin
   Count:=max(Count,ProcessorCodeGenerationSwitches^.ItemCount); {lines we need to be able to show}
   Count:=max(Count,ProcessorCodeGenerationSwitches^.ItemCount); {lines we need to be able to show}
   if Count < 10 then Count:=10; {10 lines are needed in Assembler page}
   if Count < 10 then Count:=10; {10 lines are needed in Assembler page}
   TargetHeight:=Count+11; {11 lines for rest (empty lines, borders, pages, conditions...)}
   TargetHeight:=Count+11; {11 lines for rest (empty lines, borders, pages, conditions...)}
-  if TargetHeight> 31 then TargetHeight:=31; {don't go wild, limit ourselvs on 31 line}
+  if TargetHeight> 31 then TargetHeight:=31; {don't go wild, limit ourselves on 31 line}
   if (R.B.Y-R.A.Y) < (TargetHeight+5) then
   if (R.B.Y-R.A.Y) < (TargetHeight+5) then
     TargetHeight:= (R.B.Y-R.A.Y)-5; {screen allow exactly this much lines}
     TargetHeight:= (R.B.Y-R.A.Y)-5; {screen allow exactly this much lines}
   if TargetHeight<21 then
   if TargetHeight<21 then
@@ -355,7 +355,7 @@ begin
     Tab^.GrowMode:=0;
     Tab^.GrowMode:=0;
     Insert(Tab);
     Insert(Tab);
 
 
-    { conditionnals }
+    { conditionals }
     R2.Copy(TabR); R2.A.Y:=R2.B.Y+1; R2.B.Y:=R2.A.Y+1; Dec(R2.B.X,4);
     R2.Copy(TabR); R2.A.Y:=R2.B.Y+1; R2.B.Y:=R2.A.Y+1; Dec(R2.B.X,4);
     New(IL, Init(R2, 255));
     New(IL, Init(R2, 255));
     IL^.Data^:=ConditionalSwitches^.GetStringItem(0);
     IL^.Data^:=ConditionalSwitches^.GetStringItem(0);
@@ -935,7 +935,7 @@ begin
             c^.freeall;
             c^.freeall;
             for j:=0 to e^.GetLineCount-1 do
             for j:=0 to e^.GetLineCount-1 do
               begin
               begin
-                s:=e^.GetLineText(j);   { Note: AnsiString to ShortString convertino}
+                s:=e^.GetLineText(j);   { Note: AnsiString to ShortString convertion}
                 s:=Trim(s);
                 s:=Trim(s);
                 if s<>'' then
                 if s<>'' then
                   c^.insert(newstr(s));
                   c^.insert(newstr(s));
@@ -1137,7 +1137,7 @@ begin
       NewSItem(label_preferences_showheapmonitor,
       NewSItem(label_preferences_showheapmonitor,
       nil))));
       nil))));
     CB3^.Value:=DesktopPreferences;
     CB3^.Value:=DesktopPreferences;
-    if OverrideHeapMonitor then  { if heap motior state is set by fp parameter }
+    if OverrideHeapMonitor then  { if heap monitor state is set by fp parameter }
       CB3^.EnableMask:=CB3^.EnableMask and not(dpHeapMonitor); { disable heap monitor check box }
       CB3^.EnableMask:=CB3^.EnableMask and not(dpHeapMonitor); { disable heap monitor check box }
     Insert(New(PGroupView, Init(R, label_preferences_clockheap, CB3)));
     Insert(New(PGroupView, Init(R, label_preferences_clockheap, CB3)));
     Insert(CB3);
     Insert(CB3);
@@ -1374,7 +1374,7 @@ begin
   begin    { Default browser options }
   begin    { Default browser options }
     TitleS:=dialog_browseroptions;
     TitleS:=dialog_browseroptions;
     SymbolsFlags := DefaultSymbolFlags;
     SymbolsFlags := DefaultSymbolFlags;
-    DisplayFlags := DefaultDispayFlags;
+    DisplayFlags := DefaultDisplayFlags;
     BrowserSub:=DefaultBrowserSub;
     BrowserSub:=DefaultBrowserSub;
     BrowserPane:=DefaultBrowserPane;
     BrowserPane:=DefaultBrowserPane;
     DialogWidth:=56;
     DialogWidth:=56;
@@ -1390,7 +1390,7 @@ begin
     DialogWidth:=56-20;
     DialogWidth:=56-20;
     SymbolsHight:=7;
     SymbolsHight:=7;
     DisplayHight:=2;
     DisplayHight:=2;
-    RB1:=nil; {it is not suppoused to be valid}
+    RB1:=nil; {it is not supposed to be valid}
   end;
   end;
   R.Assign(0,0,DialogWidth,16);
   R.Assign(0,0,DialogWidth,16);
   New(D, Init(R, TitleS));
   New(D, Init(R, TitleS));
@@ -1462,7 +1462,7 @@ begin
     begin
     begin
       {DefaultBrowserFlags:=BrowserFlags;}
       {DefaultBrowserFlags:=BrowserFlags;}
       DefaultSymbolFlags:=SymbolsFlags;
       DefaultSymbolFlags:=SymbolsFlags;
-      DefaultDispayFlags:=DisplayFlags;
+      DefaultDisplayFlags:=DisplayFlags;
       DefaultBrowserSub:=RB1^.Value;
       DefaultBrowserSub:=RB1^.Value;
       DefaultBrowserPane:=RB2^.Value;
       DefaultBrowserPane:=RB2^.Value;
     end else
     end else

+ 2 - 2
packages/ide/fpmrun.inc

@@ -240,9 +240,9 @@ begin
               else
               else
                 Debugger^.Run;
                 Debugger^.Run;
               RunDirect:=false;
               RunDirect:=false;
-              {we are about to run debuger, AutoSave first}
+              {we are about to run debugger, AutoSave first}
               SaveCancelled:=false;
               SaveCancelled:=false;
-              AutoSave; {ignore result, ignore if canceled}
+              AutoSave; {ignore result, ignore if cancelled}
             end;
             end;
         end;
         end;
 {$endif ndef NODEBUG}
 {$endif ndef NODEBUG}

+ 1 - 1
packages/ide/fpredir.pas

@@ -811,7 +811,7 @@ end;
     {We need to use fpsystem to get wildcard expansion and avoid being
     {We need to use fpsystem to get wildcard expansion and avoid being
      interrupted by ctrl+c (SIGINT).
      interrupted by ctrl+c (SIGINT).
      But used wifexited and wexitstatus functions
      But used wifexited and wexitstatus functions
-     to correctly interpret fpsystem reutrn value }
+     to correctly interpret fpsystem return value }
      s:=fpsystem(MaybeQuoted(FixPath(Progname))+' '+Comline);
      s:=fpsystem(MaybeQuoted(FixPath(Progname))+' '+Comline);
      if wifexited(s) then
      if wifexited(s) then
        ExecuteResult:=wexitstatus(s)
        ExecuteResult:=wexitstatus(s)

+ 3 - 3
packages/ide/fpregs.pas

@@ -513,7 +513,7 @@ const
            OK:=GetIntRegs(rs);
            OK:=GetIntRegs(rs);
            LastOK:=OK;
            LastOK:=OK;
            NewReg:=rs;
            NewReg:=rs;
-           { get inital values }
+           { get initial values }
            if first then
            if first then
              begin
              begin
                OldReg:=NewReg;
                OldReg:=NewReg;
@@ -1083,7 +1083,7 @@ const
              );
              );
            LastOK:=OK;
            LastOK:=OK;
            NewReg:=rs;
            NewReg:=rs;
-           { get inital values }
+           { get initial values }
            if first then
            if first then
              begin
              begin
                OldReg:=NewReg;
                OldReg:=NewReg;
@@ -1468,7 +1468,7 @@ const
              );
              );
            LastOK:=OK;
            LastOK:=OK;
            NewReg:=rs;
            NewReg:=rs;
-           { get inital values }
+           { get initial values }
            if first then
            if first then
              begin
              begin
                OldReg:=NewReg;
                OldReg:=NewReg;

+ 1 - 1
packages/ide/fpswitch.pas

@@ -1514,7 +1514,7 @@ begin
                OtherLinkerSwitches^.SetBooleanItem(0,true);
                OtherLinkerSwitches^.SetBooleanItem(0,true);
             end;
             end;
        end;
        end;
-       { set appriopriate default target }
+       { set appropriate default target }
        TargetSwitches^.SetCurrSelParam(target_info.shortname);
        TargetSwitches^.SetCurrSelParam(target_info.shortname);
     end;
     end;
   SwitchesMode:=OldSwitchesMode;
   SwitchesMode:=OldSwitchesMode;

+ 9 - 9
packages/ide/fpsymbol.pas

@@ -49,9 +49,9 @@ const
 const
 const
       DefaultSymbolFlags : longint = bfUnits or
       DefaultSymbolFlags : longint = bfUnits or
          bfLabels or bfConstants or bfTypes or bfVariables or bfProcedures;
          bfLabels or bfConstants or bfTypes or bfVariables or bfProcedures;
-      DefaultDispayFlags : longint = (bfQualifiedSymbols) shr 30;
+      DefaultDisplayFlags : longint = (bfQualifiedSymbols) shr 30;
       { Note: default browser flags will be created with formula:
       { Note: default browser flags will be created with formula:
-        BrowserFlags:=DefaultDispayFlags shl 30 or DefaultSymbolFlags;
+        BrowserFlags:=DefaultDisplayFlags shl 30 or DefaultSymbolFlags;
       }
       }
       DefaultBrowserSub  : longint = 0;
       DefaultBrowserSub  : longint = 0;
       DefaultBrowserPane : longint = 0;
       DefaultBrowserPane : longint = 0;
@@ -82,7 +82,7 @@ type
       {Shell of TSymbol used to filter inherited and to display qualified symbols }
       {Shell of TSymbol used to filter inherited and to display qualified symbols }
     PHollowSymbol = ^THollowSymbol;
     PHollowSymbol = ^THollowSymbol;
     THollowSymbol = object(TSymbol)
     THollowSymbol = object(TSymbol)
-        Sym        : PSymbol; { orginal symbol, need for unit info save}
+        Sym        : PSymbol; { original symbol, need for unit info save}
         Parent     : PSymbol; { to get object name from }
         Parent     : PSymbol; { to get object name from }
         NeedPrefix : Boolean; { GetName will add object prefix if needed }
         NeedPrefix : Boolean; { GetName will add object prefix if needed }
         constructor Init(ASymbol,AParent:PSymbol);
         constructor Init(ASymbol,AParent:PSymbol);
@@ -301,7 +301,7 @@ type
     end;
     end;
 
 
     { Tree to go to previous browser windows }
     { Tree to go to previous browser windows }
-    { Holds all parametrs to recreate closed previous window if needed to be}
+    { Holds all parameters to recreate closed previous window if needed to be}
     TBrowserLinked = Object(TObject)
     TBrowserLinked = Object(TObject)
         BrowserWindow : PBrowserWindow;
         BrowserWindow : PBrowserWindow;
         Previous : PBrowserLinked;
         Previous : PBrowserLinked;
@@ -1182,7 +1182,7 @@ begin
       if Idx<>-1 then
       if Idx<>-1 then
         begin
         begin
           { Have found, but get filtered list index first
           { Have found, but get filtered list index first
-            Some entries might be missing if need then look up agin }
+            Some entries might be missing if need then look up again }
           Idx:=GetFilteredLookUpIdx(Idx);
           Idx:=GetFilteredLookUpIdx(Idx);
           if Idx<>-1 then
           if Idx<>-1 then
           begin
           begin
@@ -1337,7 +1337,7 @@ begin
         {----------  only selected ones  ----------}
         {----------  only selected ones  ----------}
         S^.NeedPrefix:=bQua;
         S^.NeedPrefix:=bQua;
         if Inh then  { we are in object scope view }
         if Inh then  { we are in object scope view }
-          if not bInh then  { Inherite checkbox is not selected }
+          if not bInh then  { Inherited checkbox is not selected }
             if S^.Parent <> ObjSymbol then continue;
             if S^.Parent <> ObjSymbol then continue;
         case S^.typ of
         case S^.typ of
           labelsym: if not bLab then continue;
           labelsym: if not bLab then continue;
@@ -2208,7 +2208,7 @@ begin
   HelpCtx:=hcBrowserWindow;
   HelpCtx:=hcBrowserWindow;
   Sym:=ASym;
   Sym:=ASym;
   Prefix:=NewStr(APrefix);
   Prefix:=NewStr(APrefix);
-  BrowserFlags:=DefaultDispayFlags shl 30 or DefaultSymbolFlags;
+  BrowserFlags:=DefaultDisplayFlags shl 30 or DefaultSymbolFlags;
 
 
   GetExtent(R); R.Grow(-1,-1); R.B.Y:=R.A.Y+1;
   GetExtent(R); R.Grow(-1,-1); R.B.Y:=R.A.Y+1;
 {$ifndef NODEBUG}
 {$ifndef NODEBUG}
@@ -2399,7 +2399,7 @@ begin
   PageTab^.GrowMode:=gfGrowHiX;
   PageTab^.GrowMode:=gfGrowHiX;
   Insert(PageTab);
   Insert(PageTab);
 
 
-  if assigned(ScopeView) {Scope assinged and chosen to be selected by default}
+  if assigned(ScopeView) {Scope assigned and chosen to be selected by default}
     and ((DefaultBrowserPane=0) or not assigned(ReferenceView)) then
     and ((DefaultBrowserPane=0) or not assigned(ReferenceView)) then
     SelectTab(btScope)
     SelectTab(btScope)
   else if assigned(ReferenceView) then
   else if assigned(ReferenceView) then
@@ -2638,7 +2638,7 @@ var Y, uL,dL,tL: sw_integer;
 begin
 begin
   if (PrevSize.Y<>Size.Y) then
   if (PrevSize.Y<>Size.Y) then
   begin
   begin
-    {-- unit info page resize manualy --}
+    {-- unit info page resize manually --}
     if assigned(UnitInfo) then
     if assigned(UnitInfo) then
     begin
     begin
       { get number of lines everyone needs }
       { get number of lines everyone needs }

+ 1 - 1
packages/ide/fptools.pas

@@ -1261,7 +1261,7 @@ begin
                           I:=I+ReplacePart(LastWordStart,I-1,S)-1;
                           I:=I+ReplacePart(LastWordStart,I-1,S)-1;
                   end;
                   end;
                 end
                 end
-              else { just prompt for parms }
+              else { just prompt for parameters }
                 begin
                 begin
                   I:=I+ReplacePart(LastWordStart,I-1,'')-1;
                   I:=I+ReplacePart(LastWordStart,I-1,'')-1;
                   if CheckOnly=false then
                   if CheckOnly=false then

+ 3 - 3
packages/ide/fpusrscr.pas

@@ -440,7 +440,7 @@ end;
 procedure TDOSScreen.FreeGraphBuffer;
 procedure TDOSScreen.FreeGraphBuffer;
 begin
 begin
   { We don't want to restore the last user screen if
   { We don't want to restore the last user screen if
-    it was a grpahic screen, for example if we
+    it was a graphic screen, for example if we
     leave in the middle of the debugging of a
     leave in the middle of the debugging of a
     graphic program, so we first
     graphic program, so we first
     dispose the graphic buffer, thus
     dispose the graphic buffer, thus
@@ -999,7 +999,7 @@ begin
   GetConsoleScreenBufferInfo(StartScreenBufferHandle,
   GetConsoleScreenBufferInfo(StartScreenBufferHandle,
     @ConsoleScreenBufferInfo);
     @ConsoleScreenBufferInfo);
   BigWin.X:=ConsoleScreenBufferInfo.dwSize.X;
   BigWin.X:=ConsoleScreenBufferInfo.dwSize.X;
-  BigWin.Y:=ConsoleScreenBufferInfo.srwindow.bottom-ConsoleScreenBufferInfo.srwindow.top; // mants 15779 was 200
+  BigWin.Y:=ConsoleScreenBufferInfo.srwindow.bottom-ConsoleScreenBufferInfo.srwindow.top; // mantis 15779 was 200
   { Try to allow to store more info }
   { Try to allow to store more info }
   res:=SetConsoleScreenBufferSize(NewScreenBufferHandle,BigWin);
   res:=SetConsoleScreenBufferSize(NewScreenBufferHandle,BigWin);
   if not res then
   if not res then
@@ -1017,7 +1017,7 @@ begin
   BigWin.Y:=ConsoleScreenBufferInfo.srwindow.bottom-ConsoleScreenBufferInfo.srwindow.top;
   BigWin.Y:=ConsoleScreenBufferInfo.srwindow.bottom-ConsoleScreenBufferInfo.srwindow.top;
   res:=SetConsoleScreenBufferSize(NewScreenBufferHandle,
   res:=SetConsoleScreenBufferSize(NewScreenBufferHandle,
      BigWin);
      BigWin);
-// mants 15779 : was
+// mantis 15779 : was
 //  res:=SetConsoleScreenBufferSize(NewScreenBufferHandle,
 //  res:=SetConsoleScreenBufferSize(NewScreenBufferHandle,
 //         ConsoleScreenBufferInfo.dwMaximumWindowSize);
 //         ConsoleScreenBufferInfo.dwMaximumWindowSize);
   if not res then
   if not res then

+ 1 - 1
packages/ide/fputils.pas

@@ -2,7 +2,7 @@
     This file is part of the Free Pascal Integrated Development Environment
     This file is part of the Free Pascal Integrated Development Environment
     Copyright (c) 1998 by Berczi Gabor
     Copyright (c) 1998 by Berczi Gabor
 
 
-    Utilility routines used by the IDE
+    Utility routines used by the IDE
 
 
     See the file COPYING.FPC, included in this distribution,
     See the file COPYING.FPC, included in this distribution,
     for details about the copyright.
     for details about the copyright.

+ 1 - 1
packages/ide/fpvars.pas

@@ -112,7 +112,7 @@ const INIFileName      : string = ININame;
                                    dfCodeCompleteWords+dfCodeTemplates;
                                    dfCodeCompleteWords+dfCodeTemplates;
       DesktopLocation  : byte    = dlConfigFileDir;
       DesktopLocation  : byte    = dlConfigFileDir;
       AutoSaveOptions  : longint = asEnvironment+asDesktop;
       AutoSaveOptions  : longint = asEnvironment+asDesktop;
-      DesktopPreferences:longint = 0; { by default show no Clock, no Heap mointor }
+      DesktopPreferences:longint = 0; { by default show no Clock, no Heap monitor }
       MiscOptions      : longint = moChangeDirOnOpen+moCloseOnGotoSource;
       MiscOptions      : longint = moChangeDirOnOpen+moCloseOnGotoSource;
       EditorModified   : boolean = false;
       EditorModified   : boolean = false;
       IniCenterDebuggerRow : tcentre = do_centre;
       IniCenterDebuggerRow : tcentre = do_centre;

+ 5 - 5
packages/ide/fpviews.pas

@@ -139,7 +139,7 @@ type
     TSourceEditor = object(TFileEditor)
     TSourceEditor = object(TFileEditor)
       CompileStamp : longint;
       CompileStamp : longint;
       CodeCompleteTip: PFPToolTip;
       CodeCompleteTip: PFPToolTip;
-      {for nested comments managment}
+      {for nested comments management}
       SwitchesNestedComments : boolean;
       SwitchesNestedComments : boolean;
       NestedComments : boolean;
       NestedComments : boolean;
       FixedNestedComments : TPoint;
       FixedNestedComments : TPoint;
@@ -581,7 +581,7 @@ uses
      ag68kgas,
      ag68kgas,
   {$endif}
   {$endif}
 {$ifdef USE_EXTERNAL_COMPILER}
 {$ifdef USE_EXTERNAL_COMPILER}
-   fpintf, { superseeds version_string of version unit }
+   fpintf, { supersedes version_string of version unit }
 {$endif USE_EXTERNAL_COMPILER}
 {$endif USE_EXTERNAL_COMPILER}
   {$ifdef VESA}Vesa,{$endif}
   {$ifdef VESA}Vesa,{$endif}
   FPSymbol,FPDebug,FPVars,FPUtils,FPCompil,FPHelp,
   FPSymbol,FPDebug,FPVars,FPUtils,FPCompil,FPHelp,
@@ -1457,7 +1457,7 @@ begin
   ResultIsSet:=false;
   ResultIsSet:=false;
   RegisterNestnessPoint(0,0);
   RegisterNestnessPoint(0,0);
   if (not IsFlagSet(efSyntaxHighlight)) then
   if (not IsFlagSet(efSyntaxHighlight)) then
-  begin {not ment to be syntax highlighted }
+  begin { not meant to be syntax highlighted }
     FixedNestedComments.Y:=0;
     FixedNestedComments.Y:=0;
     FixedNestedComments.X:=0;
     FixedNestedComments.X:=0;
     exit;
     exit;
@@ -4660,11 +4660,11 @@ begin
    DInput := New(PEditorInputLine, Init(R, FileNameLen+4));
    DInput := New(PEditorInputLine, Init(R, FileNameLen+4));
    DInput^.GrowMode:=gfGrowHiX;
    DInput^.GrowMode:=gfGrowHiX;
    DInput^.SetData(S);
    DInput^.SetData(S);
-   InsertBefore(DInput,DirInput); {insert before to preserv order as it was}
+   InsertBefore(DInput,DirInput); {insert before to preserve order as it was}
    Delete(DirInput);
    Delete(DirInput);
    Dispose(DirInput,done);
    Dispose(DirInput,done);
    DirInput:=DInput;
    DirInput:=DInput;
-   Control:=DirInput^.Next; {here we make assumption that THistory control will folow}
+   Control:=DirInput^.Next; {here we make assumption that THistory control will follow}
    while (Control<> nil) do
    while (Control<> nil) do
    begin
    begin
      if TypeOf(Control^) = TypeOf(THistory) then
      if TypeOf(Control^) = TypeOf(THistory) then

+ 3 - 3
packages/ide/gdbmiint.pas

@@ -368,10 +368,10 @@ Ignore:
         {    TODO: maybe show information to the user about the signal
         {    TODO: maybe show information to the user about the signal
           we have:
           we have:
                GDB.ExecAsyncOutput.Parameters['signal-name'].AsString (e.g. 'SIGTERM')
                GDB.ExecAsyncOutput.Parameters['signal-name'].AsString (e.g. 'SIGTERM')
-               GDB.ExecAsyncOutput.PArameters['signal-meaning'].AsString (e.g. 'Terminated')
+               GDB.ExecAsyncOutput.Parameters['signal-meaning'].AsString (e.g. 'Terminated')
           }
           }
         LocalSignalName:=GDB.ExecAsyncOutput.Parameters['signal-name'].AsString;
         LocalSignalName:=GDB.ExecAsyncOutput.Parameters['signal-name'].AsString;
-        LocalSignalString:=GDB.ExecAsyncOutput.PArameters['signal-meaning'].AsString;
+        LocalSignalString:=GDB.ExecAsyncOutput.Parameters['signal-meaning'].AsString;
         signal_name:=@LocalSignalName;
         signal_name:=@LocalSignalName;
         signal_string:=@LocalSignalString;
         signal_string:=@LocalSignalString;
         if (user_screen_shown) then
         if (user_screen_shown) then
@@ -454,7 +454,7 @@ Ignore:
         {    TODO: maybe show information to the user about the signal
         {    TODO: maybe show information to the user about the signal
           we have:
           we have:
                GDB.ExecAsyncOutput.Parameters['signal-name'].AsString (e.g. 'SIGTERM')
                GDB.ExecAsyncOutput.Parameters['signal-name'].AsString (e.g. 'SIGTERM')
-               GDB.ExecAsyncOutput.PArameters['signal-meaning'].AsString (e.g. 'Terminated')
+               GDB.ExecAsyncOutput.Parameters['signal-meaning'].AsString (e.g. 'Terminated')
           }
           }
         DoEndSession(1);
         DoEndSession(1);
       end;
       end;

+ 1 - 1
packages/ide/globdir.inc

@@ -18,7 +18,7 @@
 {$ifdef Go32V2}
 {$ifdef Go32V2}
   { NOVESA conditional avoids use of
   { NOVESA conditional avoids use of
     vesa unit, it also disables USE_GRAPH_SWITCH
     vesa unit, it also disables USE_GRAPH_SWITCH
-    conditional, in order to obtain a go32v2 excutable that
+    conditional, in order to obtain a go32v2 executable that
     doesn't require full screen switching
     doesn't require full screen switching
     at startup on Windows OS }
     at startup on Windows OS }
   {$ifndef NOVESA}
   {$ifndef NOVESA}

+ 14 - 14
packages/ide/weditor.pas

@@ -300,7 +300,7 @@ type
       function    GetMark(Index:Sw_integer):PEditorBookMark; virtual;
       function    GetMark(Index:Sw_integer):PEditorBookMark; virtual;
       procedure   AdjustMark(APosX,Adjustment:Sw_integer); virtual;
       procedure   AdjustMark(APosX,Adjustment:Sw_integer); virtual;
       { Syntax information is now generated separately for each editor instance.
       { Syntax information is now generated separately for each editor instance.
-        This is not neccessary for a one-language IDE, but this unit contains
+        This is not necessary for a one-language IDE, but this unit contains
         a _generic_ editor object, which should be (and is) as flexible as
         a _generic_ editor object, which should be (and is) as flexible as
         possible.
         possible.
         The overhead caused by generating the same syntax info for ex.
         The overhead caused by generating the same syntax info for ex.
@@ -2395,7 +2395,7 @@ var
     tmpIs:=(MatchesAnySpecSymbol(ssCommentPrefix,pmLeft));
     tmpIs:=(MatchesAnySpecSymbol(ssCommentPrefix,pmLeft));
     if tmpIs
     if tmpIs
       and (CurrentCommentType=2) {bad, we are making assumption that this is comment opener (* }
       and (CurrentCommentType=2) {bad, we are making assumption that this is comment opener (* }
-      and (LineText[X+1]=')') { looking into next char is bad aproach but it is working }
+      and (LineText[X+1]=')') { looking into next char is bad approach but it is working }
       then
       then
         tmpIs:=false;  { in comment this "(*)" is not start of new nested comment but end }
         tmpIs:=false;  { in comment this "(*)" is not start of new nested comment but end }
     IsMatchingCommentPrefix:= tmpIs and (CurrentCommentType=SymbolIndex);
     IsMatchingCommentPrefix:= tmpIs and (CurrentCommentType=SymbolIndex);
@@ -2698,7 +2698,7 @@ var
                 begin
                 begin
                   inc(CurrentCommentDepth);
                   inc(CurrentCommentDepth);
                   if LookForNestedComments then
                   if LookForNestedComments then
-                  begin  { once per every nested comment test IsNestedCommments }
+                  begin  { once per every nested comment test IsNestedComments }
                     LookForNestedComments:=false;
                     LookForNestedComments:=false;
                     NestedComments:=Editor^.IsNestedComments(X,CurLineNr);
                     NestedComments:=Editor^.IsNestedComments(X,CurLineNr);
                   end;
                   end;
@@ -2786,7 +2786,7 @@ begin
     PrevLine:=GetLine(CurLineNr-1)
     PrevLine:=GetLine(CurLineNr-1)
   else
   else
     PrevLine:=nil;
     PrevLine:=nil;
-  CommentStartY:=CurLineNr-1; { use in detection for false positive commment: (*) }
+  CommentStartY:=CurLineNr-1; { use in detection for false positive comment: (*) }
   repeat
   repeat
     Line:=GetLine(CurLineNr);
     Line:=GetLine(CurLineNr);
     if Assigned(PrevLine) then PrevLI:=PrevLine^.GetEditorInfo(Editor) else PrevLI:=nil;
     if Assigned(PrevLine) then PrevLI:=PrevLine^.GetEditorInfo(Editor) else PrevLI:=nil;
@@ -4397,7 +4397,7 @@ begin
                 FreeFormat[X]:=false;
                 FreeFormat[X]:=false;
               end;
               end;
 
 
-            { redundant check, for loop condition is taking care of coorect range
+            { redundant check, for loop condition is taking care of correct range
             if (0<=LSX+X-1-Delta.X) and (LSX+X-1-Delta.X<MaxViewWidth) then  }
             if (0<=LSX+X-1-Delta.X) and (LSX+X-1-Delta.X<MaxViewWidth) then  }
               MoveChar(B[LSX+X-1-Delta.X],C,Color,1);
               MoveChar(B[LSX+X-1-Delta.X],C,Color,1);
           end; { for X:=1 to ... }
           end; { for X:=1 to ... }
@@ -4425,7 +4425,7 @@ begin
       SetCursor(GetReservedColCount+CurPos.X-Delta.X,EditorToViewLine(CurPos.Y)-Delta.Y);
       SetCursor(GetReservedColCount+CurPos.X-Delta.X,EditorToViewLine(CurPos.Y)-Delta.Y);
       InsertMode:=Overwrite;
       InsertMode:=Overwrite;
       if IsFlagSet (efBlockInsCursor) then
       if IsFlagSet (efBlockInsCursor) then
-         InsertMode:=not InsertMode; {revers insert and overwrite mode cursor shapes}
+         InsertMode:=not InsertMode; {reverse insert and overwrite mode cursor shapes}
       SetState(sfCursorIns,InsertMode);
       SetState(sfCursorIns,InsertMode);
     end;
     end;
 end;
 end;
@@ -4847,7 +4847,7 @@ begin
   else
   else
     SetCurPtr(CurPos.X,Delta.Y);
     SetCurPtr(CurPos.X,Delta.Y);
  end;
  end;
- 
+
  procedure TCustomCodeEditor.WindowEnd;
  procedure TCustomCodeEditor.WindowEnd;
  begin
  begin
   if not NoSelect and ShouldExtend then
   if not NoSelect and ShouldExtend then
@@ -4903,7 +4903,7 @@ begin
     if Assigned(Line) then
     if Assigned(Line) then
       Line^.InsertMark(@Self,@Bookmarks[MarkIdx])
       Line^.InsertMark(@Self,@Bookmarks[MarkIdx])
     else
     else
-      Bookmarks[MarkIdx].Valid:=false; {this should not be ever reached, but safty first}
+      Bookmarks[MarkIdx].Valid:=false; {this should not be ever reached, but safety first}
   end;
   end;
 end;
 end;
 
 
@@ -6691,7 +6691,7 @@ begin
   begin
   begin
     Lines:=GetLineCount;
     Lines:=GetLineCount;
     {Linecount can be 0, but in that case there still is a cursor blinking in top
     {Linecount can be 0, but in that case there still is a cursor blinking in top
-     of the window, which will become line 1 as soon as sometype hits a key.}
+     of the window, which will become line 1 as soon as someone hits a key.}
     if lines=0 then
     if lines=0 then
       lines:=1;
       lines:=1;
     if EditorDialog(edGotoLine, @GotoRec) <> cmCancel then
     if EditorDialog(edGotoLine, @GotoRec) <> cmCancel then
@@ -7273,7 +7273,7 @@ begin
   Lock;
   Lock;
 
 
   { here should be some kind or "mark" or "break" inserted in the Undo
   { here should be some kind or "mark" or "break" inserted in the Undo
-    information, so activating it "undoes" only the completition first and
+    information, so activating it "undoes" only the completion first and
     doesn't delete the complete word at once... - Gabor }
     doesn't delete the complete word at once... - Gabor }
 
 
   FragLen:=Length(GetCodeCompleteFrag);
   FragLen:=Length(GetCodeCompleteFrag);
@@ -7354,7 +7354,7 @@ begin
       else if (SelStart.Y < SelEnd.Y) and ( ((SelStart.Y=CurPos.Y) and (SelStart.X<=CurPos.X)) or ((SelEnd.Y=CurPos.Y) and (SelEnd.X>=CurPos.X))) then
       else if (SelStart.Y < SelEnd.Y) and ( ((SelStart.Y=CurPos.Y) and (SelStart.X<=CurPos.X)) or ((SelEnd.Y=CurPos.Y) and (SelEnd.X>=CurPos.X))) then
         InSelectionArea:=true  {in first line or last line}
         InSelectionArea:=true  {in first line or last line}
       else if (SelStart.Y > SelEnd.Y) and ( ((SelStart.Y=CurPos.Y) and (SelStart.X>=CurPos.X)) or ((SelEnd.Y=CurPos.Y) and (SelEnd.X<=CurPos.X))) then
       else if (SelStart.Y > SelEnd.Y) and ( ((SelStart.Y=CurPos.Y) and (SelStart.X>=CurPos.X)) or ((SelEnd.Y=CurPos.Y) and (SelEnd.X<=CurPos.X))) then
-        InSelectionArea:=true; {in first line or last line (selection Start and End revers)}
+        InSelectionArea:=true; {in first line or last line (selection Start and End reverse)}
     end;
     end;
 end;
 end;
 
 
@@ -7439,7 +7439,7 @@ begin
    dec(ey);
    dec(ey);
   S:='';
   S:='';
   { Find shortest white space of beginning of line from all lines
   { Find shortest white space of beginning of line from all lines
-    for simplisity reason Tab is not recognized as white space in this regard }
+    for simplicity reason Tab is not recognized as white space in this regard }
   LLen:=0;
   LLen:=0;
   WhiteLen:=-1;
   WhiteLen:=-1;
   WhiteLen:= WhiteLen shr 1; { logical SHR to get max sw_integer }
   WhiteLen:= WhiteLen shr 1; { logical SHR to get max sw_integer }
@@ -7694,7 +7694,7 @@ begin
   while OK and (Line<=EndP.Y) and (Line<GetLineCount) do
   while OK and (Line<=EndP.Y) and (Line<GetLineCount) do
   begin
   begin
     S:=GetLineText(Line);
     S:=GetLineText(Line);
-    { Remove all traling spaces PM }
+    { Remove all trailing spaces PM }
     if not Editor^.IsFlagSet(efKeepTrailingSpaces) then
     if not Editor^.IsFlagSet(efKeepTrailingSpaces) then
       s:=RTrim(S,False); // removes trailing #0 too
       s:=RTrim(S,False); // removes trailing #0 too
     { if FlagSet(efUseTabCharacters) then
     { if FlagSet(efUseTabCharacters) then
@@ -7988,7 +7988,7 @@ begin
   DInput := New(PFPFileInputLine, Init(R, 79{FileNameLen+4}));
   DInput := New(PFPFileInputLine, Init(R, 79{FileNameLen+4}));
   DInput^.SetData(S);
   DInput^.SetData(S);
   DInput^.GrowMode:=FileName^.GrowMode;
   DInput^.GrowMode:=FileName^.GrowMode;
-  InsertBefore(DInput,FileName); {insert before to preserv order as it was}
+  InsertBefore(DInput,FileName); {insert before to preserve order as it was}
   Delete(FileName);
   Delete(FileName);
   Dispose(FileName,done);
   Dispose(FileName,done);
   FileName:=DInput;
   FileName:=DInput;

+ 1 - 1
packages/ide/whlpview.pas

@@ -887,7 +887,7 @@ begin
   begin
   begin
     if Y=R.A.Y then StartX:=R.A.X else StartX:=Margin;
     if Y=R.A.Y then StartX:=R.A.X else StartX:=Margin;
     if Y=R.B.Y then EndX:=R.B.X else EndX:=High(S);
     if Y=R.B.Y then EndX:=R.B.X else EndX:=High(S);
-    S:=S+copy(GetLineText(Y),StartX+1,EndX-StartX+1);   { Note: AnsiString to ShortString convertino}
+    S:=S+copy(GetLineText(Y),StartX+1,EndX-StartX+1);   { Note: AnsiString to ShortString convertion}
     Inc(Y);
     Inc(Y);
   end;
   end;
   GetLinkText:=S;
   GetLinkText:=S;

+ 6 - 6
packages/ide/whtml.pas

@@ -441,7 +441,7 @@ begin
   if (Code=165) or (Name='yen')    then E:=''   else { yen sign                      }
   if (Code=165) or (Name='yen')    then E:=''   else { yen sign                      }
   if (Code=166) or (Name='brvbar') then E:='|'   else { broken vertical bar           }
   if (Code=166) or (Name='brvbar') then E:='|'   else { broken vertical bar           }
   if (Code=167) or (Name='sect')   then E:=''   else { section sign                  }
   if (Code=167) or (Name='sect')   then E:=''   else { section sign                  }
-  if (Code=168) or (Name='uml')    then E:='"'   else { umlaut  (dieresis)            }
+  if (Code=168) or (Name='uml')    then E:='"'   else { umlaut  (diaeresis)           }
   if (Code=169) or (Name='copy')   then E:='(C)' else { copyright sign                }
   if (Code=169) or (Name='copy')   then E:='(C)' else { copyright sign                }
 (*  if (Code=170) or (Name='ordf')   then E:=#255  else { ordinal indicator, feminine   }*)
 (*  if (Code=170) or (Name='ordf')   then E:=#255  else { ordinal indicator, feminine   }*)
   if (Code=171) or (Name='laquo')  then E:='"'   else { angle quotation mark -left    }
   if (Code=171) or (Name='laquo')  then E:='"'   else { angle quotation mark -left    }
@@ -460,7 +460,7 @@ begin
 (*  if (Code=184) or (Name='cedil')  then E:='?'   else { cedilla                       }*)
 (*  if (Code=184) or (Name='cedil')  then E:='?'   else { cedilla                       }*)
   if (Code=185) or (Name='sup1')   then E:='^1'  else { superscript 1                 }
   if (Code=185) or (Name='sup1')   then E:='^1'  else { superscript 1                 }
 (*  if (Code=186) or (Name='ordm')   then E:='?'   else { ordinal indicator, masculine  }*)
 (*  if (Code=186) or (Name='ordm')   then E:='?'   else { ordinal indicator, masculine  }*)
-  if (Code=187) or (Name='raquo')  then E:='"'   else { angle quoatation mark -right  }
+  if (Code=187) or (Name='raquo')  then E:='"'   else { angle quotation mark -right   }
   if (Code=188) or (Name='frac14') then E:='¬'   else { fraction one-quarter          }
   if (Code=188) or (Name='frac14') then E:='¬'   else { fraction one-quarter          }
   if (Code=189) or (Name='frac12') then E:='«'   else { fraction one-half             }
   if (Code=189) or (Name='frac12') then E:='«'   else { fraction one-half             }
   if (Code=190) or (Name='frac34') then E:='3/4' else { fraction three-quarters       }
   if (Code=190) or (Name='frac34') then E:='3/4' else { fraction three-quarters       }
@@ -476,11 +476,11 @@ begin
   if (Code=200) or (Name='Egrave') then E:=''   else { capital E, grave accent       }
   if (Code=200) or (Name='Egrave') then E:=''   else { capital E, grave accent       }
   if (Code=201) or (Name='Eacute') then E:=''   else { capital E, acute accent       }
   if (Code=201) or (Name='Eacute') then E:=''   else { capital E, acute accent       }
   if (Code=202) or (Name='Ecirc')  then E:='E'   else { capital E, circumflex accent  }
   if (Code=202) or (Name='Ecirc')  then E:='E'   else { capital E, circumflex accent  }
-  if (Code=203) or (Name='Euml')   then E:='E'   else { capital E, dieresis or umlaut }
+  if (Code=203) or (Name='Euml')   then E:='E'   else { capital E, diaeresis or umlaut}
   if (Code=204) or (Name='Igrave') then E:='I'   else { capital I, grave accent       }
   if (Code=204) or (Name='Igrave') then E:='I'   else { capital I, grave accent       }
   if (Code=205) or (Name='Iacute') then E:='I'   else { capital I, acute accent       }
   if (Code=205) or (Name='Iacute') then E:='I'   else { capital I, acute accent       }
   if (Code=206) or (Name='Icirc')  then E:='I'   else { capital I, circumflex accent  }
   if (Code=206) or (Name='Icirc')  then E:='I'   else { capital I, circumflex accent  }
-  if (Code=207) or (Name='Iuml')   then E:='I'   else { capital I, dieresis or umlaut }
+  if (Code=207) or (Name='Iuml')   then E:='I'   else { capital I, diaeresis or umlaut}
 (*  if (Code=208) or (Name='ETH')    then E:='?'   else { capital Eth, Icelandic        }*)
 (*  if (Code=208) or (Name='ETH')    then E:='?'   else { capital Eth, Icelandic        }*)
   if (Code=209) or (Name='Ntidle') then E:='¥'   else { capital N, tilde              }
   if (Code=209) or (Name='Ntidle') then E:='¥'   else { capital N, tilde              }
   if (Code=210) or (Name='Ograve') then E:='O'   else { capital O, grave accent       }
   if (Code=210) or (Name='Ograve') then E:='O'   else { capital O, grave accent       }
@@ -525,10 +525,10 @@ begin
   if (Code=249) or (Name='ugrave') then E:='—'   else { small u, grave accent         }
   if (Code=249) or (Name='ugrave') then E:='—'   else { small u, grave accent         }
   if (Code=250) or (Name='uacute') then E:='£'   else { small u, acute accent         }
   if (Code=250) or (Name='uacute') then E:='£'   else { small u, acute accent         }
   if (Code=251) or (Name='ucirc')  then E:='–'   else { small u, circumflex accent    }
   if (Code=251) or (Name='ucirc')  then E:='–'   else { small u, circumflex accent    }
-  if (Code=252) or (Name='uuml')   then E:=''   else { small u, dieresis or umlaut   }
+  if (Code=252) or (Name='uuml')   then E:=''   else { small u, diaeresis or umlaut   }
   if (Code=253) or (Name='yacute') then E:='y'   else { small y, acute accent         }
   if (Code=253) or (Name='yacute') then E:='y'   else { small y, acute accent         }
 (*  if (Code=254) or (Name='thorn')  then E:='?'   else { small thorn, Icelandic        }*)
 (*  if (Code=254) or (Name='thorn')  then E:='?'   else { small thorn, Icelandic        }*)
-  if (Code=255) or (Name='yuml')   then E:='y'   else { small y, dieresis or umlaut   }
+  if (Code=255) or (Name='yuml')   then E:='y'   else { small y, diaeresis or umlaut  }
   { Special codes appearing in TeXH generated files }
   { Special codes appearing in TeXH generated files }
   if (code=$2c6{710}) or (Name='circ')  then E:='^' else      { Modifier Letter Circumflex Accent }
   if (code=$2c6{710}) or (Name='circ')  then E:='^' else      { Modifier Letter Circumflex Accent }
   if (code=$2dc{732}) or (Name='tilde') then E:='~' else      { Small tilde }
   if (code=$2dc{732}) or (Name='tilde') then E:='~' else      { Small tilde }

+ 4 - 4
packages/ide/whtmlhlp.pas

@@ -734,7 +734,7 @@ begin
  CanonicalizeURL:=CompleteURL(Base,relative);
  CanonicalizeURL:=CompleteURL(Base,relative);
 end;
 end;
 
 
-procedure THTMLTopicRenderer.Resolve( href: ansistring; var AFileId,ALinkId : sw_integer); 
+procedure THTMLTopicRenderer.Resolve( href: ansistring; var AFileId,ALinkId : sw_integer);
 begin
 begin
 {$IFDEF WDEBUG}
 {$IFDEF WDEBUG}
               DebugMessageS({$i %file%},' htmlresolve "'+HRef+'"',{$i %line%},'1',0,0);
               DebugMessageS({$i %file%},' htmlresolve "'+HRef+'"',{$i %line%},'1',0,0);
@@ -792,7 +792,7 @@ begin
         begin
         begin
 {$IFDEF WDEBUG}
 {$IFDEF WDEBUG}
           DebugMessage(GetFileName,' Found '+SuppressUntil+'comment "'
           DebugMessage(GetFileName,' Found '+SuppressUntil+'comment "'
-            +Comment+'" SuppressOuput reset to false',Line,1);
+            +Comment+'" SuppressOutput reset to false',Line,1);
 {$endif WDEBUG}
 {$endif WDEBUG}
           SuppressOutput:=false;
           SuppressOutput:=false;
           SuppressUntil:='';
           SuppressUntil:='';
@@ -1362,14 +1362,14 @@ begin
    CanonicalizeUrl:=relative;
    CanonicalizeUrl:=relative;
 end;
 end;
 
 
-procedure TCHMTopicRenderer.Resolve( href: ansistring; var AFileId,ALinkId : sw_integer); 
+procedure TCHMTopicRenderer.Resolve( href: ansistring; var AFileId,ALinkId : sw_integer);
 var resolved:boolean;
 var resolved:boolean;
 begin
 begin
 {$IFDEF WDEBUG}
 {$IFDEF WDEBUG}
   DebugMessageS({$i %file%},' chmresolve "'+HRef+'"',{$i %line%},'1',0,0);
   DebugMessageS({$i %file%},' chmresolve "'+HRef+'"',{$i %line%},'1',0,0);
 {$ENDIF WDEBUG}
 {$ENDIF WDEBUG}
   resolved:=false; AFileID:=0; ALinkID:=0;	
   resolved:=false; AFileID:=0; ALinkID:=0;	
-  href:=stringreplace(href,'%20',' '); 
+  href:=stringreplace(href,'%20',' ');
   if copy(href,1,7)='ms-its:' then
   if copy(href,1,7)='ms-its:' then
     resolved:=CHMResolve(Href,AFileId,ALinkID);
     resolved:=CHMResolve(Href,AFileId,ALinkID);
   if not resolved then
   if not resolved then

+ 1 - 1
packages/ide/winclip.pas

@@ -218,7 +218,7 @@ var
   M : MemPtr;
   M : MemPtr;
 {$endif DOS}
 {$endif DOS}
 {$ifdef linux}
 {$ifdef linux}
-  rez : boolean; {one variable needed to satifay compiler}
+  rez : boolean; {one variable needed to satisfy compiler}
 {$endif linux}
 {$endif linux}
 {$ifdef Windows}
 {$ifdef Windows}
   h : HGlobal;
   h : HGlobal;

+ 1 - 1
packages/ide/wnghelp.pas

@@ -394,7 +394,7 @@ begin
          AddFormatParamInt(R.SClass);
          AddFormatParamInt(R.SClass);
          AddFormatParamInt(L);
          AddFormatParamInt(L);
          AddFormatParamInt(R.Size);
          AddFormatParamInt(R.Size);
-         ErrorBox('Uknown help record tag %x encountered, '+
+         ErrorBox('Unknown help record tag %x encountered, '+
                   'offset %x, size %d',@FormatParams);
                   'offset %x, size %d',@FormatParams);
        {$else}
        {$else}
          {Skip};
          {Skip};

+ 1 - 1
packages/ide/woahelp.pas

@@ -181,7 +181,7 @@ begin
        AddFormatParamInt(R.SClass);
        AddFormatParamInt(R.SClass);
        AddFormatParamInt(L);
        AddFormatParamInt(L);
        AddFormatParamInt(R.Size);
        AddFormatParamInt(R.Size);
-       ErrorBox('Uknown help record tag %x encountered, '+
+       ErrorBox('Unknown help record tag %x encountered, '+
                 'offset %x, size %d',@FormatParams);
                 'offset %x, size %d',@FormatParams);
      {$else}
      {$else}
        {Skip};
        {Skip};

+ 1 - 1
packages/ide/wos2help.pas

@@ -84,7 +84,7 @@ type
 
 
       TINFTOCEntry = packed record
       TINFTOCEntry = packed record
         Size     : byte; { length of the entry including this byte    }
         Size     : byte; { length of the entry including this byte    }
-        Flags    : byte; { flag byte, description folows (MSB first)  }
+        Flags    : byte; { flag byte, description follows (MSB first)  }
         NumSlots : byte; { number of "slots" occupied by the text for }
         NumSlots : byte; { number of "slots" occupied by the text for }
                          { this toc entry                             }
                          { this toc entry                             }
         Slots    : record end;
         Slots    : record end;

+ 2 - 2
packages/ide/wviews.pas

@@ -151,7 +151,7 @@ type
     end;
     end;
 
 
     { Dialog that broadcasts empty space mouse clicks }
     { Dialog that broadcasts empty space mouse clicks }
-    { Needed for dialogs that contines TDropDownListBox }
+    { Needed for dialogs that contains TDropDownListBox }
     PDialogEmptyClick = ^TDialogEmptyClick;
     PDialogEmptyClick = ^TDialogEmptyClick;
     TDialogEmptyClick = object(TCenterDialog)
     TDialogEmptyClick = object(TCenterDialog)
       procedure HandleEvent(var Event: TEvent); virtual;
       procedure HandleEvent(var Event: TEvent); virtual;
@@ -2279,7 +2279,7 @@ begin
 {          ListBox^.List:=nil;}
 {          ListBox^.List:=nil;}
           InDel:=true;
           InDel:=true;
           LB:=ListBox; ListBox:=nil; { this prevents GPFs while deleting }
           LB:=ListBox; ListBox:=nil; { this prevents GPFs while deleting }
-          Owner^.Delete(LB);  { GPFs have been resoved by not calling this rotine from ListBox itself  M }
+          Owner^.Delete(LB);  { GPFs have been resolved by not calling this routine from ListBox itself  M }
           Dispose(LB, Done);
           Dispose(LB, Done);
         end;
         end;
       if SB<>nil then
       if SB<>nil then

+ 1 - 1
packages/ide/wwinhelp.pas

@@ -1444,7 +1444,7 @@ begin
           {Column:=}ReadSHORT; {-1 = end of topic}
           {Column:=}ReadSHORT; {-1 = end of topic}
           {Unknown:=}ReadSHORT; {Always0:=}ReadCHAR;
           {Unknown:=}ReadSHORT; {Always0:=}ReadCHAR;
         end;
         end;
-        {Unknown:=}ReadUCHAR; {Uknown:=}ReadCHAR;
+        {Unknown:=}ReadUCHAR; {Unknown:=}ReadCHAR;
         ID:=ReadUSHORT;
         ID:=ReadUSHORT;
         Flags:=ReadUSHORT;
         Flags:=ReadUSHORT;
         if (Flags and 1)<>0 then
         if (Flags and 1)<>0 then