瀏覽代碼

CompScint -> IDEScint.

Martijn Laan 1 年之前
父節點
當前提交
6944cb6e7c

+ 1 - 1
Projects/Compil32.dpr

@@ -37,7 +37,7 @@ uses
   IDE.ScintStylerInnoSetup in 'Src\IDE.ScintStylerInnoSetup.pas',
   IDE.ScintStylerInnoSetup in 'Src\IDE.ScintStylerInnoSetup.pas',
   ModernColors in '..\Components\ModernColors.pas',
   ModernColors in '..\Components\ModernColors.pas',
   IDE.MsgBoxDesignerForm in 'Src\IDE.MsgBoxDesignerForm.pas' {MsgBoxDesignerForm},
   IDE.MsgBoxDesignerForm in 'Src\IDE.MsgBoxDesignerForm.pas' {MsgBoxDesignerForm},
-  IDE.CompScintEdit in 'Src\IDE.CompScintEdit.pas',
+  IDE.IDEScintEdit in 'Src\IDE.IDEScintEdit.pas',
   IDE.FilesDesignerForm in 'Src\IDE.FilesDesignerForm.pas' {FilesDesignerForm},
   IDE.FilesDesignerForm in 'Src\IDE.FilesDesignerForm.pas' {FilesDesignerForm},
   IDE.Wizard.WizardFormFilesHelper in 'Src\IDE.Wizard.WizardFormFilesHelper.pas',
   IDE.Wizard.WizardFormFilesHelper in 'Src\IDE.Wizard.WizardFormFilesHelper.pas',
   NewTabSet in '..\Components\NewTabSet.pas',
   NewTabSet in '..\Components\NewTabSet.pas',

+ 1 - 1
Projects/Compil32.dproj

@@ -113,7 +113,7 @@
         <DCCReference Include="Src\IDE.MsgBoxDesignerForm.pas">
         <DCCReference Include="Src\IDE.MsgBoxDesignerForm.pas">
             <Form>MsgBoxDesignerForm</Form>
             <Form>MsgBoxDesignerForm</Form>
         </DCCReference>
         </DCCReference>
-        <DCCReference Include="Src\IDE.CompScintEdit.pas"/>
+        <DCCReference Include="Src\IDE.IDEScintEdit.pas"/>
         <DCCReference Include="Src\IDE.FilesDesignerForm.pas">
         <DCCReference Include="Src\IDE.FilesDesignerForm.pas">
             <Form>FilesDesignerForm</Form>
             <Form>FilesDesignerForm</Form>
         </DCCReference>
         </DCCReference>

+ 130 - 130
Projects/Src/IDE.CompileForm.pas

@@ -24,7 +24,7 @@ interface
 uses
 uses
   Windows, Messages, SysUtils, Classes, Contnrs, Graphics, Controls, Forms, Dialogs, CommDlg,
   Windows, Messages, SysUtils, Classes, Contnrs, Graphics, Controls, Forms, Dialogs, CommDlg,
   Generics.Collections, UIStateForm, StdCtrls, ExtCtrls, Menus, Buttons, ComCtrls, CommCtrl,
   Generics.Collections, UIStateForm, StdCtrls, ExtCtrls, Menus, Buttons, ComCtrls, CommCtrl,
-  ScintInt, ScintEdit, IDE.ScintStylerInnoSetup, NewTabSet, ModernColors, IDE.CompScintEdit,
+  ScintInt, ScintEdit, IDE.ScintStylerInnoSetup, NewTabSet, ModernColors, IDE.IDEScintEdit,
   Shared.DebugStruct, Shared.CompilerInt, NewUxTheme, ImageList, ImgList, ToolWin, IDE.HelperFunc,
   Shared.DebugStruct, Shared.CompilerInt, NewUxTheme, ImageList, ImgList, ToolWin, IDE.HelperFunc,
   VirtualImageList, BaseImageCollection, ImageCollection;
   VirtualImageList, BaseImageCollection, ImageCollection;
 
 
@@ -52,7 +52,7 @@ type
     CompilerFileIndex: Integer;
     CompilerFileIndex: Integer;
     LastWriteTime: TFileTime;
     LastWriteTime: TFileTime;
     HasLastWriteTime: Boolean;
     HasLastWriteTime: Boolean;
-    Memo: TCompScintFileEdit;
+    Memo: TIDEScintFileEdit;
   end;
   end;
 
 
   TIncludedFiles = TObjectList<TIncludedFile>;
   TIncludedFiles = TObjectList<TIncludedFile>;
@@ -380,13 +380,13 @@ type
     procedure EFindRegExClick(Sender: TObject);
     procedure EFindRegExClick(Sender: TObject);
   private
   private
     { Private declarations }
     { Private declarations }
-    FMemos: TList<TCompScintEdit>;                      { FMemos[0] is the main memo and FMemos[1] the preprocessor output memo - also see MemosTabSet comment above }
-    FMainMemo: TCompScintFileEdit;                      { Doesn't change }
-    FPreprocessorOutputMemo: TCompScintEdit;            { Doesn't change and is the only memo which isnt a TCompScint*File*Edit}
-    FFileMemos: TList<TCompScintFileEdit>;              { All memos except FPreprocessorOutputMemo, including those without a tab }
+    FMemos: TList<TIDEScintEdit>;                      { FMemos[0] is the main memo and FMemos[1] the preprocessor output memo - also see MemosTabSet comment above }
+    FMainMemo: TIDEScintFileEdit;                      { Doesn't change }
+    FPreprocessorOutputMemo: TIDEScintEdit;            { Doesn't change and is the only memo which isnt a TIDEScint*File*Edit}
+    FFileMemos: TList<TIDEScintFileEdit>;              { All memos except FPreprocessorOutputMemo, including those without a tab }
     FHiddenFiles: TStringList;                          { List of files which *do* use a memo but are hidden by the user and have no tab }
     FHiddenFiles: TStringList;                          { List of files which *do* use a memo but are hidden by the user and have no tab }
-    FActiveMemo: TCompScintEdit;                        { Changes depending on user input }
-    FErrorMemo, FStepMemo: TCompScintFileEdit;          { These change depending on user input }
+    FActiveMemo: TIDEScintEdit;                        { Changes depending on user input }
+    FErrorMemo, FStepMemo: TIDEScintFileEdit;          { These change depending on user input }
     FMemosStyler: TInnoSetupStyler;                     { Single styler for all memos }
     FMemosStyler: TInnoSetupStyler;                     { Single styler for all memos }
     FCompilerVersion: PCompilerVersionInfo;
     FCompilerVersion: PCompilerVersionInfo;
     FMRUMainFilesMenuItems: array[0..MRUListMaxCount-1] of TMenuItem;
     FMRUMainFilesMenuItems: array[0..MRUListMaxCount-1] of TMenuItem;
@@ -419,7 +419,7 @@ type
       LowPriorityDuringCompile: Boolean;
       LowPriorityDuringCompile: Boolean;
       GutterLineNumbers: Boolean;
       GutterLineNumbers: Boolean;
       KeyMappingType: TKeyMappingType;
       KeyMappingType: TKeyMappingType;
-      MemoKeyMappingType: TCompScintKeyMappingType;
+      MemoKeyMappingType: TIDEScintKeyMappingType;
       ThemeType: TThemeType;
       ThemeType: TThemeType;
       ShowPreprocessorOutput: Boolean;
       ShowPreprocessorOutput: Boolean;
       OpenIncludedFiles: Boolean;
       OpenIncludedFiles: Boolean;
@@ -477,8 +477,8 @@ type
     FMenuBitmapsSize: TSize;
     FMenuBitmapsSize: TSize;
     FMenuBitmapsSourceImageCollection: TCustomImageCollection;
     FMenuBitmapsSourceImageCollection: TCustomImageCollection;
     FSynchingZoom: Boolean;
     FSynchingZoom: Boolean;
-    FNavStacks: TCompScintEditNavStacks;
-    FCurrentNavItem: TCompScintEditNavItem;
+    FNavStacks: TIDEScintEditNavStacks;
+    FCurrentNavItem: TIDEScintEditNavItem;
     FKeyMappedMenus: TKeyMappedMenus;
     FKeyMappedMenus: TKeyMappedMenus;
     FBackNavButtonShortCut, FForwardNavButtonShortCut: TShortCut;
     FBackNavButtonShortCut, FForwardNavButtonShortCut: TShortCut;
     FBackNavButtonShortCut2, FForwardNavButtonShortCut2: TShortCut;
     FBackNavButtonShortCut2, FForwardNavButtonShortCut2: TShortCut;
@@ -491,7 +491,7 @@ type
     procedure AppOnIdle(Sender: TObject; var Done: Boolean);
     procedure AppOnIdle(Sender: TObject; var Done: Boolean);
     function AskToDetachDebugger: Boolean;
     function AskToDetachDebugger: Boolean;
     procedure BringToForeground;
     procedure BringToForeground;
-    procedure BuildAndSaveBreakPointLines(const AMemo: TCompScintFileEdit);
+    procedure BuildAndSaveBreakPointLines(const AMemo: TIDEScintFileEdit);
     procedure BuildAndSaveKnownIncludedAndHiddenFiles;
     procedure BuildAndSaveKnownIncludedAndHiddenFiles;
     procedure CheckIfTerminated;
     procedure CheckIfTerminated;
     procedure ClearMRUMainFilesList;
     procedure ClearMRUMainFilesList;
@@ -502,7 +502,7 @@ type
     procedure DebuggingStopped(const WaitForTermination: Boolean);
     procedure DebuggingStopped(const WaitForTermination: Boolean);
     procedure DebugLogMessage(const S: String);
     procedure DebugLogMessage(const S: String);
     procedure DebugShowCallStack(const CallStack: String; const CallStackCount: Cardinal);
     procedure DebugShowCallStack(const CallStack: String; const CallStackCount: Cardinal);
-    function DestroyLineState(const AMemo: TCompScintFileEdit): Boolean;
+    function DestroyLineState(const AMemo: TIDEScintFileEdit): Boolean;
     procedure DestroyDebugInfo;
     procedure DestroyDebugInfo;
     procedure DetachDebugger;
     procedure DetachDebugger;
     function EvaluateConstant(const S: String; var Output: String): Integer;
     function EvaluateConstant(const S: String; var Output: String): Integer;
@@ -517,18 +517,18 @@ type
     procedure Go(AStepMode: TStepMode);
     procedure Go(AStepMode: TStepMode);
     procedure HideError;
     procedure HideError;
     procedure InitializeFindText(Dlg: TFindDialog);
     procedure InitializeFindText(Dlg: TFindDialog);
-    function InitializeFileMemo(const Memo: TCompScintFileEdit; const PopupMenu: TPopupMenu): TCompScintFileEdit;
-    function InitializeMainMemo(const Memo: TCompScintFileEdit; const PopupMenu: TPopupMenu): TCompScintFileEdit;
-    function InitializeMemoBase(const Memo: TCompScintEdit; const PopupMenu: TPopupMenu): TCompScintEdit;
-    function InitializeNonFileMemo(const Memo: TCompScintEdit; const PopupMenu: TPopupMenu): TCompScintEdit;
-    function InitiateAutoCompleteOrCallTipAllowedAtPos(const AMemo: TCompScintEdit;
+    function InitializeFileMemo(const Memo: TIDEScintFileEdit; const PopupMenu: TPopupMenu): TIDEScintFileEdit;
+    function InitializeMainMemo(const Memo: TIDEScintFileEdit; const PopupMenu: TPopupMenu): TIDEScintFileEdit;
+    function InitializeMemoBase(const Memo: TIDEScintEdit; const PopupMenu: TPopupMenu): TIDEScintEdit;
+    function InitializeNonFileMemo(const Memo: TIDEScintEdit; const PopupMenu: TPopupMenu): TIDEScintEdit;
+    function InitiateAutoCompleteOrCallTipAllowedAtPos(const AMemo: TIDEScintEdit;
       const WordStartLinePos, PositionBeforeWordStartPos: Integer): Boolean;
       const WordStartLinePos, PositionBeforeWordStartPos: Integer): Boolean;
     procedure InitiateAutoComplete(const Key: AnsiChar);
     procedure InitiateAutoComplete(const Key: AnsiChar);
     procedure UpdateCallTipFunctionDefinition(const Pos: Integer = -1);
     procedure UpdateCallTipFunctionDefinition(const Pos: Integer = -1);
     procedure InitiateCallTip(const Key: AnsiChar);
     procedure InitiateCallTip(const Key: AnsiChar);
     procedure ContinueCallTip;
     procedure ContinueCallTip;
     procedure InvalidateStatusPanel(const Index: Integer);
     procedure InvalidateStatusPanel(const Index: Integer);
-    procedure LoadBreakPointLinesAndUpdateLineMarkers(const AMemo: TCompScintFileEdit);
+    procedure LoadBreakPointLinesAndUpdateLineMarkers(const AMemo: TIDEScintFileEdit);
     procedure LoadKnownIncludedAndHiddenFilesAndUpdateMemos(const AFilename: String);
     procedure LoadKnownIncludedAndHiddenFilesAndUpdateMemos(const AFilename: String);
     procedure MemoCallTipArrowClick(Sender: TObject; const Up: Boolean);
     procedure MemoCallTipArrowClick(Sender: TObject; const Up: Boolean);
     procedure MemoChange(Sender: TObject; const Info: TScintEditChangeInfo);
     procedure MemoChange(Sender: TObject; const Info: TScintEditChangeInfo);
@@ -537,49 +537,49 @@ type
     procedure MemoHintShow(Sender: TObject; var Info: TScintHintInfo);
     procedure MemoHintShow(Sender: TObject; var Info: TScintHintInfo);
     procedure MemoKeyDown(Sender: TObject; var Key: Word; Shift: TShiftState);
     procedure MemoKeyDown(Sender: TObject; var Key: Word; Shift: TShiftState);
     procedure MemoKeyPress(Sender: TObject; var Key: Char);
     procedure MemoKeyPress(Sender: TObject; var Key: Char);
-    procedure MemoLinesDeleted(Memo: TCompScintFileEdit; FirstLine, Count, FirstAffectedLine: Integer);
-    procedure MemoLinesInserted(Memo: TCompScintFileEdit; FirstLine, Count: integer);
+    procedure MemoLinesDeleted(Memo: TIDEScintFileEdit; FirstLine, Count, FirstAffectedLine: Integer);
+    procedure MemoLinesInserted(Memo: TIDEScintFileEdit; FirstLine, Count: integer);
     procedure MemoMarginClick(Sender: TObject; MarginNumber: Integer;
     procedure MemoMarginClick(Sender: TObject; MarginNumber: Integer;
       Line: Integer);
       Line: Integer);
     procedure MemoMarginRightClick(Sender: TObject; MarginNumber: Integer;
     procedure MemoMarginRightClick(Sender: TObject; MarginNumber: Integer;
       Line: Integer);
       Line: Integer);
     procedure MemoModifiedChange(Sender: TObject);
     procedure MemoModifiedChange(Sender: TObject);
-    function MemoToTabIndex(const AMemo: TCompScintEdit): Integer;
+    function MemoToTabIndex(const AMemo: TIDEScintEdit): Integer;
     procedure MemoUpdateUI(Sender: TObject; Updated: TScintEditUpdates);
     procedure MemoUpdateUI(Sender: TObject; Updated: TScintEditUpdates);
     procedure MemoZoom(Sender: TObject);
     procedure MemoZoom(Sender: TObject);
     procedure UpdateReopenTabMenu(const Menu: TMenuItem);
     procedure UpdateReopenTabMenu(const Menu: TMenuItem);
     procedure ModifyMRUMainFilesList(const AFilename: String; const AddNewItem: Boolean);
     procedure ModifyMRUMainFilesList(const AFilename: String; const AddNewItem: Boolean);
     procedure ModifyMRUParametersList(const AParameter: String; const AddNewItem: Boolean);
     procedure ModifyMRUParametersList(const AParameter: String; const AddNewItem: Boolean);
-    procedure MoveCaretAndActivateMemo(AMemo: TCompScintEdit; const LineNumberOrPosition: Integer;
+    procedure MoveCaretAndActivateMemo(AMemo: TIDEScintEdit; const LineNumberOrPosition: Integer;
       const AlwaysResetColumnEvenIfOnRequestedLineAlready: Boolean;
       const AlwaysResetColumnEvenIfOnRequestedLineAlready: Boolean;
       const IsPosition: Boolean = False; const PositionVirtualSpace: Integer = 0);
       const IsPosition: Boolean = False; const PositionVirtualSpace: Integer = 0);
     procedure NavItemClick(Sender: TObject);
     procedure NavItemClick(Sender: TObject);
     procedure NewMainFile;
     procedure NewMainFile;
     procedure NewMainFileUsingWizard;
     procedure NewMainFileUsingWizard;
-    procedure OpenFile(AMemo: TCompScintFileEdit; AFilename: String; const MainMemoAddToRecentDocs: Boolean);
+    procedure OpenFile(AMemo: TIDEScintFileEdit; AFilename: String; const MainMemoAddToRecentDocs: Boolean);
     procedure OpenMRUMainFile(const AFilename: String);
     procedure OpenMRUMainFile(const AFilename: String);
     procedure ParseDebugInfo(DebugInfo: Pointer);
     procedure ParseDebugInfo(DebugInfo: Pointer);
     procedure ReadMRUMainFilesList;
     procedure ReadMRUMainFilesList;
     procedure ReadMRUParametersList;
     procedure ReadMRUParametersList;
-    procedure RemoveMemoFromNav(const AMemo: TCompScintEdit);
-    procedure RemoveMemoBadLinesFromNav(const AMemo: TCompScintEdit);
+    procedure RemoveMemoFromNav(const AMemo: TIDEScintEdit);
+    procedure RemoveMemoBadLinesFromNav(const AMemo: TIDEScintEdit);
     procedure ReopenTabClick(Sender: TObject);
     procedure ReopenTabClick(Sender: TObject);
     procedure ReopenTabOrTabs(const HiddenFileIndex: Integer; const Activate: Boolean);
     procedure ReopenTabOrTabs(const HiddenFileIndex: Integer; const Activate: Boolean);
     procedure ResetAllMemosLineState;
     procedure ResetAllMemosLineState;
     procedure StartProcess;
     procedure StartProcess;
-    function SaveFile(const AMemo: TCompScintFileEdit; const SaveAs: Boolean): Boolean;
-    procedure SetErrorLine(const AMemo: TCompScintFileEdit; const ALine: Integer);
+    function SaveFile(const AMemo: TIDEScintFileEdit; const SaveAs: Boolean): Boolean;
+    procedure SetErrorLine(const AMemo: TIDEScintFileEdit; const ALine: Integer);
     procedure SetStatusPanelVisible(const AVisible: Boolean);
     procedure SetStatusPanelVisible(const AVisible: Boolean);
-    procedure SetStepLine(const AMemo: TCompScintFileEdit; ALine: Integer);
+    procedure SetStepLine(const AMemo: TIDEScintFileEdit; ALine: Integer);
     procedure ShowOpenMainFileDialog(const Examples: Boolean);
     procedure ShowOpenMainFileDialog(const Examples: Boolean);
     procedure StatusMessage(const Kind: TStatusMessageKind; const S: String);
     procedure StatusMessage(const Kind: TStatusMessageKind; const S: String);
     function StoreAndTestLastFindOptions(Sender: TObject): Boolean;
     function StoreAndTestLastFindOptions(Sender: TObject): Boolean;
     function TestLastFindOptions: Boolean;
     function TestLastFindOptions: Boolean;
     procedure SyncEditorOptions;
     procedure SyncEditorOptions;
-    function TabIndexToMemo(const ATabIndex, AMaxTabIndex: Integer): TCompScintEdit;
+    function TabIndexToMemo(const ATabIndex, AMaxTabIndex: Integer): TIDEScintEdit;
     function ToCurrentPPI(const XY: Integer): Integer;
     function ToCurrentPPI(const XY: Integer): Integer;
     procedure ToggleBreakPoint(Line: Integer);
     procedure ToggleBreakPoint(Line: Integer);
-    procedure UpdateAllMemoLineMarkers(const AMemo: TCompScintFileEdit);
+    procedure UpdateAllMemoLineMarkers(const AMemo: TIDEScintFileEdit);
     procedure UpdateAllMemosLineMarkers;
     procedure UpdateAllMemosLineMarkers;
     procedure UpdateBevel1Visibility;
     procedure UpdateBevel1Visibility;
     procedure UpdateCaption;
     procedure UpdateCaption;
@@ -588,7 +588,7 @@ type
       const ASecondsRemaining: Integer; const ABytesCompressedPerSecond: Cardinal);
       const ASecondsRemaining: Integer; const ABytesCompressedPerSecond: Cardinal);
     procedure UpdateEditModePanel;
     procedure UpdateEditModePanel;
     procedure UpdatePreprocMemos;
     procedure UpdatePreprocMemos;
-    procedure UpdateLineMarkers(const AMemo: TCompScintFileEdit; const Line: Integer);
+    procedure UpdateLineMarkers(const AMemo: TIDEScintFileEdit; const Line: Integer);
     procedure UpdateMarginsAndAutoCompleteIcons;
     procedure UpdateMarginsAndAutoCompleteIcons;
     procedure UpdateMarginsAndSquigglyAndCaretWidths;
     procedure UpdateMarginsAndSquigglyAndCaretWidths;
     procedure UpdateMemosTabSetVisibility;
     procedure UpdateMemosTabSetVisibility;
@@ -596,7 +596,7 @@ type
     procedure UpdateModifiedPanel;
     procedure UpdateModifiedPanel;
     procedure UpdateNavButtons;
     procedure UpdateNavButtons;
     procedure UpdateNewMainFileButtons;
     procedure UpdateNewMainFileButtons;
-    procedure UpdateOccurrenceIndicators(const AMemo: TCompScintEdit);
+    procedure UpdateOccurrenceIndicators(const AMemo: TIDEScintEdit);
     procedure UpdateOutputTabSetListsItemHeightAndDebugTimeWidth;
     procedure UpdateOutputTabSetListsItemHeightAndDebugTimeWidth;
     procedure UpdateRunMenu;
     procedure UpdateRunMenu;
     procedure UpdateSaveMenuItemAndButton;
     procedure UpdateSaveMenuItemAndButton;
@@ -611,7 +611,7 @@ type
     procedure WMDebuggerHello(var Message: TMessage); message WM_Debugger_Hello;
     procedure WMDebuggerHello(var Message: TMessage); message WM_Debugger_Hello;
     procedure WMDebuggerGoodbye(var Message: TMessage); message WM_Debugger_Goodbye;
     procedure WMDebuggerGoodbye(var Message: TMessage); message WM_Debugger_Goodbye;
     procedure WMDebuggerQueryVersion(var Message: TMessage); message WM_Debugger_QueryVersion;
     procedure WMDebuggerQueryVersion(var Message: TMessage); message WM_Debugger_QueryVersion;
-    procedure GetMemoAndDebugEntryFromMessage(Kind, Index: Integer; var Memo: TCompScintFileEdit;
+    procedure GetMemoAndDebugEntryFromMessage(Kind, Index: Integer; var Memo: TIDEScintFileEdit;
       var DebugEntry: PDebugEntry);
       var DebugEntry: PDebugEntry);
     procedure DebuggerStepped(var Message: TMessage; const Intermediate: Boolean);
     procedure DebuggerStepped(var Message: TMessage; const Intermediate: Boolean);
     procedure WMDebuggerStepped(var Message: TMessage); message WM_Debugger_Stepped;
     procedure WMDebuggerStepped(var Message: TMessage); message WM_Debugger_Stepped;
@@ -716,7 +716,7 @@ end;
 
 
 { TCompileForm }
 { TCompileForm }
 
 
-function TCompileForm.InitializeMemoBase(const Memo: TCompScintEdit; const PopupMenu: TPopupMenu): TCompScintEdit;
+function TCompileForm.InitializeMemoBase(const Memo: TIDEScintEdit; const PopupMenu: TPopupMenu): TIDEScintEdit;
 begin
 begin
   Memo.Align := alClient;
   Memo.Align := alClient;
   Memo.AutoCompleteFontName := Font.Name;
   Memo.AutoCompleteFontName := Font.Name;
@@ -745,7 +745,7 @@ begin
   Result := Memo;
   Result := Memo;
 end;
 end;
 
 
-function TCompileForm.InitializeFileMemo(const Memo: TCompScintFileEdit; const PopupMenu: TPopupMenu): TCompScintFileEdit;
+function TCompileForm.InitializeFileMemo(const Memo: TIDEScintFileEdit; const PopupMenu: TPopupMenu): TIDEScintFileEdit;
 begin
 begin
   InitializeMemoBase(Memo, PopupMenu);
   InitializeMemoBase(Memo, PopupMenu);
   Memo.ChangeHistory := schMarkers;
   Memo.ChangeHistory := schMarkers;
@@ -755,7 +755,7 @@ begin
   Result := Memo;
   Result := Memo;
 end;
 end;
 
 
-function TCompileForm.InitializeMainMemo(const Memo: TCompScintFileEdit; const PopupMenu: TPopupMenu): TCompScintFileEdit;
+function TCompileForm.InitializeMainMemo(const Memo: TIDEScintFileEdit; const PopupMenu: TPopupMenu): TIDEScintFileEdit;
 begin
 begin
   InitializeFileMemo(Memo, PopupMenu);
   InitializeFileMemo(Memo, PopupMenu);
   Memo.AcceptDroppedFiles := True;
   Memo.AcceptDroppedFiles := True;
@@ -765,7 +765,7 @@ begin
   Result := Memo;
   Result := Memo;
 end;
 end;
 
 
-function TCompileForm.InitializeNonFileMemo(const Memo: TCompScintEdit; const PopupMenu: TPopupMenu): TCompScintEdit;
+function TCompileForm.InitializeNonFileMemo(const Memo: TIDEScintEdit; const PopupMenu: TPopupMenu): TIDEScintEdit;
 begin
 begin
   InitializeMemoBase(Memo, PopupMenu);
   InitializeMemoBase(Memo, PopupMenu);
   Memo.ReadOnly := True;
   Memo.ReadOnly := True;
@@ -779,7 +779,7 @@ constructor TCompileForm.Create(AOwner: TComponent);
     Ini: TConfigIniFile;
     Ini: TConfigIniFile;
     WindowPlacement: TWindowPlacement;
     WindowPlacement: TWindowPlacement;
     I: Integer;
     I: Integer;
-    Memo: TCompScintEdit;
+    Memo: TIDEScintEdit;
   begin
   begin
     Ini := TConfigIniFile.Create;
     Ini := TConfigIniFile.Create;
     try
     try
@@ -819,8 +819,8 @@ constructor TCompileForm.Create(AOwner: TComponent);
       if (I >= 0) and (I <= Ord(High(TKeyMappingType))) then
       if (I >= 0) and (I <= Ord(High(TKeyMappingType))) then
         FOptions.KeyMappingType := TKeyMappingType(I);
         FOptions.KeyMappingType := TKeyMappingType(I);
       I := Ini.ReadInteger('Options', 'MemoKeyMappingType', Ord(GetDefaultMemoKeyMappingType));
       I := Ini.ReadInteger('Options', 'MemoKeyMappingType', Ord(GetDefaultMemoKeyMappingType));
-      if (I >= 0) and (I <= Ord(High(TCompScintKeyMappingType))) then
-        FOptions.MemoKeyMappingType := TCompScintKeyMappingType(I);
+      if (I >= 0) and (I <= Ord(High(TIDEScintKeyMappingType))) then
+        FOptions.MemoKeyMappingType := TIDEScintKeyMappingType(I);
       I := Ini.ReadInteger('Options', 'ThemeType', Ord(GetDefaultThemeType));
       I := Ini.ReadInteger('Options', 'ThemeType', Ord(GetDefaultThemeType));
       if (I >= 0) and (I <= Ord(High(TThemeType))) then
       if (I >= 0) and (I <= Ord(High(TThemeType))) then
         FOptions.ThemeType := TThemeType(I);
         FOptions.ThemeType := TThemeType(I);
@@ -874,7 +874,7 @@ var
   I: Integer;
   I: Integer;
   NewItem: TMenuItem;
   NewItem: TMenuItem;
   PopupMenu: TPopupMenu;
   PopupMenu: TPopupMenu;
-  Memo: TCompScintEdit;
+  Memo: TIDEScintEdit;
 begin
 begin
   inherited;
   inherited;
 
 
@@ -926,17 +926,17 @@ begin
   FTheme := TTheme.Create;
   FTheme := TTheme.Create;
   InitFormThemeInit(FTheme);
   InitFormThemeInit(FTheme);
 
 
-  FMemos := TList<TCompScintEdit>.Create;
-  FMainMemo := InitializeMainMemo(TCompScintFileEdit.Create(Self), PopupMenu);
+  FMemos := TList<TIDEScintEdit>.Create;
+  FMainMemo := InitializeMainMemo(TIDEScintFileEdit.Create(Self), PopupMenu);
   FMemos.Add(FMainMemo);
   FMemos.Add(FMainMemo);
-  FPreprocessorOutputMemo := InitializeNonFileMemo(TCompScintEdit.Create(Self), PopupMenu);
+  FPreprocessorOutputMemo := InitializeNonFileMemo(TIDEScintEdit.Create(Self), PopupMenu);
   FMemos.Add(FPreprocessorOutputMemo);
   FMemos.Add(FPreprocessorOutputMemo);
   for I := FMemos.Count to MaxMemos-1 do
   for I := FMemos.Count to MaxMemos-1 do
-    FMemos.Add(InitializeFileMemo(TCompScintFileEdit.Create(Self), PopupMenu));
-  FFileMemos := TList<TCompScintFileEdit>.Create;
+    FMemos.Add(InitializeFileMemo(TIDEScintFileEdit.Create(Self), PopupMenu));
+  FFileMemos := TList<TIDEScintFileEdit>.Create;
   for Memo in FMemos do
   for Memo in FMemos do
-    if Memo is TCompScintFileEdit then
-      FFileMemos.Add(TCompScintFileEdit(Memo));
+    if Memo is TIDEScintFileEdit then
+      FFileMemos.Add(TIDEScintFileEdit(Memo));
   FHiddenFiles := TStringList.Create(dupError, True, True);
   FHiddenFiles := TStringList.Create(dupError, True, True);
   FActiveMemo := FMainMemo;
   FActiveMemo := FMainMemo;
   FActiveMemo.Visible := True;
   FActiveMemo.Visible := True;
@@ -950,7 +950,7 @@ begin
   FFirstTabSelectShortCut := ShortCut(Ord('1'), [ssCtrl]);
   FFirstTabSelectShortCut := ShortCut(Ord('1'), [ssCtrl]);
   FLastTabSelectShortCut := ShortCut(Ord('9'), [ssCtrl]);
   FLastTabSelectShortCut := ShortCut(Ord('9'), [ssCtrl]);
 
 
-  FNavStacks := TCompScintEditNavStacks.Create;
+  FNavStacks := TIDEScintEditNavStacks.Create;
   UpdateNavButtons;
   UpdateNavButtons;
   FCurrentNavItem.Invalidate;
   FCurrentNavItem.Invalidate;
 
 
@@ -1161,7 +1161,7 @@ end;
 procedure TCompileForm.MemoKeyDown(Sender: TObject; var Key: Word;
 procedure TCompileForm.MemoKeyDown(Sender: TObject; var Key: Word;
   Shift: TShiftState);
   Shift: TShiftState);
 
 
-  procedure SimplifySelection(const AMemo: TCompScintEdit);
+  procedure SimplifySelection(const AMemo: TIDEScintEdit);
   begin
   begin
     { The built in Esc (SCI_CANCEL) simply drops all additional selections
     { The built in Esc (SCI_CANCEL) simply drops all additional selections
       and does not empty the main selection, It doesn't matter if Esc is
       and does not empty the main selection, It doesn't matter if Esc is
@@ -1174,7 +1174,7 @@ procedure TCompileForm.MemoKeyDown(Sender: TObject; var Key: Word;
     AMemo.ScrollCaretIntoView;
     AMemo.ScrollCaretIntoView;
   end;
   end;
 
 
-  procedure AddCursor(const AMemo: TCompScintEdit; const Up: Boolean);
+  procedure AddCursor(const AMemo: TIDEScintEdit; const Up: Boolean);
   begin
   begin
     { Does not try to keep the main selection. }
     { Does not try to keep the main selection. }
 
 
@@ -1286,7 +1286,7 @@ procedure TCompileForm.MemoKeyDown(Sender: TObject; var Key: Word;
 
 
 begin
 begin
   if (Key in [VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN, VK_HOME, VK_END]) then begin
   if (Key in [VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN, VK_HOME, VK_END]) then begin
-    var Memo := Sender as TCompScintEdit;
+    var Memo := Sender as TIDEScintEdit;
      { Make sure we don't break the special rectangular select shortcuts }
      { Make sure we don't break the special rectangular select shortcuts }
     if Shift * [ssShift, ssAlt, ssCtrl] <> Memo.GetRectExtendShiftState(True) then begin
     if Shift * [ssShift, ssAlt, ssCtrl] <> Memo.GetRectExtendShiftState(True) then begin
       if Memo.SelectionMode in [ssmRectangular, ssmThinRectangular] then begin
       if Memo.SelectionMode in [ssmRectangular, ssmThinRectangular] then begin
@@ -1463,7 +1463,7 @@ end;
 
 
 procedure TCompileForm.NewMainFile;
 procedure TCompileForm.NewMainFile;
 var
 var
-  Memo: TCompScintFileEdit;
+  Memo: TIDEScintFileEdit;
 begin
 begin
   HideError;
   HideError;
   FUninstExe := '';
   FUninstExe := '';
@@ -1494,7 +1494,7 @@ begin
 end;
 end;
 
 
 { Breakpoints are preserved on a per-file basis }
 { Breakpoints are preserved on a per-file basis }
-procedure TCompileForm.LoadBreakPointLinesAndUpdateLineMarkers(const AMemo: TCompScintFileEdit);
+procedure TCompileForm.LoadBreakPointLinesAndUpdateLineMarkers(const AMemo: TIDEScintFileEdit);
 begin
 begin
   if AMemo.BreakPoints.Count <> 0 then
   if AMemo.BreakPoints.Count <> 0 then
     raise Exception.Create('AMemo.BreakPoints.Count <> 0'); { NewMainFile or OpenFile should have cleared these }
     raise Exception.Create('AMemo.BreakPoints.Count <> 0'); { NewMainFile or OpenFile should have cleared these }
@@ -1527,7 +1527,7 @@ begin
   end;
   end;
 end;
 end;
 
 
-procedure TCompileForm.BuildAndSaveBreakPointLines(const AMemo: TCompScintFileEdit);
+procedure TCompileForm.BuildAndSaveBreakPointLines(const AMemo: TIDEScintFileEdit);
 begin
 begin
   try
   try
     if AMemo.FileName <> '' then begin
     if AMemo.FileName <> '' then begin
@@ -1639,7 +1639,7 @@ begin
   end;
   end;
 end;
 end;
 
 
-procedure TCompileForm.OpenFile(AMemo: TCompScintFileEdit; AFilename: String;
+procedure TCompileForm.OpenFile(AMemo: TIDEScintFileEdit; AFilename: String;
   const MainMemoAddToRecentDocs: Boolean);
   const MainMemoAddToRecentDocs: Boolean);
 
 
   function GetStreamSaveEncoding(const Stream: TStream): TSaveEncoding;
   function GetStreamSaveEncoding(const Stream: TStream): TSaveEncoding;
@@ -1735,7 +1735,7 @@ begin
   end;
   end;
 end;
 end;
 
 
-function TCompileForm.SaveFile(const AMemo: TCompScintFileEdit; const SaveAs: Boolean): Boolean;
+function TCompileForm.SaveFile(const AMemo: TIDEScintFileEdit; const SaveAs: Boolean): Boolean;
 
 
   procedure SaveMemoTo(const FN: String);
   procedure SaveMemoTo(const FN: String);
   var
   var
@@ -1813,7 +1813,7 @@ end;
 
 
 function TCompileForm.ConfirmCloseFile(const PromptToSave: Boolean): Boolean;
 function TCompileForm.ConfirmCloseFile(const PromptToSave: Boolean): Boolean;
 
 
-  function PromptToSaveMemo(const AMemo: TCompScintFileEdit): Boolean;
+  function PromptToSaveMemo(const AMemo: TIDEScintFileEdit): Boolean;
   var
   var
     FileTitle: String;
     FileTitle: String;
   begin
   begin
@@ -1832,7 +1832,7 @@ function TCompileForm.ConfirmCloseFile(const PromptToSave: Boolean): Boolean;
   end;
   end;
 
 
 var
 var
-  Memo: TCompScintFileEdit;
+  Memo: TIDEScintFileEdit;
 begin
 begin
   if FCompiling then begin
   if FCompiling then begin
     MsgBox('Please stop the compile process before performing this command.',
     MsgBox('Please stop the compile process before performing this command.',
@@ -2079,9 +2079,9 @@ end;
 
 
 procedure TCompileForm.CompileFile(AFilename: String; const ReadFromFile: Boolean);
 procedure TCompileForm.CompileFile(AFilename: String; const ReadFromFile: Boolean);
 
 
-  function GetMemoFromErrorFilename(const ErrorFilename: String): TCompScintFileEdit;
+  function GetMemoFromErrorFilename(const ErrorFilename: String): TIDEScintFileEdit;
   var
   var
-    Memo: TCompScintFileEdit;
+    Memo: TIDEScintFileEdit;
   begin
   begin
     if ErrorFilename = '' then
     if ErrorFilename = '' then
       Result := FMainMemo
       Result := FMainMemo
@@ -2104,8 +2104,8 @@ var
   AppData: TAppData;
   AppData: TAppData;
   StartTime, ElapsedTime, ElapsedSeconds: DWORD;
   StartTime, ElapsedTime, ElapsedSeconds: DWORD;
   I: Integer;
   I: Integer;
-  Memo: TCompScintFileEdit;
-  OldActiveMemo: TCompScintEdit;
+  Memo: TIDEScintFileEdit;
+  OldActiveMemo: TIDEScintEdit;
 begin
 begin
   if FCompiling then begin
   if FCompiling then begin
     { Shouldn't get here, but just in case... }
     { Shouldn't get here, but just in case... }
@@ -2278,7 +2278,7 @@ procedure TCompileForm.SyncEditorOptions;
 const
 const
   SquigglyStyles: array[Boolean] of Integer = (INDIC_HIDDEN, INDIC_SQUIGGLE);
   SquigglyStyles: array[Boolean] of Integer = (INDIC_HIDDEN, INDIC_SQUIGGLE);
 var
 var
-  Memo: TCompScintEdit;
+  Memo: TIDEScintEdit;
 begin
 begin
   for Memo in FMemos do begin
   for Memo in FMemos do begin
     Memo.UseStyleAttributes := FOptions.UseSyntaxHighlighting;
     Memo.UseStyleAttributes := FOptions.UseSyntaxHighlighting;
@@ -2339,9 +2339,9 @@ var
 begin
 begin
   FSaveMainFileAs.Enabled := FActiveMemo = FMainMemo;
   FSaveMainFileAs.Enabled := FActiveMemo = FMainMemo;
   FSaveEncoding.Enabled := FSave.Enabled; { FSave.Enabled is kept up-to-date by UpdateSaveMenuItemAndButton }
   FSaveEncoding.Enabled := FSave.Enabled; { FSave.Enabled is kept up-to-date by UpdateSaveMenuItemAndButton }
-  FSaveEncodingAuto.Checked := FSaveEncoding.Enabled and ((FActiveMemo as TCompScintFileEdit).SaveEncoding = seAuto);
-  FSaveEncodingUTF8WithBOM.Checked := FSaveEncoding.Enabled and ((FActiveMemo as TCompScintFileEdit).SaveEncoding = seUTF8WithBOM);
-  FSaveEncodingUTF8WithoutBOM.Checked := FSaveEncoding.Enabled and ((FActiveMemo as TCompScintFileEdit).SaveEncoding = seUTF8WithoutBOM);
+  FSaveEncodingAuto.Checked := FSaveEncoding.Enabled and ((FActiveMemo as TIDEScintFileEdit).SaveEncoding = seAuto);
+  FSaveEncodingUTF8WithBOM.Checked := FSaveEncoding.Enabled and ((FActiveMemo as TIDEScintFileEdit).SaveEncoding = seUTF8WithBOM);
+  FSaveEncodingUTF8WithoutBOM.Checked := FSaveEncoding.Enabled and ((FActiveMemo as TIDEScintFileEdit).SaveEncoding = seUTF8WithoutBOM);
   FSaveAll.Visible := FOptions.OpenIncludedFiles;
   FSaveAll.Visible := FOptions.OpenIncludedFiles;
   ReadMRUMainFilesList;
   ReadMRUMainFilesList;
   FRecent.Visible := FMRUMainFilesList.Count <> 0;
   FRecent.Visible := FMRUMainFilesList.Count <> 0;
@@ -2394,12 +2394,12 @@ end;
 
 
 procedure TCompileForm.FSaveClick(Sender: TObject);
 procedure TCompileForm.FSaveClick(Sender: TObject);
 begin
 begin
-  SaveFile((FActiveMemo as TCompScintFileEdit), Sender = FSaveMainFileAs);
+  SaveFile((FActiveMemo as TIDEScintFileEdit), Sender = FSaveMainFileAs);
 end;
 end;
 
 
 procedure TCompileForm.FSaveEncodingItemClick(Sender: TObject);
 procedure TCompileForm.FSaveEncodingItemClick(Sender: TObject);
 begin
 begin
-  var Memo := (FActiveMemo as TCompScintFileEdit);
+  var Memo := (FActiveMemo as TIDEScintFileEdit);
 
 
   var OldSaveEncoding := Memo.SaveEncoding;
   var OldSaveEncoding := Memo.SaveEncoding;
 
 
@@ -2416,7 +2416,7 @@ end;
 
 
 procedure TCompileForm.FSaveAllClick(Sender: TObject);
 procedure TCompileForm.FSaveAllClick(Sender: TObject);
 var
 var
-  Memo: TCompScintFileEdit;
+  Memo: TIDEScintFileEdit;
 begin
 begin
   for Memo in FFileMemos do
   for Memo in FFileMemos do
     if Memo.Used and Memo.Modified then
     if Memo.Used and Memo.Modified then
@@ -2465,8 +2465,8 @@ var
   PrintStyler: TInnoSetupStyler;
   PrintStyler: TInnoSetupStyler;
   OldStyler: TScintCustomStyler;
   OldStyler: TScintCustomStyler;
   PrintTheme, OldTheme: TTheme;
   PrintTheme, OldTheme: TTheme;
-  PrintMemo: TCompScintEdit;
-  HeaderMemo: TCompScintFileEdit;
+  PrintMemo: TIDEScintEdit;
+  HeaderMemo: TIDEScintFileEdit;
   FileTitle, S: String;
   FileTitle, S: String;
   pdlg: TPrintDlg;
   pdlg: TPrintDlg;
   hdc: Windows.HDC;
   hdc: Windows.HDC;
@@ -2484,8 +2484,8 @@ var
   sHeader, sFooter: String;
   sHeader, sFooter: String;
   pen, penOld: HPEN;
   pen, penOld: HPEN;
 begin
 begin
-  if FActiveMemo is TCompScintFileEdit then
-    HeaderMemo := TCompScintFileEdit(FActiveMemo)
+  if FActiveMemo is TIDEScintFileEdit then
+    HeaderMemo := TIDEScintFileEdit(FActiveMemo)
   else
   else
     HeaderMemo := FMainMemo;
     HeaderMemo := FMainMemo;
   sHeader := HeaderMemo.Filename;
   sHeader := HeaderMemo.Filename;
@@ -3041,7 +3041,7 @@ begin
   MemosTabSet.Hints.Delete(TabIndex);
   MemosTabSet.Hints.Delete(TabIndex);
   MemosTabSet.CloseButtons.Delete(TabIndex);
   MemosTabSet.CloseButtons.Delete(TabIndex);
 
 
-  FHiddenFiles.Add((Memo as TCompScintFileEdit).Filename);
+  FHiddenFiles.Add((Memo as TIDEScintFileEdit).Filename);
   InvalidateStatusPanel(spHiddenFilesCount);
   InvalidateStatusPanel(spHiddenFilesCount);
   BuildAndSaveKnownIncludedAndHiddenFiles;
   BuildAndSaveKnownIncludedAndHiddenFiles;
 
 
@@ -3790,9 +3790,9 @@ begin
   StatusPanel.Height := H;
   StatusPanel.Height := H;
 end;
 end;
 
 
-procedure TCompileForm.UpdateOccurrenceIndicators(const AMemo: TCompScintEdit);
+procedure TCompileForm.UpdateOccurrenceIndicators(const AMemo: TIDEScintEdit);
 
 
-  procedure FindTextAndAddRanges(const AMemo: TCompScintEdit;
+  procedure FindTextAndAddRanges(const AMemo: TIDEScintEdit;
     const TextToFind: TScintRawString; const Options: TScintFindOptions;
     const TextToFind: TScintRawString; const Options: TScintFindOptions;
     const Selections, IndicatorRanges: TScintRangeList);
     const Selections, IndicatorRanges: TScintRangeList);
   begin
   begin
@@ -4178,7 +4178,7 @@ procedure TCompileForm.TOptionsClick(Sender: TObject);
 var
 var
   OptionsForm: TOptionsForm;
   OptionsForm: TOptionsForm;
   Ini: TConfigIniFile;
   Ini: TConfigIniFile;
-  Memo: TCompScintEdit;
+  Memo: TIDEScintEdit;
 begin
 begin
   OptionsForm := TOptionsForm.Create(Application);
   OptionsForm := TOptionsForm.Create(Application);
   try
   try
@@ -4237,7 +4237,7 @@ begin
     FOptions.ShowPreprocessorOutput := OptionsForm.ShowPreprocessorOutputCheck.Checked;
     FOptions.ShowPreprocessorOutput := OptionsForm.ShowPreprocessorOutputCheck.Checked;
     FOptions.OpenIncludedFiles := OptionsForm.OpenIncludedFilesCheck.Checked;
     FOptions.OpenIncludedFiles := OptionsForm.OpenIncludedFilesCheck.Checked;
     FOptions.KeyMappingType := TKeyMappingType(OptionsForm.KeyMappingComboBox.ItemIndex);
     FOptions.KeyMappingType := TKeyMappingType(OptionsForm.KeyMappingComboBox.ItemIndex);
-    FOptions.MemoKeyMappingType := TCompScintKeyMappingType(OptionsForm.MemoKeyMappingComboBox.ItemIndex);
+    FOptions.MemoKeyMappingType := TIDEScintKeyMappingType(OptionsForm.MemoKeyMappingComboBox.ItemIndex);
     FOptions.ThemeType := TThemeType(OptionsForm.ThemeComboBox.ItemIndex);
     FOptions.ThemeType := TThemeType(OptionsForm.ThemeComboBox.ItemIndex);
     FOptions.HighlightWordAtCursorOccurrences := OptionsForm.HighlightWordAtCursorOccurrencesCheck.Checked;
     FOptions.HighlightWordAtCursorOccurrences := OptionsForm.HighlightWordAtCursorOccurrencesCheck.Checked;
     FOptions.HighlightSelTextOccurrences := OptionsForm.HighlightSelTextOccurrencesCheck.Checked;
     FOptions.HighlightSelTextOccurrences := OptionsForm.HighlightSelTextOccurrencesCheck.Checked;
@@ -4300,7 +4300,7 @@ begin
 end;
 end;
 
 
 { Also see TabIndexToMemoIndex }
 { Also see TabIndexToMemoIndex }
-function TCompileForm.MemoToTabIndex(const AMemo: TCompScintEdit): Integer;
+function TCompileForm.MemoToTabIndex(const AMemo: TIDEScintEdit): Integer;
 begin
 begin
   if AMemo = FMainMemo then
   if AMemo = FMainMemo then
     Result := 0 { First tab displays the main memo  }
     Result := 0 { First tab displays the main memo  }
@@ -4309,7 +4309,7 @@ begin
       raise Exception.Create('not FPreprocessorOutputMemo.Used');
       raise Exception.Create('not FPreprocessorOutputMemo.Used');
     Result := MemosTabSet.Tabs.Count-1 { Last tab displays the preprocessor output memo }
     Result := MemosTabSet.Tabs.Count-1 { Last tab displays the preprocessor output memo }
   end else begin
   end else begin
-    Result := FFileMemos.IndexOf(AMemo as TCompScintFileEdit); { Other tabs display include files which start second tab }
+    Result := FFileMemos.IndexOf(AMemo as TIDEScintFileEdit); { Other tabs display include files which start second tab }
 
 
    { Filter memos explicitly hidden by the user }
    { Filter memos explicitly hidden by the user }
     for var MemoIndex := Result-1 downto 0 do
     for var MemoIndex := Result-1 downto 0 do
@@ -4319,7 +4319,7 @@ begin
 end;
 end;
 
 
 { Also see MemoToTabIndex }
 { Also see MemoToTabIndex }
-function TCompileForm.TabIndexToMemo(const ATabIndex, AMaxTabIndex: Integer): TCompScintEdit;
+function TCompileForm.TabIndexToMemo(const ATabIndex, AMaxTabIndex: Integer): TIDEScintEdit;
 begin
 begin
   if ATabIndex = 0 then
   if ATabIndex = 0 then
     Result := FMemos[0] { First tab displays the main memo which is FMemos[0] }
     Result := FMemos[0] { First tab displays the main memo which is FMemos[0] }
@@ -4342,15 +4342,15 @@ begin
   end;
   end;
 end;
 end;
 
 
-procedure TCompileForm.MoveCaretAndActivateMemo(AMemo: TCompScintEdit; const LineNumberOrPosition: Integer;
+procedure TCompileForm.MoveCaretAndActivateMemo(AMemo: TIDEScintEdit; const LineNumberOrPosition: Integer;
   const AlwaysResetColumnEvenIfOnRequestedLineAlready: Boolean; const IsPosition: Boolean;
   const AlwaysResetColumnEvenIfOnRequestedLineAlready: Boolean; const IsPosition: Boolean;
   const PositionVirtualSpace: Integer);
   const PositionVirtualSpace: Integer);
 var
 var
   Pos: Integer;
   Pos: Integer;
 begin
 begin
   { Reopen tab if needed }
   { Reopen tab if needed }
-  if AMemo is TCompScintFileEdit then begin
-    var FileName := (AMemo as TCompScintFileEdit).Filename;
+  if AMemo is TIDEScintFileEdit then begin
+    var FileName := (AMemo as TIDEScintFileEdit).Filename;
     var HiddenFileIndex := FHiddenFiles.IndexOf(Filename);
     var HiddenFileIndex := FHiddenFiles.IndexOf(Filename);
     if HiddenFileIndex <> -1 then begin
     if HiddenFileIndex <> -1 then begin
       ReopenTabOrTabs(HiddenFileIndex, False);
       ReopenTabOrTabs(HiddenFileIndex, False);
@@ -4393,7 +4393,7 @@ begin
   MemosTabSet.TabIndex := MemoToTabIndex(AMemo); { This causes MemosTabSetClick to show the memo }
   MemosTabSet.TabIndex := MemoToTabIndex(AMemo); { This causes MemosTabSetClick to show the memo }
 end;
 end;
 
 
-procedure TCompileForm.SetErrorLine(const AMemo: TCompScintFileEdit; const ALine: Integer);
+procedure TCompileForm.SetErrorLine(const AMemo: TIDEScintFileEdit; const ALine: Integer);
 var
 var
   OldLine: Integer;
   OldLine: Integer;
 begin
 begin
@@ -4414,7 +4414,7 @@ begin
   end;
   end;
 end;
 end;
 
 
-procedure TCompileForm.SetStepLine(const AMemo: TCompScintFileEdit; ALine: Integer);
+procedure TCompileForm.SetStepLine(const AMemo: TIDEScintFileEdit; ALine: Integer);
 var
 var
   OldLine: Integer;
   OldLine: Integer;
 begin
 begin
@@ -4440,7 +4440,7 @@ begin
     StatusBar.Panels[spExtraStatus].Text := '';
     StatusBar.Panels[spExtraStatus].Text := '';
 end;
 end;
 
 
-procedure TCompileForm.RemoveMemoFromNav(const AMemo: TCompScintEdit);
+procedure TCompileForm.RemoveMemoFromNav(const AMemo: TIDEScintEdit);
 begin
 begin
   if FNavStacks.RemoveMemo(AMemo) then
   if FNavStacks.RemoveMemo(AMemo) then
     UpdateNavButtons;
     UpdateNavButtons;
@@ -4448,7 +4448,7 @@ begin
     FCurrentNavItem.Invalidate;
     FCurrentNavItem.Invalidate;
 end;
 end;
 
 
-procedure TCompileForm.RemoveMemoBadLinesFromNav(const AMemo: TCompScintEdit);
+procedure TCompileForm.RemoveMemoBadLinesFromNav(const AMemo: TIDEScintEdit);
 begin
 begin
   if FNavStacks.RemoveMemoBadLines(AMemo) then
   if FNavStacks.RemoveMemoBadLines(AMemo) then
     UpdateNavButtons;
     UpdateNavButtons;
@@ -4528,7 +4528,7 @@ end;
 
 
 procedure TCompileForm.NavPopupMenuClick(Sender: TObject);
 procedure TCompileForm.NavPopupMenuClick(Sender: TObject);
 
 
-  procedure AddNavItemToMenu(const NavItem: TCompScintEditNavItem; const Checked: Boolean;
+  procedure AddNavItemToMenu(const NavItem: TIDEScintEditNavItem; const Checked: Boolean;
     const ClicksNeeded: Integer; const Menu: TMenuItem);
     const ClicksNeeded: Integer; const Menu: TMenuItem);
   begin
   begin
     if NavItem.Line >= NavItem.Memo.Lines.Count then
     if NavItem.Line >= NavItem.Memo.Lines.Count then
@@ -4588,7 +4588,7 @@ begin
   StatusBar.Panels[spCaretPos].Text := Text;
   StatusBar.Panels[spCaretPos].Text := Text;
 
 
   { Update NavStacks.Back if needed and remember new position }
   { Update NavStacks.Back if needed and remember new position }
-  var NewNavItem := TCompScintEditNavItem.Create(FActiveMemo); { This is a record so no need to free }
+  var NewNavItem := TIDEScintEditNavItem.Create(FActiveMemo); { This is a record so no need to free }
   if FCurrentNavItem.Valid and FNavStacks.AddNewBackForJump(FCurrentNavItem, NewNavItem) then
   if FCurrentNavItem.Valid and FNavStacks.AddNewBackForJump(FCurrentNavItem, NewNavItem) then
     UpdateNavButtons;
     UpdateNavButtons;
   FCurrentNavItem := NewNavItem;
   FCurrentNavItem := NewNavItem;
@@ -4759,7 +4759,7 @@ end;
 
 
 procedure TCompileForm.MemoUpdateUI(Sender: TObject; Updated: TScintEditUpdates);
 procedure TCompileForm.MemoUpdateUI(Sender: TObject; Updated: TScintEditUpdates);
 
 
-  procedure UpdatePendingSquiggly(const AMemo: TCompScintEdit);
+  procedure UpdatePendingSquiggly(const AMemo: TIDEScintEdit);
   var
   var
     Pos: Integer;
     Pos: Integer;
     Value: Boolean;
     Value: Boolean;
@@ -4786,12 +4786,12 @@ procedure TCompileForm.MemoUpdateUI(Sender: TObject; Updated: TScintEditUpdates)
     FPendingSquigglyCaretPos := Pos;
     FPendingSquigglyCaretPos := Pos;
   end;
   end;
 
 
-  procedure UpdateBraceHighlighting(const AMemo: TCompScintEdit);
+  procedure UpdateBraceHighlighting(const AMemo: TIDEScintEdit);
   const
   const
     OpeningBraces: TSysCharSet = ['(', '[', '{', '<'];
     OpeningBraces: TSysCharSet = ['(', '[', '{', '<'];
     ClosingBraces: TSysCharSet = [')', ']', '}', '>'];
     ClosingBraces: TSysCharSet = [')', ']', '}', '>'];
 
 
-    function HighlightPos(const AMemo: TCompScintEdit; const CaretPos: Integer;
+    function HighlightPos(const AMemo: TIDEScintEdit; const CaretPos: Integer;
       const Before: Boolean; const Braces: TSysCharSet): Boolean;
       const Before: Boolean; const Braces: TSysCharSet): Boolean;
     begin
     begin
       var Pos := CaretPos;
       var Pos := CaretPos;
@@ -4837,7 +4837,7 @@ begin
   if Updated * [suContent, suSelection] = [] then
   if Updated * [suContent, suSelection] = [] then
     Exit;
     Exit;
 
 
-  var Memo := Sender as TCompScintEdit;
+  var Memo := Sender as TIDEScintEdit;
 
 
   if (Memo = FErrorMemo) and ((FErrorMemo.ErrorLine < 0) or (FErrorMemo.CaretPosition <> FErrorMemo.ErrorCaretPosition)) then
   if (Memo = FErrorMemo) and ((FErrorMemo.ErrorLine < 0) or (FErrorMemo.CaretPosition <> FErrorMemo.ErrorCaretPosition)) then
     HideError;
     HideError;
@@ -4873,7 +4873,7 @@ end;
 
 
 procedure TCompileForm.MemoChange(Sender: TObject; const Info: TScintEditChangeInfo);
 procedure TCompileForm.MemoChange(Sender: TObject; const Info: TScintEditChangeInfo);
 
 
-  procedure MemoLinesInsertedOrDeleted(Memo: TCompScintFileEdit);
+  procedure MemoLinesInsertedOrDeleted(Memo: TIDEScintFileEdit);
   var
   var
     FirstAffectedLine, Line, LinePos: Integer;
     FirstAffectedLine, Line, LinePos: Integer;
   begin
   begin
@@ -4893,12 +4893,12 @@ procedure TCompileForm.MemoChange(Sender: TObject; const Info: TScintEditChangeI
   end;
   end;
 
 
 var
 var
-  Memo: TCompScintFileEdit;
+  Memo: TIDEScintFileEdit;
 begin
 begin
-  if not (Sender is TCompScintFileEdit) then
+  if not (Sender is TIDEScintFileEdit) then
     Exit;
     Exit;
 
 
-  Memo := TCompScintFileEdit(Sender);
+  Memo := TIDEScintFileEdit(Sender);
 
 
   if Memo.OpeningFile then
   if Memo.OpeningFile then
     Exit;
     Exit;
@@ -4925,7 +4925,7 @@ begin
   Memo.ReportCaretPositionToStyler := True;
   Memo.ReportCaretPositionToStyler := True;
 end;
 end;
 
 
-function TCompileForm.InitiateAutoCompleteOrCallTipAllowedAtPos(const AMemo: TCompScintEdit;
+function TCompileForm.InitiateAutoCompleteOrCallTipAllowedAtPos(const AMemo: TIDEScintEdit;
   const WordStartLinePos, PositionBeforeWordStartPos: Integer): Boolean;
   const WordStartLinePos, PositionBeforeWordStartPos: Integer): Boolean;
 begin
 begin
   Result := (PositionBeforeWordStartPos < WordStartLinePos) or
   Result := (PositionBeforeWordStartPos < WordStartLinePos) or
@@ -4934,7 +4934,7 @@ end;
 
 
 procedure TCompileForm.InitiateAutoComplete(const Key: AnsiChar);
 procedure TCompileForm.InitiateAutoComplete(const Key: AnsiChar);
 
 
-  function OnlyWhiteSpaceBeforeWord(const Memo: TCompScintEdit; const LinePos, WordStartPos: Integer): Boolean;
+  function OnlyWhiteSpaceBeforeWord(const Memo: TIDEScintEdit; const LinePos, WordStartPos: Integer): Boolean;
   var
   var
     I: Integer;
     I: Integer;
     C: AnsiChar;
     C: AnsiChar;
@@ -5421,7 +5421,7 @@ begin
   Line := FActiveMemo.GetLineFromPosition(Pos);
   Line := FActiveMemo.GetLineFromPosition(Pos);
 
 
   { Check if cursor is over a [Code] variable }
   { Check if cursor is over a [Code] variable }
-  if (FActiveMemo is TCompScintFileEdit) and
+  if (FActiveMemo is TIDEScintFileEdit) and
      (FMemosStyler.GetSectionFromLineState(FActiveMemo.Lines.State[Line]) = scCode) then begin
      (FMemosStyler.GetSectionFromLineState(FActiveMemo.Lines.State[Line]) = scCode) then begin
     { Note: The '+ 1' is needed so that when the mouse is over a '.'
     { Note: The '+ 1' is needed so that when the mouse is over a '.'
       between two words, it won't match the word to the left of the '.' }
       between two words, it won't match the word to the left of the '.' }
@@ -5429,7 +5429,7 @@ begin
     I := FActiveMemo.GetWordStartPosition(Pos + 1, True);
     I := FActiveMemo.GetWordStartPosition(Pos + 1, True);
     J := FActiveMemo.GetWordEndPosition(Pos, True);
     J := FActiveMemo.GetWordEndPosition(Pos, True);
     if J > I then begin
     if J > I then begin
-      DebugEntry := GetCodeVariableDebugEntryFromFileLineCol((FActiveMemo as TCompScintFileEdit).CompilerFileIndex,
+      DebugEntry := GetCodeVariableDebugEntryFromFileLineCol((FActiveMemo as TIDEScintFileEdit).CompilerFileIndex,
         Line, GetCodeColumnFromPosition(I));
         Line, GetCodeColumnFromPosition(I));
       if DebugEntry <> nil then begin
       if DebugEntry <> nil then begin
         case EvaluateVariableEntry(DebugEntry, Output) of
         case EvaluateVariableEntry(DebugEntry, Output) of
@@ -5530,11 +5530,11 @@ begin
   DebuggingStopped(True);
   DebuggingStopped(True);
 end;
 end;
 
 
-procedure TCompileForm.GetMemoAndDebugEntryFromMessage(Kind, Index: Integer; var Memo: TCompScintFileEdit; var DebugEntry: PDebugEntry);
+procedure TCompileForm.GetMemoAndDebugEntryFromMessage(Kind, Index: Integer; var Memo: TIDEScintFileEdit; var DebugEntry: PDebugEntry);
 
 
-  function GetMemoFromDebugEntryFileIndex(const FileIndex: Integer): TCompScintFileEdit;
+  function GetMemoFromDebugEntryFileIndex(const FileIndex: Integer): TIDEScintFileEdit;
   var
   var
-    Memo: TCompScintFileEdit;
+    Memo: TIDEScintFileEdit;
   begin
   begin
     Result := nil;
     Result := nil;
     if FOptions.OpenIncludedFiles then begin
     if FOptions.OpenIncludedFiles then begin
@@ -5585,7 +5585,7 @@ end;
 
 
 procedure TCompileForm.DebuggerStepped(var Message: TMessage; const Intermediate: Boolean);
 procedure TCompileForm.DebuggerStepped(var Message: TMessage; const Intermediate: Boolean);
 var
 var
-  Memo: TCompScintFileEdit;
+  Memo: TIDEScintFileEdit;
   DebugEntry: PDebugEntry;
   DebugEntry: PDebugEntry;
   LineNumber: Integer;
   LineNumber: Integer;
 begin
 begin
@@ -5644,7 +5644,7 @@ end;
 
 
 procedure TCompileForm.WMDebuggerException(var Message: TMessage);
 procedure TCompileForm.WMDebuggerException(var Message: TMessage);
 var
 var
-  Memo: TCompScintFileEdit;
+  Memo: TIDEScintFileEdit;
   DebugEntry: PDebugEntry;
   DebugEntry: PDebugEntry;
   LineNumber: Integer;
   LineNumber: Integer;
   S: String;
   S: String;
@@ -5739,7 +5739,7 @@ begin
   end;
   end;
 end;
 end;
 
 
-function TCompileForm.DestroyLineState(const AMemo: TCompScintFileEdit): Boolean;
+function TCompileForm.DestroyLineState(const AMemo: TIDEScintFileEdit): Boolean;
 begin
 begin
   if Assigned(AMemo.LineState) then begin
   if Assigned(AMemo.LineState) then begin
     AMemo.LineStateCapacity := 0;
     AMemo.LineStateCapacity := 0;
@@ -5754,7 +5754,7 @@ end;
 procedure TCompileForm.DestroyDebugInfo;
 procedure TCompileForm.DestroyDebugInfo;
 var
 var
   HadDebugInfo: Boolean;
   HadDebugInfo: Boolean;
-  Memo: TCompScintFileEdit;
+  Memo: TIDEScintFileEdit;
 begin
 begin
   HadDebugInfo := False;
   HadDebugInfo := False;
   for Memo in FFileMemos do
   for Memo in FFileMemos do
@@ -5779,13 +5779,13 @@ end;
 
 
 var
 var
   PrevCompilerFileIndex: Integer;
   PrevCompilerFileIndex: Integer;
-  PrevMemo: TCompScintFileEdit;
+  PrevMemo: TIDEScintFileEdit;
 
 
 procedure TCompileForm.ParseDebugInfo(DebugInfo: Pointer);
 procedure TCompileForm.ParseDebugInfo(DebugInfo: Pointer);
 
 
-  function GetMemoFromCompilerFileIndex(const CompilerFileIndex: Integer): TCompScintFileEdit;
+  function GetMemoFromCompilerFileIndex(const CompilerFileIndex: Integer): TIDEScintFileEdit;
   var
   var
-    Memo: TCompScintFileEdit;
+    Memo: TIDEScintFileEdit;
   begin
   begin
     if (PrevCompilerFileIndex <> CompilerFileIndex) then begin
     if (PrevCompilerFileIndex <> CompilerFileIndex) then begin
       PrevMemo := nil;
       PrevMemo := nil;
@@ -5803,7 +5803,7 @@ procedure TCompileForm.ParseDebugInfo(DebugInfo: Pointer);
 { This creates and fills the DebugEntries and Memo LineState arrays }
 { This creates and fills the DebugEntries and Memo LineState arrays }
 var
 var
   Header: PDebugInfoHeader;
   Header: PDebugInfoHeader;
-  Memo: TCompScintFileEdit;
+  Memo: TIDEScintFileEdit;
   Size: Cardinal;
   Size: Cardinal;
   I: Integer;
   I: Integer;
 begin
 begin
@@ -5866,7 +5866,7 @@ end;
 procedure TCompileForm.ResetAllMemosLineState;
 procedure TCompileForm.ResetAllMemosLineState;
 { Changes green dots back to grey dots }
 { Changes green dots back to grey dots }
 var
 var
-  Memo: TCompScintFileEdit;
+  Memo: TIDEScintFileEdit;
   I: Integer;
   I: Integer;
 begin
 begin
   for Memo in FFileMemos do begin
   for Memo in FFileMemos do begin
@@ -5997,7 +5997,7 @@ end;
 
 
 procedure TCompileForm.BreakPointsPopupMenuClick(Sender: TObject);
 procedure TCompileForm.BreakPointsPopupMenuClick(Sender: TObject);
 begin
 begin
-  RToggleBreakPoint2.Enabled := FActiveMemo is TCompScintFileEdit;
+  RToggleBreakPoint2.Enabled := FActiveMemo is TIDEScintFileEdit;
   RDeleteBreakPoints2.Enabled := AnyMemoHasBreakPoint;
   RDeleteBreakPoints2.Enabled := AnyMemoHasBreakPoint;
   { Also see UpdateRunMenu }
   { Also see UpdateRunMenu }
 
 
@@ -6015,11 +6015,11 @@ begin
   RunButton.Enabled := RRun.Enabled;
   RunButton.Enabled := RRun.Enabled;
   RPause.Enabled := FDebugging and not FPaused;
   RPause.Enabled := FDebugging and not FPaused;
   PauseButton.Enabled := RPause.Enabled;
   PauseButton.Enabled := RPause.Enabled;
-  RRunToCursor.Enabled := RRun.Enabled and (FActiveMemo is TCompScintFileEdit);
+  RRunToCursor.Enabled := RRun.Enabled and (FActiveMemo is TIDEScintFileEdit);
   RStepInto.Enabled := RRun.Enabled;
   RStepInto.Enabled := RRun.Enabled;
   RStepOver.Enabled := RRun.Enabled;
   RStepOver.Enabled := RRun.Enabled;
   RStepOut.Enabled := FPaused;
   RStepOut.Enabled := FPaused;
-  RToggleBreakPoint.Enabled := FActiveMemo is TCompScintFileEdit;
+  RToggleBreakPoint.Enabled := FActiveMemo is TIDEScintFileEdit;
   RTerminate.Enabled := FDebugging and (FDebugClientWnd <> 0);
   RTerminate.Enabled := FDebugging and (FDebugClientWnd <> 0);
   TerminateButton.Enabled := RTerminate.Enabled;
   TerminateButton.Enabled := RTerminate.Enabled;
   REvaluate.Enabled := FDebugging and (FDebugClientWnd <> 0);
   REvaluate.Enabled := FDebugging and (FDebugClientWnd <> 0);
@@ -6028,7 +6028,7 @@ end;
 
 
 procedure TCompileForm.UpdateSaveMenuItemAndButton;
 procedure TCompileForm.UpdateSaveMenuItemAndButton;
 begin
 begin
-  FSave.Enabled := FActiveMemo is TCompScintFileEdit;
+  FSave.Enabled := FActiveMemo is TIDEScintFileEdit;
   SaveButton.Enabled := FSave.Enabled;
   SaveButton.Enabled := FSave.Enabled;
 end;
 end;
 
 
@@ -6612,7 +6612,7 @@ end;
 
 
 procedure TCompileForm.RRunToCursorClick(Sender: TObject);
 procedure TCompileForm.RRunToCursorClick(Sender: TObject);
 
 
-  function GetDebugEntryFromMemoAndLineNumber(Memo: TCompScintFileEdit; LineNumber: Integer;
+  function GetDebugEntryFromMemoAndLineNumber(Memo: TIDEScintFileEdit; LineNumber: Integer;
     var DebugEntry: TDebugEntry): Boolean;
     var DebugEntry: TDebugEntry): Boolean;
   var
   var
     I: Integer;
     I: Integer;
@@ -6630,7 +6630,7 @@ procedure TCompileForm.RRunToCursorClick(Sender: TObject);
 
 
 begin
 begin
   CompileIfNecessary;
   CompileIfNecessary;
-  if not GetDebugEntryFromMemoAndLineNumber((FActiveMemo as TCompScintFileEdit), FActiveMemo.CaretLine, FRunToCursorPoint) then begin
+  if not GetDebugEntryFromMemoAndLineNumber((FActiveMemo as TIDEScintFileEdit), FActiveMemo.CaretLine, FRunToCursorPoint) then begin
     MsgBox('No code was generated for the current line.', SCompilerFormCaption,
     MsgBox('No code was generated for the current line.', SCompilerFormCaption,
       mbError, MB_OK);
       mbError, MB_OK);
     Exit;
     Exit;
@@ -7058,7 +7058,7 @@ const
       'also been made in the source editor.' + SNewLine2 + 'Do you want to ' +
       'also been made in the source editor.' + SNewLine2 + 'Do you want to ' +
       'reload the file and lose the changes made in the source editor?');
       'reload the file and lose the changes made in the source editor?');
 var
 var
-  Memo: TCompScintFileEdit;
+  Memo: TIDEScintFileEdit;
   NewTime: TFileTime;
   NewTime: TFileTime;
   Changed: Boolean;
   Changed: Boolean;
 begin
 begin
@@ -7159,7 +7159,7 @@ end;
 procedure TCompileForm.FindResultsListDblClick(Sender: TObject);
 procedure TCompileForm.FindResultsListDblClick(Sender: TObject);
 var
 var
   FindResult: TFindResult;
   FindResult: TFindResult;
-  Memo: TCompScintFileEdit;
+  Memo: TIDEScintFileEdit;
   I: Integer;
   I: Integer;
 begin
 begin
   I := FindResultsList.ItemIndex;
   I := FindResultsList.ItemIndex;
@@ -7263,10 +7263,10 @@ end;
 
 
 procedure TCompileForm.ToggleBreakPoint(Line: Integer);
 procedure TCompileForm.ToggleBreakPoint(Line: Integer);
 var
 var
-  Memo: TCompScintFileEdit;
+  Memo: TIDEScintFileEdit;
   I: Integer;
   I: Integer;
 begin
 begin
-  Memo := FActiveMemo as TCompScintFileEdit;
+  Memo := FActiveMemo as TIDEScintFileEdit;
   I := Memo.BreakPoints.IndexOf(Line);
   I := Memo.BreakPoints.IndexOf(Line);
   if I = -1 then
   if I = -1 then
     Memo.BreakPoints.Add(Line)
     Memo.BreakPoints.Add(Line)
@@ -7317,7 +7317,7 @@ begin
   end;
   end;
 end;
 end;
 
 
-procedure TCompileForm.MemoLinesInserted(Memo: TCompScintFileEdit; FirstLine, Count: integer);
+procedure TCompileForm.MemoLinesInserted(Memo: TIDEScintFileEdit; FirstLine, Count: integer);
 var
 var
   I, Line: Integer;
   I, Line: Integer;
 begin
 begin
@@ -7362,7 +7362,7 @@ begin
   FNavStacks.LinesInserted(Memo, FirstLine, Count);
   FNavStacks.LinesInserted(Memo, FirstLine, Count);
 end;
 end;
 
 
-procedure TCompileForm.MemoLinesDeleted(Memo: TCompScintFileEdit; FirstLine, Count,
+procedure TCompileForm.MemoLinesDeleted(Memo: TIDEScintFileEdit; FirstLine, Count,
   FirstAffectedLine: Integer);
   FirstAffectedLine: Integer);
 var
 var
   I, Line: Integer;
   I, Line: Integer;
@@ -7437,7 +7437,7 @@ begin
   UpdateLineMarkers(Memo, FirstAffectedLine);
   UpdateLineMarkers(Memo, FirstAffectedLine);
 end;
 end;
 
 
-procedure TCompileForm.UpdateLineMarkers(const AMemo: TCompScintFileEdit; const Line: Integer);
+procedure TCompileForm.UpdateLineMarkers(const AMemo: TIDEScintFileEdit; const Line: Integer);
 var
 var
   NewMarker: Integer;
   NewMarker: Integer;
 begin
 begin
@@ -7481,7 +7481,7 @@ begin
     AMemo.AddMarker(Line, mlmBreakpointBad);
     AMemo.AddMarker(Line, mlmBreakpointBad);
 end;
 end;
 
 
-procedure TCompileForm.UpdateAllMemoLineMarkers(const AMemo: TCompScintFileEdit);
+procedure TCompileForm.UpdateAllMemoLineMarkers(const AMemo: TIDEScintFileEdit);
 begin
 begin
   for var Line := 0 to AMemo.Lines.Count-1 do
   for var Line := 0 to AMemo.Lines.Count-1 do
     UpdateLineMarkers(AMemo, Line);
     UpdateLineMarkers(AMemo, Line);

+ 3 - 3
Projects/Src/IDE.HelperFunc.pas

@@ -14,7 +14,7 @@ interface
 uses
 uses
   Windows,
   Windows,
   Classes, Forms, Dialogs, Menus, Controls, StdCtrls,
   Classes, Forms, Dialogs, Menus, Controls, StdCtrls,
-  ScintEdit, IDE.CompScintEdit, ModernColors;
+  ScintEdit, IDE.IDEScintEdit, ModernColors;
 
 
 const
 const
   MRUListMaxCount = 10;
   MRUListMaxCount = 10;
@@ -43,7 +43,7 @@ function IsWindows10: Boolean;
 function IsWindows11: Boolean;
 function IsWindows11: Boolean;
 function GetDefaultThemeType: TThemeType;
 function GetDefaultThemeType: TThemeType;
 function GetDefaultKeyMappingType: TKeyMappingType;
 function GetDefaultKeyMappingType: TKeyMappingType;
-function GetDefaultMemoKeyMappingType: TCompScintKeyMappingType;
+function GetDefaultMemoKeyMappingType: TIDEScintKeyMappingType;
 procedure OpenDonateSite;
 procedure OpenDonateSite;
 procedure OpenMailingListSite;
 procedure OpenMailingListSite;
 procedure ClearMRUList(const MRUList: TStringList; const Section: String);
 procedure ClearMRUList(const MRUList: TStringList; const Section: String);
@@ -284,7 +284,7 @@ begin
   Result := kmtDelphi;
   Result := kmtDelphi;
 end;
 end;
 
 
-function GetDefaultMemoKeyMappingType: TCompScintKeyMappingType;
+function GetDefaultMemoKeyMappingType: TIDEScintKeyMappingType;
 begin
 begin
   Result := kmtDefault;
   Result := kmtDefault;
 end;
 end;

+ 91 - 91
Projects/Src/IDE.CompScintEdit.pas → Projects/Src/IDE.IDEScintEdit.pas

@@ -1,4 +1,4 @@
-unit IDE.CompScintEdit;
+unit IDE.IDEScintEdit;
 
 
 {
 {
   Inno Setup
   Inno Setup
@@ -55,38 +55,38 @@ type
   PLineStateArray = ^TLineStateArray;
   PLineStateArray = ^TLineStateArray;
   TLineStateArray = array[0..0] of TLineState;
   TLineStateArray = array[0..0] of TLineState;
   TSaveEncoding = (seAuto, seUTF8WithBOM, seUTF8WithoutBOM);
   TSaveEncoding = (seAuto, seUTF8WithBOM, seUTF8WithoutBOM);
-  TCompScintIndicatorNumber = 0..minMax;
+  TIDEScintIndicatorNumber = 0..minMax;
 
 
  { Keymaps - Note: Scintilla's default keymap is the same or at least nearly
  { Keymaps - Note: Scintilla's default keymap is the same or at least nearly
    the same as Visual Studio's }
    the same as Visual Studio's }
-  TCompScintKeyMappingType = (kmtDefault, kmtVSCode);
+  TIDEScintKeyMappingType = (kmtDefault, kmtVSCode);
 
 
  { Commands which require more than 1 parameterless SCI_XXXXX and need help
  { Commands which require more than 1 parameterless SCI_XXXXX and need help
    from the container }
    from the container }
-  TCompScintComplexCommand = (ccNone, ccSelectNextOccurrence,
+  TIDEScintComplexCommand = (ccNone, ccSelectNextOccurrence,
     ccSelectAllOccurrences, ccSelectAllFindMatches, ccSimplifySelection,
     ccSelectAllOccurrences, ccSelectAllFindMatches, ccSimplifySelection,
     ccUnfoldLine, ccFoldLine, ccToggleLinesComment, ccAddCursorUp,
     ccUnfoldLine, ccFoldLine, ccToggleLinesComment, ccAddCursorUp,
     ccAddCursorDown, ccBraceMatch);
     ccAddCursorDown, ccBraceMatch);
 
 
-  TCompScintEdit = class(TScintEdit)
+  TIDEScintEdit = class(TScintEdit)
   private
   private
     type
     type
-      TCompScintComplexCommands = TDictionary<TShortCut, TCompScintComplexCommand>;
-      TCompScintComplexCommandsReversed = TDictionary<TCompScintComplexCommand, TShortCut>;
+      TIDEScintComplexCommands = TDictionary<TShortCut, TIDEScintComplexCommand>;
+      TIDEScintComplexCommandsReversed = TDictionary<TIDEScintComplexCommand, TShortCut>;
     var
     var
-      FKeyMappingType: TCompScintKeyMappingType;
-      FComplexCommands: TCompScintComplexCommands;
-      FComplexCommandsReversed: TCompScintComplexCommandsReversed;
+      FKeyMappingType: TIDEScintKeyMappingType;
+      FComplexCommands: TIDEScintComplexCommands;
+      FComplexCommandsReversed: TIDEScintComplexCommandsReversed;
       FUseFolding: Boolean;
       FUseFolding: Boolean;
       FTheme: TTheme;
       FTheme: TTheme;
       FOpeningFile: Boolean;
       FOpeningFile: Boolean;
       FUsed: Boolean; { The IDE only shows 1 memo at a time so can't use .Visible to check if a memo is used }
       FUsed: Boolean; { The IDE only shows 1 memo at a time so can't use .Visible to check if a memo is used }
-      FIndicatorCount: array[TCompScintIndicatorNumber] of Integer;
-      FIndicatorHash: array[TCompScintIndicatorNumber] of String;
+      FIndicatorCount: array[TIDEScintIndicatorNumber] of Integer;
+      FIndicatorHash: array[TIDEScintIndicatorNumber] of String;
       procedure AddComplexCommand(const ShortCut: TShortCut;
       procedure AddComplexCommand(const ShortCut: TShortCut;
-        Command: TCompScintComplexCommand; const AlternativeShortCut: Boolean = False);
+        Command: TIDEScintComplexCommand; const AlternativeShortCut: Boolean = False);
       procedure SetUseFolding(const Value: Boolean);
       procedure SetUseFolding(const Value: Boolean);
-      procedure SetKeyMappingType(const Value: TCompScintKeyMappingType);
+      procedure SetKeyMappingType(const Value: TIDEScintKeyMappingType);
       procedure UpdateComplexCommands;
       procedure UpdateComplexCommands;
   protected
   protected
     procedure CreateWnd; override;
     procedure CreateWnd; override;
@@ -96,21 +96,21 @@ type
     property Theme: TTheme read FTheme write FTheme;
     property Theme: TTheme read FTheme write FTheme;
     property OpeningFile: Boolean read FOpeningFile write FOpeningFile;
     property OpeningFile: Boolean read FOpeningFile write FOpeningFile;
     property Used: Boolean read FUsed write FUsed;
     property Used: Boolean read FUsed write FUsed;
-    function GetComplexCommand(const ShortCut: TShortCut): TCompScintComplexCommand;
-    function GetComplexCommandShortCut(const Command: TCompScintComplexCommand): TShortCut;
+    function GetComplexCommand(const ShortCut: TShortCut): TIDEScintComplexCommand;
+    function GetComplexCommandShortCut(const Command: TIDEScintComplexCommand): TShortCut;
     function GetRectExtendShiftState(const Desired: Boolean): TShiftState;
     function GetRectExtendShiftState(const Desired: Boolean): TShiftState;
     procedure UpdateIndicators(const Ranges: TScintRangeList;
     procedure UpdateIndicators(const Ranges: TScintRangeList;
-      const IndicatorNumber: TCompScintIndicatorNumber);
+      const IndicatorNumber: TIDEScintIndicatorNumber);
     procedure UpdateMarginsAndSquigglyAndCaretWidths(const IconMarkersWidth,
     procedure UpdateMarginsAndSquigglyAndCaretWidths(const IconMarkersWidth,
       BaseChangeHistoryWidth, BaseFolderMarkersWidth, LeftBlankMarginWidth,
       BaseChangeHistoryWidth, BaseFolderMarkersWidth, LeftBlankMarginWidth,
       RightBlankMarginWidth, SquigglyWidth, CaretWidth: Integer);
       RightBlankMarginWidth, SquigglyWidth, CaretWidth: Integer);
     procedure UpdateThemeColorsAndStyleAttributes;
     procedure UpdateThemeColorsAndStyleAttributes;
   published
   published
-    property KeyMappingType: TCompScintKeyMappingType read FKeyMappingType write SetKeyMappingType default kmtDefault;
+    property KeyMappingType: TIDEScintKeyMappingType read FKeyMappingType write SetKeyMappingType default kmtDefault;
     property UseFolding: Boolean read FUseFolding write SetUseFolding default True;
     property UseFolding: Boolean read FUseFolding write SetUseFolding default True;
   end;
   end;
 
 
-  TCompScintFileEdit = class(TCompScintEdit)
+  TIDEScintFileEdit = class(TIDEScintEdit)
   private
   private
     FBreakPoints: TList<Integer>;
     FBreakPoints: TList<Integer>;
     FCompilerFileIndex: Integer;
     FCompilerFileIndex: Integer;
@@ -131,41 +131,41 @@ type
     property SaveEncoding: TSaveEncoding read FSaveEncoding write FSaveEncoding;
     property SaveEncoding: TSaveEncoding read FSaveEncoding write FSaveEncoding;
   end;
   end;
 
 
-  TCompScintEditNavItem = record
-    Memo: TCompScintEdit;
+  TIDEScintEditNavItem = record
+    Memo: TIDEScintEdit;
     Line, Column, VirtualSpace: Integer;
     Line, Column, VirtualSpace: Integer;
-    constructor Create(const AMemo: TCompScintEdit);
-    function EqualMemoAndLine(const ANavItem: TCompScintEditNavItem): Boolean;
+    constructor Create(const AMemo: TIDEScintEdit);
+    function EqualMemoAndLine(const ANavItem: TIDEScintEditNavItem): Boolean;
     procedure Invalidate;
     procedure Invalidate;
     function Valid: Boolean;
     function Valid: Boolean;
   end;
   end;
 
 
   { Not using TStack since it lacks a way the keep a maximum amount of items by discarding the oldest }
   { Not using TStack since it lacks a way the keep a maximum amount of items by discarding the oldest }
-  TCompScintEditNavStack = class(TList<TCompScintEditNavItem>)
+  TIDEScintEditNavStack = class(TList<TIDEScintEditNavItem>)
   public
   public
-    function LinesDeleted(const AMemo: TCompScintEdit; const FirstLine, LineCount: Integer): Boolean;
-    procedure LinesInserted(const AMemo: TCompScintEdit; const FirstLine, LineCount: Integer);
+    function LinesDeleted(const AMemo: TIDEScintEdit; const FirstLine, LineCount: Integer): Boolean;
+    procedure LinesInserted(const AMemo: TIDEScintEdit; const FirstLine, LineCount: Integer);
     procedure Optimize;
     procedure Optimize;
-    function RemoveMemo(const AMemo: TCompScintEdit): Boolean;
-    function RemoveMemoBadLines(const AMemo: TCompScintEdit): Boolean;
+    function RemoveMemo(const AMemo: TIDEScintEdit): Boolean;
+    function RemoveMemoBadLines(const AMemo: TIDEScintEdit): Boolean;
   end;
   end;
 
 
-  TCompScintEditNavStacks = class
+  TIDEScintEditNavStacks = class
   private
   private
-    FBackNavStack: TCompScintEditNavStack;
-    FForwardNavStack: TCompScintEditNavStack;
+    FBackNavStack: TIDEScintEditNavStack;
+    FForwardNavStack: TIDEScintEditNavStack;
   public
   public
     constructor Create;
     constructor Create;
     destructor Destroy; override;
     destructor Destroy; override;
-    function AddNewBackForJump(const OldNavItem, NewNavItem: TCompScintEditNavItem): Boolean;
+    function AddNewBackForJump(const OldNavItem, NewNavItem: TIDEScintEditNavItem): Boolean;
     procedure Clear;
     procedure Clear;
     procedure Limit;
     procedure Limit;
-    function LinesDeleted(const AMemo: TCompScintEdit; const FirstLine, LineCount: Integer): Boolean;
-    procedure LinesInserted(const AMemo: TCompScintEdit; const FirstLine, LineCount: Integer);
-    function RemoveMemo(const AMemo: TCompScintEdit): Boolean;
-    function RemoveMemoBadLines(const AMemo: TCompScintEdit): Boolean;
-    property Back: TCompScintEditNavStack read FBackNavStack;
-    property Forward: TCompScintEditNavStack read FForwardNavStack;
+    function LinesDeleted(const AMemo: TIDEScintEdit; const FirstLine, LineCount: Integer): Boolean;
+    procedure LinesInserted(const AMemo: TIDEScintEdit; const FirstLine, LineCount: Integer);
+    function RemoveMemo(const AMemo: TIDEScintEdit): Boolean;
+    function RemoveMemoBadLines(const AMemo: TIDEScintEdit): Boolean;
+    property Back: TIDEScintEditNavStack read FBackNavStack;
+    property Forward: TIDEScintEditNavStack read FForwardNavStack;
   end;
   end;
 
 
 implementation
 implementation
@@ -173,21 +173,21 @@ implementation
 uses
 uses
   SysUtils, MD5, ScintInt.InnoSetup;
   SysUtils, MD5, ScintInt.InnoSetup;
   
   
-{ TCompScintEdit }
+{ TIDEScintEdit }
 
 
-constructor TCompScintEdit.Create(AOwner: TComponent);
+constructor TIDEScintEdit.Create(AOwner: TComponent);
 begin
 begin
   inherited;
   inherited;
 
 
-  FComplexCommands := TCompScintComplexCommands.Create;
-  FComplexCommandsReversed := TCompScintComplexCommandsReversed.Create;
+  FComplexCommands := TIDEScintComplexCommands.Create;
+  FComplexCommandsReversed := TIDEScintComplexCommandsReversed.Create;
 
 
   FKeyMappingType := kmtDefault;
   FKeyMappingType := kmtDefault;
   UpdateComplexCommands;
   UpdateComplexCommands;
   FUseFolding := True;
   FUseFolding := True;
 end;
 end;
 
 
-destructor TCompScintEdit.Destroy;
+destructor TIDEScintEdit.Destroy;
 begin
 begin
   FComplexCommandsReversed.Free;
   FComplexCommandsReversed.Free;
   FComplexCommands.Free;
   FComplexCommands.Free;
@@ -195,7 +195,7 @@ begin
   inherited;
   inherited;
 end;
 end;
 
 
-procedure TCompScintEdit.CreateWnd;
+procedure TIDEScintEdit.CreateWnd;
 begin
 begin
   inherited;
   inherited;
 
 
@@ -295,8 +295,8 @@ begin
   Call(SCI_MARKERSETBACK, mlmStep, clBlue); { May be overwritten by UpdateThemeColorsAndStyleAttributes }
   Call(SCI_MARKERSETBACK, mlmStep, clBlue); { May be overwritten by UpdateThemeColorsAndStyleAttributes }
 end;
 end;
 
 
-procedure TCompScintEdit.AddComplexCommand(const ShortCut: TShortCut;
-  Command: TCompScintComplexCommand; const AlternativeShortCut: Boolean);
+procedure TIDEScintEdit.AddComplexCommand(const ShortCut: TShortCut;
+  Command: TIDEScintComplexCommand; const AlternativeShortCut: Boolean);
 begin
 begin
   if Command = ccNone then
   if Command = ccNone then
     raise Exception.Create('Command = ccNone');
     raise Exception.Create('Command = ccNone');
@@ -305,21 +305,21 @@ begin
     FComplexCommandsReversed.Add(Command, ShortCut);
     FComplexCommandsReversed.Add(Command, ShortCut);
 end;
 end;
 
 
-function TCompScintEdit.GetComplexCommand(
-  const ShortCut: TShortCut): TCompScintComplexCommand;
+function TIDEScintEdit.GetComplexCommand(
+  const ShortCut: TShortCut): TIDEScintComplexCommand;
 begin
 begin
   if not FComplexCommands.TryGetValue(ShortCut, Result) or
   if not FComplexCommands.TryGetValue(ShortCut, Result) or
      (ReadOnly and (Result = ccToggleLinesComment)) then
      (ReadOnly and (Result = ccToggleLinesComment)) then
     Result := ccNone;
     Result := ccNone;
 end;
 end;
 
 
-function TCompScintEdit.GetComplexCommandShortCut(
-  const Command: TCompScintComplexCommand): TShortCut;
+function TIDEScintEdit.GetComplexCommandShortCut(
+  const Command: TIDEScintComplexCommand): TShortCut;
 begin
 begin
   Result := FComplexCommandsReversed[Command];
   Result := FComplexCommandsReversed[Command];
 end;
 end;
 
 
-function TCompScintEdit.GetRectExtendShiftState(
+function TIDEScintEdit.GetRectExtendShiftState(
   const Desired: Boolean): TShiftState;
   const Desired: Boolean): TShiftState;
 begin
 begin
   Result := [ssShift, ssAlt];
   Result := [ssShift, ssAlt];
@@ -328,8 +328,8 @@ begin
     Include(Result, ssCtrl);
     Include(Result, ssCtrl);
 end;
 end;
 
 
-procedure TCompScintEdit.SetKeyMappingType(
-  const Value: TCompScintKeyMappingType);
+procedure TIDEScintEdit.SetKeyMappingType(
+  const Value: TIDEScintKeyMappingType);
 begin
 begin
   if FKeyMappingType <> Value then begin
   if FKeyMappingType <> Value then begin
     FKeyMappingType := Value;
     FKeyMappingType := Value;
@@ -350,7 +350,7 @@ begin
   end;
   end;
 end;
 end;
 
 
-procedure TCompScintEdit.UpdateComplexCommands;
+procedure TIDEScintEdit.UpdateComplexCommands;
 begin
 begin
   FComplexCommands.Clear;
   FComplexCommands.Clear;
   FComplexCommandsReversed.Clear;
   FComplexCommandsReversed.Clear;
@@ -381,7 +381,7 @@ begin
   AddComplexCommand(ShortCut(VK_OEM_5, [ssShift, ssCtrl]), ccBraceMatch);
   AddComplexCommand(ShortCut(VK_OEM_5, [ssShift, ssCtrl]), ccBraceMatch);
 end;
 end;
 
 
-procedure TCompScintEdit.SetUseFolding(const Value: Boolean);
+procedure TIDEScintEdit.SetUseFolding(const Value: Boolean);
 begin
 begin
   if FUseFolding <> Value then begin
   if FUseFolding <> Value then begin
     FUseFolding := Value;
     FUseFolding := Value;
@@ -394,8 +394,8 @@ begin
   end;
   end;
 end;
 end;
 
 
-procedure TCompScintEdit.UpdateIndicators(const Ranges: TScintRangeList;
-  const IndicatorNumber: TCompScintIndicatorNumber);
+procedure TIDEScintEdit.UpdateIndicators(const Ranges: TScintRangeList;
+  const IndicatorNumber: TIDEScintIndicatorNumber);
 
 
   function HashRanges(const Ranges: TScintRangeList): String;
   function HashRanges(const Ranges: TScintRangeList): String;
   begin
   begin
@@ -434,7 +434,7 @@ begin
   end;
   end;
 end;
 end;
 
 
-procedure TCompScintEdit.UpdateMarginsAndSquigglyAndCaretWidths(const IconMarkersWidth,
+procedure TIDEScintEdit.UpdateMarginsAndSquigglyAndCaretWidths(const IconMarkersWidth,
   BaseChangeHistoryWidth, BaseFolderMarkersWidth, LeftBlankMarginWidth,
   BaseChangeHistoryWidth, BaseFolderMarkersWidth, LeftBlankMarginWidth,
   RightBlankMarginWidth, SquigglyWidth, CaretWidth: Integer);
   RightBlankMarginWidth, SquigglyWidth, CaretWidth: Integer);
 begin
 begin
@@ -463,7 +463,7 @@ begin
   Call(SCI_SETCARETWIDTH, CaretWidth, 0);
   Call(SCI_SETCARETWIDTH, CaretWidth, 0);
 end;
 end;
 
 
-procedure TCompScintEdit.UpdateThemeColorsAndStyleAttributes;
+procedure TIDEScintEdit.UpdateThemeColorsAndStyleAttributes;
 begin
 begin
   if FTheme <> nil then begin { Always True at the moment }
   if FTheme <> nil then begin { Always True at the moment }
     Font.Color := FTheme.Colors[tcFore];
     Font.Color := FTheme.Colors[tcFore];
@@ -511,23 +511,23 @@ begin
   UpdateStyleAttributes;
   UpdateStyleAttributes;
 end;
 end;
 
 
-{ TCompScintFileEdit }
+{ TIDEScintFileEdit }
 
 
-constructor TCompScintFileEdit.Create;
+constructor TIDEScintFileEdit.Create;
 begin
 begin
   inherited;
   inherited;
   FBreakPoints := TList<Integer>.Create;
   FBreakPoints := TList<Integer>.Create;
 end;
 end;
 
 
-destructor TCompScintFileEdit.Destroy;
+destructor TIDEScintFileEdit.Destroy;
 begin
 begin
   FBreakPoints.Free;
   FBreakPoints.Free;
   inherited;
   inherited;
 end;
 end;
 
 
-{ TCompScintEditNavItem }
+{ TIDEScintEditNavItem }
 
 
-constructor TCompScintEditNavItem.Create(const AMemo: TCompScintEdit);
+constructor TIDEScintEditNavItem.Create(const AMemo: TIDEScintEdit);
 begin
 begin
   Memo := AMemo;
   Memo := AMemo;
   Line := AMemo.CaretLine;
   Line := AMemo.CaretLine;
@@ -535,25 +535,25 @@ begin
   VirtualSpace := AMemo.CaretVirtualSpace;
   VirtualSpace := AMemo.CaretVirtualSpace;
 end;
 end;
 
 
-function TCompScintEditNavItem.EqualMemoAndLine(
-  const ANavItem: TCompScintEditNavItem): Boolean;
+function TIDEScintEditNavItem.EqualMemoAndLine(
+  const ANavItem: TIDEScintEditNavItem): Boolean;
 begin
 begin
   Result := (Memo = ANavItem.Memo) and (Line = ANavItem.Line);
   Result := (Memo = ANavItem.Memo) and (Line = ANavItem.Line);
 end;
 end;
 
 
-procedure TCompScintEditNavItem.Invalidate;
+procedure TIDEScintEditNavItem.Invalidate;
 begin
 begin
   Memo := nil;
   Memo := nil;
 end;
 end;
 
 
-function TCompScintEditNavItem.Valid: Boolean;
+function TIDEScintEditNavItem.Valid: Boolean;
 begin
 begin
   Result := (Memo <> nil) and (Line < Memo.Lines.Count); { Line check: see MemoLinesDeleted and RemoveMemoBadLinesFromNav }
   Result := (Memo <> nil) and (Line < Memo.Lines.Count); { Line check: see MemoLinesDeleted and RemoveMemoBadLinesFromNav }
 end;
 end;
 
 
-{ TCompScintEditNavStack }
+{ TIDEScintEditNavStack }
 
 
-function TCompScintEditNavStack.LinesDeleted(const AMemo: TCompScintEdit;
+function TIDEScintEditNavStack.LinesDeleted(const AMemo: TIDEScintEdit;
   const FirstLine, LineCount: Integer): Boolean;
   const FirstLine, LineCount: Integer): Boolean;
 begin
 begin
   Result := False;
   Result := False;
@@ -576,7 +576,7 @@ begin
     Optimize;
     Optimize;
 end;
 end;
 
 
-procedure TCompScintEditNavStack.LinesInserted(const AMemo: TCompScintEdit;
+procedure TIDEScintEditNavStack.LinesInserted(const AMemo: TIDEScintEdit;
   const FirstLine, LineCount: Integer);
   const FirstLine, LineCount: Integer);
 begin
 begin
   for var I := 0 to Count-1 do begin
   for var I := 0 to Count-1 do begin
@@ -591,7 +591,7 @@ begin
   end;
   end;
 end;
 end;
 
 
-procedure TCompScintEditNavStack.Optimize;
+procedure TIDEScintEditNavStack.Optimize;
 begin
 begin
   { Turn two entries for the same memo and line which are next to each other
   { Turn two entries for the same memo and line which are next to each other
     into one entry, ignoring column differences (like Visual Studio 2022)
     into one entry, ignoring column differences (like Visual Studio 2022)
@@ -602,8 +602,8 @@ begin
       Delete(I);
       Delete(I);
 end;
 end;
 
 
-function TCompScintEditNavStack.RemoveMemo(
-  const AMemo: TCompScintEdit): Boolean;
+function TIDEScintEditNavStack.RemoveMemo(
+  const AMemo: TIDEScintEdit): Boolean;
 begin
 begin
   Result := False;
   Result := False;
   for var I := Count-1 downto 0 do begin
   for var I := Count-1 downto 0 do begin
@@ -616,8 +616,8 @@ begin
     Optimize;
     Optimize;
 end;
 end;
 
 
-function TCompScintEditNavStack.RemoveMemoBadLines(
-  const AMemo: TCompScintEdit): Boolean;
+function TIDEScintEditNavStack.RemoveMemoBadLines(
+  const AMemo: TIDEScintEdit): Boolean;
 begin
 begin
   Result := False;
   Result := False;
   var LastGoodLine := AMemo.Lines.Count-1;
   var LastGoodLine := AMemo.Lines.Count-1;
@@ -631,24 +631,24 @@ begin
     Optimize;
     Optimize;
 end;
 end;
 
 
-{ TCompScintEditNavStacks }
+{ TIDEScintEditNavStacks }
 
 
-constructor TCompScintEditNavStacks.Create;
+constructor TIDEScintEditNavStacks.Create;
 begin
 begin
   inherited;
   inherited;
-  FBackNavStack := TCompScintEditNavStack.Create;
-  FForwardNavStack := TCompScintEditNavStack.Create;
+  FBackNavStack := TIDEScintEditNavStack.Create;
+  FForwardNavStack := TIDEScintEditNavStack.Create;
 end;
 end;
 
 
-destructor TCompScintEditNavStacks.Destroy;
+destructor TIDEScintEditNavStacks.Destroy;
 begin
 begin
   FForwardNavStack.Free;
   FForwardNavStack.Free;
   FBackNavStack.Free;
   FBackNavStack.Free;
   inherited;
   inherited;
 end;
 end;
 
 
-function TCompScintEditNavStacks.AddNewBackForJump(const OldNavItem,
-  NewNavItem: TCompScintEditNavItem): Boolean;
+function TIDEScintEditNavStacks.AddNewBackForJump(const OldNavItem,
+  NewNavItem: TIDEScintEditNavItem): Boolean;
 begin
 begin
   { Want a new item when changing tabs or moving at least 11 lines at once,
   { Want a new item when changing tabs or moving at least 11 lines at once,
     similar to Visual Studio 2022, see:
     similar to Visual Studio 2022, see:
@@ -662,13 +662,13 @@ begin
   end;
   end;
 end;
 end;
 
 
-procedure TCompScintEditNavStacks.Clear;
+procedure TIDEScintEditNavStacks.Clear;
 begin
 begin
   FBackNavStack.Clear;
   FBackNavStack.Clear;
   FForwardNavStack.Clear;
   FForwardNavStack.Clear;
 end;
 end;
 
 
-procedure TCompScintEditNavStacks.Limit;
+procedure TIDEScintEditNavStacks.Limit;
 begin
 begin
   { The dropdown showing both stacks + the current nav item should show at most
   { The dropdown showing both stacks + the current nav item should show at most
     16 items just like Visual Studio 2022 }
     16 items just like Visual Studio 2022 }
@@ -676,29 +676,29 @@ begin
     FBackNavStack.Delete(0);
     FBackNavStack.Delete(0);
 end;
 end;
 
 
-function TCompScintEditNavStacks.LinesDeleted(const AMemo: TCompScintEdit;
+function TIDEScintEditNavStacks.LinesDeleted(const AMemo: TIDEScintEdit;
   const FirstLine, LineCount: Integer): Boolean;
   const FirstLine, LineCount: Integer): Boolean;
 begin
 begin
   Result := FBackNavStack.LinesDeleted(AMemo, FirstLine, LineCount);
   Result := FBackNavStack.LinesDeleted(AMemo, FirstLine, LineCount);
   Result := FForwardNavStack.LinesDeleted(AMemo, FirstLine, LineCount) or Result;
   Result := FForwardNavStack.LinesDeleted(AMemo, FirstLine, LineCount) or Result;
 end;
 end;
 
 
-procedure TCompScintEditNavStacks.LinesInserted(const AMemo: TCompScintEdit;
+procedure TIDEScintEditNavStacks.LinesInserted(const AMemo: TIDEScintEdit;
   const FirstLine, LineCount: Integer);
   const FirstLine, LineCount: Integer);
 begin
 begin
   FBackNavStack.LinesInserted(AMemo, FirstLine, LineCount);
   FBackNavStack.LinesInserted(AMemo, FirstLine, LineCount);
   FForwardNavStack.LinesInserted(AMemo, FirstLine, LineCount);
   FForwardNavStack.LinesInserted(AMemo, FirstLine, LineCount);
 end;
 end;
 
 
-function TCompScintEditNavStacks.RemoveMemo(
-  const AMemo: TCompScintEdit): Boolean;
+function TIDEScintEditNavStacks.RemoveMemo(
+  const AMemo: TIDEScintEdit): Boolean;
 begin
 begin
   Result := FBackNavStack.RemoveMemo(AMemo);
   Result := FBackNavStack.RemoveMemo(AMemo);
   Result := FForwardNavStack.RemoveMemo(AMemo) or Result;
   Result := FForwardNavStack.RemoveMemo(AMemo) or Result;
 end;
 end;
 
 
-function TCompScintEditNavStacks.RemoveMemoBadLines(
-  const AMemo: TCompScintEdit): Boolean;
+function TIDEScintEditNavStacks.RemoveMemoBadLines(
+  const AMemo: TIDEScintEdit): Boolean;
 begin
 begin
   Result := FBackNavStack.RemoveMemoBadLines(AMemo);
   Result := FBackNavStack.RemoveMemoBadLines(AMemo);
   Result := FForwardNavStack.RemoveMemoBadLines(AMemo) or Result;
   Result := FForwardNavStack.RemoveMemoBadLines(AMemo) or Result;

+ 1 - 1
Projects/Src/IDE.OptionsForm.pas

@@ -82,7 +82,7 @@ begin
   KeyMappingComboBox.Items.Add('Classic');
   KeyMappingComboBox.Items.Add('Classic');
   KeyMappingComboBox.Items.Add('Visual Studio / Visual Studio Code');
   KeyMappingComboBox.Items.Add('Visual Studio / Visual Studio Code');
 
 
-  { Order must match TCompScintKeyMappingType }
+  { Order must match TIDEScintKeyMappingType }
   MemoKeyMappingComboBox.Items.Add('Classic / Visual Studio');
   MemoKeyMappingComboBox.Items.Add('Classic / Visual Studio');
   MemoKeyMappingComboBox.Items.Add('Visual Studio Code');
   MemoKeyMappingComboBox.Items.Add('Visual Studio Code');