45 "jedit_tooltip_font_scale", "jedit_symbols_search_limit", "jedit_tooltip_margin", |
45 "jedit_tooltip_font_scale", "jedit_symbols_search_limit", "jedit_tooltip_margin", |
46 "threads", "threads_trace", "parallel_proofs", "parallel_proofs_threshold", |
46 "threads", "threads_trace", "parallel_proofs", "parallel_proofs_threshold", |
47 "editor_load_delay", "editor_input_delay", "editor_output_delay", "editor_reparse_limit", |
47 "editor_load_delay", "editor_input_delay", "editor_output_delay", "editor_reparse_limit", |
48 "editor_tracing_limit", "editor_update_delay") |
48 "editor_tracing_limit", "editor_update_delay") |
49 |
49 |
50 relevant_options.foreach(Isabelle.options.value.check_name _) |
50 relevant_options.foreach(PIDE.options.value.check_name _) |
51 |
51 |
52 protected val components = |
52 protected val components = |
53 Isabelle.options.make_components(List(Isabelle_Logic.logic_selector(false)), relevant_options) |
53 PIDE.options.make_components(List(Isabelle_Logic.logic_selector(false)), relevant_options) |
54 } |
54 } |
55 |
55 |
56 |
56 |
57 class Isabelle_Options2 extends Isabelle_Options("isabelle-rendering") |
57 class Isabelle_Options2 extends Isabelle_Options("isabelle-rendering") |
58 { |
58 { |
59 // FIXME avoid hard-wired stuff |
59 // FIXME avoid hard-wired stuff |
60 private val predefined = |
60 private val predefined = |
61 (for { |
61 (for { |
62 (name, opt) <- Isabelle.options.value.options.toList |
62 (name, opt) <- PIDE.options.value.options.toList |
63 if (name.endsWith("_color") && opt.section == "Rendering of Document Content") |
63 if (name.endsWith("_color") && opt.section == "Rendering of Document Content") |
64 } yield Isabelle.options.make_color_component(opt)) |
64 } yield PIDE.options.make_color_component(opt)) |
65 |
65 |
66 assert(!predefined.isEmpty) |
66 assert(!predefined.isEmpty) |
67 |
67 |
68 protected val components = Isabelle.options.make_components(predefined, _ => false) |
68 protected val components = PIDE.options.make_components(predefined, _ => false) |
69 } |
69 } |
70 |
70 |