aboutsummaryrefslogtreecommitdiff
path: root/printing
diff options
context:
space:
mode:
authorThéo Zimmermann2018-01-05 12:57:56 +0100
committerThéo Zimmermann2018-01-05 15:34:23 +0100
commit3a447d83226c4591e796e44933dad8278d97d683 (patch)
tree7c6f452b7bc4900d22767d005b0b3d29f07c83fd /printing
parent2d6e395dead61a49ede6208bc40e16b4b8e68ce4 (diff)
Brackets support single numbered goal selectors.
This allows to focus on a sub-goal other than the first one without resorting to the `Focus` command.
Diffstat (limited to 'printing')
-rw-r--r--printing/ppvernac.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/printing/ppvernac.ml b/printing/ppvernac.ml
index e88284fb1c..27c46fe4e3 100644
--- a/printing/ppvernac.ml
+++ b/printing/ppvernac.ml
@@ -91,7 +91,7 @@ open Decl_kinds
let sep_end = function
| VernacBullet _
- | VernacSubproof None
+ | VernacSubproof _
| VernacEndSubproof -> str""
| _ -> str"."
@@ -1199,7 +1199,7 @@ open Decl_kinds
| VernacSubproof None ->
return (str "{")
| VernacSubproof (Some i) ->
- return (keyword "BeginSubproof" ++ spc () ++ int i)
+ return (Proof_bullet.pr_goal_selector i ++ str ":" ++ spc () ++ str "{")
| VernacEndSubproof ->
return (str "}")