aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Aspinall2000-05-29 18:45:47 +0000
committerDavid Aspinall2000-05-29 18:45:47 +0000
commit4422665df2635a34c056b0d633c92bf71b4fe818 (patch)
tree510b38800b9c4bffa524c70c60681f700a65ab37
parent54da849036f0d3b101f2b65789ad2954175cda7a (diff)
Font lock exprs for goals buffer like those in Isabelle
-rw-r--r--isar/isar-syntax.el16
1 files changed, 16 insertions, 0 deletions
diff --git a/isar/isar-syntax.el b/isar/isar-syntax.el
index dfab37e4..e3b2a4bd 100644
--- a/isar/isar-syntax.el
+++ b/isar/isar-syntax.el
@@ -286,6 +286,22 @@
)
"*Font-lock table for Isabelle terms.")
+(defvar isar-goals-font-lock-keywords
+ (append
+ (list
+ "^theory"
+ "^proof (prove):"
+ "^proof (state):"
+ "^goal (theorem .*):"
+ "^prems:"
+ "^using this:"
+ "^goal (show):"
+ "^Variables:$"
+ "^Constants:$"
+ "\\s-*[0-9][0-9]?\\. ")
+ isar-output-font-lock-keywords-1)
+ "*Font-lock table for Isabelle/Isar output.")
+
;; ----- variations on undo