--- a/src/Pure/GUI/gui.scala Tue Dec 24 16:57:28 2024 +0100
+++ b/src/Pure/GUI/gui.scala Thu Dec 26 12:03:56 2024 +0100
@@ -69,14 +69,14 @@
/* named items */
- enum Style { case plain, html, symbol, symbol_decoded }
+ enum Style { case plain, html, symbol_encoded, symbol_decoded }
def make_bold(str: String, style: Style = Style.plain): String =
style match {
case Style.plain => str
case Style.html => "<b>" + HTML.output(str) + "</b>"
case _ =>
- val b = if (style == Style.symbol) Symbol.bold else Symbol.bold_decoded
+ val b = if (style == Style.symbol_encoded) Symbol.bold else Symbol.bold_decoded
Symbol.iterator(str)
.flatMap(s => if (Symbol.is_controllable(s)) List(b, s) else List(s))
.mkString