--- a/NEWS Tue May 24 11:39:26 2016 +0200
+++ b/NEWS Tue May 24 15:16:57 2016 +0200
@@ -38,6 +38,9 @@
*** Prover IDE -- Isabelle/Scala/jEdit ***
+* Cartouche abbreviations work both for " and ` to accomodate typical
+situations where old ASCII notation may be updated.
+
* IDE support for the Isabelle/Pure bootstrap process, with the
following independent stages:
--- a/src/Pure/General/completion.scala Tue May 24 11:39:26 2016 +0200
+++ b/src/Pure/General/completion.scala Tue May 24 15:16:57 2016 +0200
@@ -334,7 +334,10 @@
List("@{" -> "@{\u0007}",
"`" -> "\\<close>",
"`" -> "\\<open>",
- "`" -> "\\<open>\u0007\\<close>")
+ "`" -> "\\<open>\u0007\\<close>",
+ "\"" -> "\\<close>",
+ "\"" -> "\\<open>",
+ "\"" -> "\\<open>\u0007\\<close>")
private def default_frequency(name: String): Option[Int] =
default_abbrs.iterator.map(_._2).zipWithIndex.find(_._1 == name).map(_._2)