diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/apps/ide/src/frm_main.pas | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/apps/ide/src/frm_main.pas b/examples/apps/ide/src/frm_main.pas index 08f4ddae..b643bd02 100644 --- a/examples/apps/ide/src/frm_main.pas +++ b/examples/apps/ide/src/frm_main.pas @@ -611,7 +611,8 @@ begin if gINI.ReadBool(cEditor, 'SyntaxHighlighting', True) then begin ext := fpgExtractFileExt(AFilename); - if (ext = '.pas') or (ext = '.pp') or (ext = '.inc') then + if (ext = '.pas') or (ext = '.pp') or (ext = '.inc') or (ext = '.lpr') + or (ext = '.dpr') then TfpgTextEdit(ts.Components[0]).OnDrawLine := @TextEditDrawLine; end; ts.Realign; |