Changeset 149 for trunk/Forms/FormSourceCode.pas
- Timestamp:
- Jun 5, 2024, 9:58:43 AM (5 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/FormSourceCode.pas
r147 r149 5 5 uses 6 6 Classes, SysUtils, FileUtil, SynEdit, SynHighlighterIni, Forms, Controls, 7 Graphics, Dialogs, Menus, ActnList, 7 Graphics, Dialogs, Menus, ActnList, FormEx, 8 8 SynEditHighlighter, SynHighlighterAny, SynHighlighterJava, BFHighlighter; 9 9 … … 12 12 { TFormSourceCode } 13 13 14 TFormSourceCode = class(TForm )14 TFormSourceCode = class(TFormEx) 15 15 AGenerateText: TAction; 16 16 ACutToClipboard: TAction; … … 51 51 procedure FormDestroy(Sender: TObject); 52 52 procedure MemoSourceChange(Sender: TObject); 53 procedure MemoSourceKeyDown(Sender: TObject; var Key: Word;54 Shift: TShiftState);55 procedure MemoSourceKeyPress(Sender: TObject; var Key: char);56 53 procedure MemoSourceKeyUp(Sender: TObject; var Key: Word; Shift: TShiftState 57 54 ); … … 63 60 FOnUpdateStatusBar: TNotifyEvent; 64 61 public 65 procedure UpdateInterface;66 62 procedure UpdateTheme; 67 63 property OnUpdateStatusBar: TNotifyEvent read FOnUpdateStatusBar … … 145 141 procedure TFormSourceCode.FormCreate(Sender: TObject); 146 142 begin 147 Core.Core.Translator.TranslateComponentRecursive(Self);148 Core.Core.ThemeManager.UseTheme(Self);149 150 143 BFHighlighter := TSynBrainFuckHl.Create(nil); 151 144 SynEditSource.Highlighter := BFHighlighter; … … 156 149 SynEditSource.Highlighter := nil; 157 150 FreeAndNil(BFHighlighter); 158 end;159 160 procedure TFormSourceCode.UpdateInterface;161 begin162 151 end; 163 152 … … 189 178 end; 190 179 191 procedure TFormSourceCode.MemoSourceKeyDown(Sender: TObject; var Key: Word;192 Shift: TShiftState);193 begin194 end;195 196 procedure TFormSourceCode.MemoSourceKeyPress(Sender: TObject; var Key: char);197 begin198 end;199 200 180 procedure TFormSourceCode.MemoSourceKeyUp(Sender: TObject; var Key: Word; 201 181 Shift: TShiftState);
Note:
See TracChangeset
for help on using the changeset viewer.