equal
deleted
inserted
replaced
56 { |
56 { |
57 // FIXME avoid hard-wired stuff |
57 // FIXME avoid hard-wired stuff |
58 private val predefined = |
58 private val predefined = |
59 (for { |
59 (for { |
60 (name, opt) <- Isabelle.options.value.options.toList |
60 (name, opt) <- Isabelle.options.value.options.toList |
61 if (name.startsWith("color_") && opt.section == "Rendering of Document Content") |
61 if (name.endsWith("_color") && opt.section == "Rendering of Document Content") |
62 } yield Isabelle.options.make_color_component(opt)) |
62 } yield Isabelle.options.make_color_component(opt)) |
63 |
63 |
64 assert(!predefined.isEmpty) |
64 assert(!predefined.isEmpty) |
65 |
65 |
66 protected val components = Isabelle.options.make_components(predefined, _ => false) |
66 protected val components = Isabelle.options.make_components(predefined, _ => false) |