summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2011-08-09 20:53:33 +0200
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2011-08-09 21:03:54 +0200
commit405d74a46ff4d337f365ce038dab19f9e5aac1b1 (patch)
treeb1e09c9c558f558326f2f53cc8c757cf907014d3 /examples
parent028dae34aa7b6e309c8c2fa4e3c4a52a1f646c6e (diff)
downloadfpGUI-405d74a46ff4d337f365ce038dab19f9e5aac1b1.tar.xz
ide: adds syntax highlighting support for {...} style comments.
Diffstat (limited to 'examples')
-rw-r--r--examples/apps/ide/src/frm_main.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/apps/ide/src/frm_main.pas b/examples/apps/ide/src/frm_main.pas
index dafd2688..43bf2322 100644
--- a/examples/apps/ide/src/frm_main.pas
+++ b/examples/apps/ide/src/frm_main.pas
@@ -146,7 +146,7 @@ const
+ '|private|public|published|type|class|unit|program|if|then|for|downto|to'
+ '|do|else|while|and|inherited|const|var|initialization|finalization)[^0-9a-zA-Z:=;\)\( ]*';
- cComments1 = '\s*\/\/.*$';
+ cComments1 = '(\s*\/\/.*$)|(\s*\{.*\})';
{@VFD_NEWFORM_IMPL}