| author | wenzelm | 
| Wed, 06 Dec 2023 21:28:12 +0100 | |
| changeset 79158 | 3c7ab17380a8 | 
| parent 77612 | 3e235fab64db | 
| child 82547 | cbeef60a8435 | 
| permissions | -rw-r--r-- | 
| 
49245
 
cb70157293c0
manage Isabelle/jEdit options as Isabelle/Scala options (with persistent preferences);
 
wenzelm 
parents:  
diff
changeset
 | 
1  | 
(* :mode=isabelle-options: *)  | 
| 
 
cb70157293c0
manage Isabelle/jEdit options as Isabelle/Scala options (with persistent preferences);
 
wenzelm 
parents:  
diff
changeset
 | 
2  | 
|
| 
52065
 
78f2475aa126
explicit notion of public options, which are shown in the editor options dialog;
 
wenzelm 
parents: 
51574 
diff
changeset
 | 
3  | 
public option jedit_logic : string = ""  | 
| 
76578
 
06b001094ddb
more uniform session selectors, with persistent options;
 
wenzelm 
parents: 
73872 
diff
changeset
 | 
4  | 
-- "logic session name (change requires restart)"  | 
| 
49245
 
cb70157293c0
manage Isabelle/jEdit options as Isabelle/Scala options (with persistent preferences);
 
wenzelm 
parents:  
diff
changeset
 | 
5  | 
|
| 54881 | 6  | 
public option jedit_print_mode : string = ""  | 
7  | 
-- "default print modes for output, separated by commas (change requires restart)"  | 
|
8  | 
||
| 
61139
 
f9fd43d8981d
disable jedit_auto_resolve (again) -- too confusing;
 
wenzelm 
parents: 
61023 
diff
changeset
 | 
9  | 
public option jedit_auto_resolve : bool = false  | 
| 
64835
 
fd1efd6dd385
resolve dependencies implicitly via File_Model, without jEdit Buffer_Model;
 
wenzelm 
parents: 
63474 
diff
changeset
 | 
10  | 
-- "automatically resolve auxiliary files within the document model"  | 
| 
60916
 
a6e2a667b0a8
resolve undefined blobs by default, e.g. relevant for ML debugger to avoid reset of breakpoints after reload;
 
wenzelm 
parents: 
60914 
diff
changeset
 | 
11  | 
|
| 53161 | 12  | 
public option jedit_reset_font_size : int = 18  | 
| 
59286
 
ac74eedb910a
GUI.imitate_font: more explicit result size, e.g. relevant for caching;
 
wenzelm 
parents: 
59203 
diff
changeset
 | 
13  | 
-- "reset main text font size"  | 
| 53161 | 14  | 
|
| 
52065
 
78f2475aa126
explicit notion of public options, which are shown in the editor options dialog;
 
wenzelm 
parents: 
51574 
diff
changeset
 | 
15  | 
public option jedit_font_scale : real = 1.0  | 
| 
59286
 
ac74eedb910a
GUI.imitate_font: more explicit result size, e.g. relevant for caching;
 
wenzelm 
parents: 
59203 
diff
changeset
 | 
16  | 
-- "scale factor of add-on panels wrt. main text font"  | 
| 
49245
 
cb70157293c0
manage Isabelle/jEdit options as Isabelle/Scala options (with persistent preferences);
 
wenzelm 
parents:  
diff
changeset
 | 
17  | 
|
| 
53229
 
6ce8328d7912
explicit "hidden" operation with focus management;
 
wenzelm 
parents: 
53161 
diff
changeset
 | 
18  | 
public option jedit_popup_font_scale : real = 0.85  | 
| 
59286
 
ac74eedb910a
GUI.imitate_font: more explicit result size, e.g. relevant for caching;
 
wenzelm 
parents: 
59203 
diff
changeset
 | 
19  | 
-- "scale factor of popups wrt. main text font"  | 
| 
53229
 
6ce8328d7912
explicit "hidden" operation with focus management;
 
wenzelm 
parents: 
53161 
diff
changeset
 | 
20  | 
|
| 53230 | 21  | 
public option jedit_popup_bounds : real = 0.5  | 
22  | 
-- "relative bounds of popup window wrt. logical screen size"  | 
|
23  | 
||
| 
52065
 
78f2475aa126
explicit notion of public options, which are shown in the editor options dialog;
 
wenzelm 
parents: 
51574 
diff
changeset
 | 
24  | 
public option jedit_tooltip_delay : real = 0.75  | 
| 53273 | 25  | 
-- "open/close delay for document tooltips (seconds)"  | 
| 
51441
 
37f699750430
more elementary tooltips via mouse events (imitating parts of javax.swing.ToolTipManager) -- avoid abuse of getToolTipText to produce window as side-effect;
 
wenzelm 
parents: 
51071 
diff
changeset
 | 
26  | 
|
| 
52065
 
78f2475aa126
explicit notion of public options, which are shown in the editor options dialog;
 
wenzelm 
parents: 
51574 
diff
changeset
 | 
27  | 
public option jedit_tooltip_margin : int = 60  | 
| 49250 | 28  | 
-- "margin for tooltip pretty-printing"  | 
| 
49245
 
cb70157293c0
manage Isabelle/jEdit options as Isabelle/Scala options (with persistent preferences);
 
wenzelm 
parents:  
diff
changeset
 | 
29  | 
|
| 58750 | 30  | 
public option jedit_structure_limit : int = 1000  | 
31  | 
-- "maximum number of lines to scan for language structure"  | 
|
32  | 
||
| 
52065
 
78f2475aa126
explicit notion of public options, which are shown in the editor options dialog;
 
wenzelm 
parents: 
51574 
diff
changeset
 | 
33  | 
public option jedit_symbols_search_limit : int = 50  | 
| 50190 | 34  | 
-- "maximum number of symbols in search result"  | 
35  | 
||
| 
52065
 
78f2475aa126
explicit notion of public options, which are shown in the editor options dialog;
 
wenzelm 
parents: 
51574 
diff
changeset
 | 
36  | 
public option jedit_timing_threshold : real = 0.1  | 
| 62792 | 37  | 
-- "default threshold for timing display (seconds)"  | 
| 51533 | 38  | 
|
| 
69775
 
5a8ae7a4b7d0
added option jedit_text_overview for visual appearance (not performance, see also 72216713733a);
 
wenzelm 
parents: 
69320 
diff
changeset
 | 
39  | 
public option jedit_text_overview : bool = true  | 
| 
 
5a8ae7a4b7d0
added option jedit_text_overview for visual appearance (not performance, see also 72216713733a);
 
wenzelm 
parents: 
69320 
diff
changeset
 | 
40  | 
-- "paint text overview column"  | 
| 
 
5a8ae7a4b7d0
added option jedit_text_overview for visual appearance (not performance, see also 72216713733a);
 
wenzelm 
parents: 
69320 
diff
changeset
 | 
41  | 
|
| 
72927
 
69f768aff611
clarified caret focus modifier, depending on option "jedit_focus_modifier";
 
wenzelm 
parents: 
70072 
diff
changeset
 | 
42  | 
public option jedit_focus_modifier : string = "CS"  | 
| 
 
69f768aff611
clarified caret focus modifier, depending on option "jedit_focus_modifier";
 
wenzelm 
parents: 
70072 
diff
changeset
 | 
43  | 
-- "keyboard modifier to enable entity focus regardless of def visibility"  | 
| 
 
69f768aff611
clarified caret focus modifier, depending on option "jedit_focus_modifier";
 
wenzelm 
parents: 
70072 
diff
changeset
 | 
44  | 
|
| 73049 | 45  | 
public option jedit_toggle_full_screen : bool = false  | 
46  | 
-- "use original jEdit action toggle-full-screen instead of Isabelle/jEdit variant"  | 
|
47  | 
||
| 70072 | 48  | 
public option isabelle_fonts_hinted : bool = true  | 
49  | 
-- "use hinted Isabelle DejaVu fonts (change requires restart)"  | 
|
50  | 
||
| 53294 | 51  | 
|
| 
63455
 
019856db2bb6
added action "isabelle.newline" (shortcut ENTER);
 
wenzelm 
parents: 
63347 
diff
changeset
 | 
52  | 
section "Indentation"  | 
| 
 
019856db2bb6
added action "isabelle.newline" (shortcut ENTER);
 
wenzelm 
parents: 
63347 
diff
changeset
 | 
53  | 
|
| 66180 | 54  | 
public option jedit_indent_input : bool = true  | 
55  | 
-- "indentation of Isabelle keywords after input (typed character or completion)"  | 
|
56  | 
||
| 
63455
 
019856db2bb6
added action "isabelle.newline" (shortcut ENTER);
 
wenzelm 
parents: 
63347 
diff
changeset
 | 
57  | 
public option jedit_indent_newline : bool = true  | 
| 
 
019856db2bb6
added action "isabelle.newline" (shortcut ENTER);
 
wenzelm 
parents: 
63347 
diff
changeset
 | 
58  | 
-- "indentation of Isabelle keywords on ENTER (action isabelle.newline)"  | 
| 
 
019856db2bb6
added action "isabelle.newline" (shortcut ENTER);
 
wenzelm 
parents: 
63347 
diff
changeset
 | 
59  | 
|
| 
63474
 
f66e3c3b0fb1
semantic indentation for unstructured proof scripts;
 
wenzelm 
parents: 
63455 
diff
changeset
 | 
60  | 
public option jedit_indent_script : bool = true  | 
| 
 
f66e3c3b0fb1
semantic indentation for unstructured proof scripts;
 
wenzelm 
parents: 
63455 
diff
changeset
 | 
61  | 
  -- "indent unstructured proof script ('apply' etc.) via number of subgoals"
 | 
| 
 
f66e3c3b0fb1
semantic indentation for unstructured proof scripts;
 
wenzelm 
parents: 
63455 
diff
changeset
 | 
62  | 
|
| 
 
f66e3c3b0fb1
semantic indentation for unstructured proof scripts;
 
wenzelm 
parents: 
63455 
diff
changeset
 | 
63  | 
public option jedit_indent_script_limit : int = 20  | 
| 
 
f66e3c3b0fb1
semantic indentation for unstructured proof scripts;
 
wenzelm 
parents: 
63455 
diff
changeset
 | 
64  | 
  -- "maximum indentation of unstructured proof script ('apply' etc.)"
 | 
| 
 
f66e3c3b0fb1
semantic indentation for unstructured proof scripts;
 
wenzelm 
parents: 
63455 
diff
changeset
 | 
65  | 
|
| 
63455
 
019856db2bb6
added action "isabelle.newline" (shortcut ENTER);
 
wenzelm 
parents: 
63347 
diff
changeset
 | 
66  | 
|
| 53294 | 67  | 
section "Completion"  | 
68  | 
||
| 53273 | 69  | 
public option jedit_completion : bool = true  | 
70  | 
-- "enable completion popup"  | 
|
71  | 
||
| 
57833
 
2c2bae3da1c2
completion popup supports both ENTER and TAB (default);
 
wenzelm 
parents: 
57425 
diff
changeset
 | 
72  | 
public option jedit_completion_select_enter : bool = false  | 
| 
 
2c2bae3da1c2
completion popup supports both ENTER and TAB (default);
 
wenzelm 
parents: 
57425 
diff
changeset
 | 
73  | 
-- "select completion item via ENTER"  | 
| 
 
2c2bae3da1c2
completion popup supports both ENTER and TAB (default);
 
wenzelm 
parents: 
57425 
diff
changeset
 | 
74  | 
|
| 
 
2c2bae3da1c2
completion popup supports both ENTER and TAB (default);
 
wenzelm 
parents: 
57425 
diff
changeset
 | 
75  | 
public option jedit_completion_select_tab : bool = true  | 
| 
 
2c2bae3da1c2
completion popup supports both ENTER and TAB (default);
 
wenzelm 
parents: 
57425 
diff
changeset
 | 
76  | 
-- "select completion item via TAB"  | 
| 
 
2c2bae3da1c2
completion popup supports both ENTER and TAB (default);
 
wenzelm 
parents: 
57425 
diff
changeset
 | 
77  | 
|
| 
56842
 
b6e266574b26
yet another completion option, to imitate old less ambitious behavior;
 
wenzelm 
parents: 
56597 
diff
changeset
 | 
78  | 
public option jedit_completion_context : bool = true  | 
| 
 
b6e266574b26
yet another completion option, to imitate old less ambitious behavior;
 
wenzelm 
parents: 
56597 
diff
changeset
 | 
79  | 
-- "use semantic language context for completion"  | 
| 
 
b6e266574b26
yet another completion option, to imitate old less ambitious behavior;
 
wenzelm 
parents: 
56597 
diff
changeset
 | 
80  | 
|
| 
56170
 
638b29331549
allow implicit semantic completion, notably after delay that exceeds usual round-trip time;
 
wenzelm 
parents: 
56064 
diff
changeset
 | 
81  | 
public option jedit_completion_delay : real = 0.5  | 
| 53273 | 82  | 
-- "delay for completion popup (seconds)"  | 
83  | 
||
| 
57425
 
625a369b4f32
jedit_completion_immediate is enabled by default: let all users participate in slightly more ambitious symbol insertion;
 
wenzelm 
parents: 
56883 
diff
changeset
 | 
84  | 
public option jedit_completion_immediate : bool = true  | 
| 
56326
 
c3d7b3bb2708
immediate completion even with delay, which is the default according to 638b29331549;
 
wenzelm 
parents: 
56202 
diff
changeset
 | 
85  | 
-- "insert uniquely completed abbreviation immediately into buffer"  | 
| 
53292
 
f567c1c7b180
option to insert unique completion immediately into buffer;
 
wenzelm 
parents: 
53273 
diff
changeset
 | 
86  | 
|
| 49294 | 87  | 
|
| 49296 | 88  | 
section "Rendering of Document Content"  | 
| 49294 | 89  | 
|
| 77612 | 90  | 
option outdated_color : string = "EEE3E3FF" for color_dialog  | 
91  | 
option unprocessed_color : string = "FFA0A0FF" for color_dialog  | 
|
92  | 
option unprocessed1_color : string = "FFA0A032" for color_dialog  | 
|
93  | 
option running_color : string = "610061FF" for color_dialog  | 
|
94  | 
option running1_color : string = "61006164" for color_dialog  | 
|
95  | 
option bullet_color : string = "000000FF" for color_dialog  | 
|
96  | 
option tooltip_color : string = "FFFFE9FF" for color_dialog  | 
|
97  | 
option writeln_color : string = "C0C0C0FF" for color_dialog  | 
|
98  | 
option information_color : string = "C1DFEEFF" for color_dialog  | 
|
99  | 
option warning_color : string = "FF8C00FF" for color_dialog  | 
|
100  | 
option legacy_color : string = "FF8C00FF" for color_dialog  | 
|
101  | 
option error_color : string = "B22222FF" for color_dialog  | 
|
102  | 
option ok_color : string = "000000FF" for color_dialog  | 
|
103  | 
option failed_color : string = "B22222FF" for color_dialog  | 
|
104  | 
option writeln_message_color : string = "F0F0F0FF" for color_dialog  | 
|
105  | 
option information_message_color : string = "DCEAF3FF" for color_dialog  | 
|
106  | 
option tracing_message_color : string = "F0F8FFFF" for color_dialog  | 
|
107  | 
option warning_message_color : string = "EEE8AAFF" for color_dialog  | 
|
108  | 
option legacy_message_color : string = "EEE8AAFF" for color_dialog  | 
|
109  | 
option error_message_color : string = "FFC1C1FF" for color_dialog  | 
|
110  | 
option spell_checker_color : string = "0000FFFF" for color_dialog  | 
|
111  | 
option bad_color : string = "FF6A6A64" for color_dialog  | 
|
112  | 
option canceled_color : string = "FF6A6A64" for color_dialog  | 
|
113  | 
option intensify_color : string = "FFCC6664" for color_dialog  | 
|
114  | 
option entity_color : string = "CCD9FF80" for color_dialog  | 
|
115  | 
option entity_ref_color : string = "800080FF" for color_dialog  | 
|
116  | 
option breakpoint_disabled_color : string = "CCCC0080" for color_dialog  | 
|
117  | 
option breakpoint_enabled_color : string = "FF9966FF" for color_dialog  | 
|
118  | 
option quoted_color : string = "8B8B8B19" for color_dialog  | 
|
119  | 
option antiquoted_color : string = "FFC83219" for color_dialog  | 
|
120  | 
option antiquote_color : string = "6600CCFF" for color_dialog  | 
|
121  | 
option raw_text_color : string = "6600CCFF" for color_dialog  | 
|
122  | 
option plain_text_color : string = "CC6600FF" for color_dialog  | 
|
123  | 
option highlight_color : string = "50505032" for color_dialog  | 
|
124  | 
option hyperlink_color : string = "000000FF" for color_dialog  | 
|
125  | 
option active_color : string = "DCDCDCFF" for color_dialog  | 
|
126  | 
option active_hover_color : string = "9DC75DFF" for color_dialog  | 
|
127  | 
option active_result_color : string = "999966FF" for color_dialog  | 
|
128  | 
option keyword1_color : string = "006699FF" for color_dialog  | 
|
129  | 
option keyword2_color : string = "009966FF" for color_dialog  | 
|
130  | 
option keyword3_color : string = "0099FFFF" for color_dialog  | 
|
131  | 
option quasi_keyword_color : string = "9966FFFF" for color_dialog  | 
|
132  | 
option improper_color : string = "FF5050FF" for color_dialog  | 
|
133  | 
option operator_color : string = "323232FF" for color_dialog  | 
|
134  | 
option comment1_color : string = "CC0000FF" for color_dialog  | 
|
135  | 
option comment2_color : string = "FF8400FF" for color_dialog  | 
|
136  | 
option comment3_color : string = "6600CCFF" for color_dialog  | 
|
137  | 
option caret_debugger_color : string = "FF9966FF" for color_dialog  | 
|
138  | 
option caret_invisible_color : string = "50000080" for color_dialog  | 
|
139  | 
option completion_color : string = "0000FFFF" for color_dialog  | 
|
140  | 
option search_color : string = "66FFFF64" for color_dialog  | 
|
| 49294 | 141  | 
|
| 77612 | 142  | 
option tfree_color : string = "A020F0FF" for color_dialog  | 
143  | 
option tvar_color : string = "A020F0FF" for color_dialog  | 
|
144  | 
option free_color : string = "0000FFFF" for color_dialog  | 
|
145  | 
option skolem_color : string = "D2691EFF" for color_dialog  | 
|
146  | 
option bound_color : string = "008000FF" for color_dialog  | 
|
147  | 
option var_color : string = "00009BFF" for color_dialog  | 
|
148  | 
option inner_numeral_color : string = "FF0000FF" for color_dialog  | 
|
149  | 
option inner_quoted_color : string = "FF00CCFF" for color_dialog  | 
|
150  | 
option inner_cartouche_color : string = "CC6600FF" for color_dialog  | 
|
151  | 
option dynamic_color : string = "7BA428FF" for color_dialog  | 
|
152  | 
option class_parameter_color : string = "D2691EFF" for color_dialog  | 
|
| 49294 | 153  | 
|
| 77612 | 154  | 
option markdown_bullet1_color : string = "DAFEDAFF" for color_dialog  | 
155  | 
option markdown_bullet2_color : string = "FFF0CCFF" for color_dialog  | 
|
156  | 
option markdown_bullet3_color : string = "E7E7FFFF" for color_dialog  | 
|
157  | 
option markdown_bullet4_color : string = "FFE0F0FF" for color_dialog  | 
|
| 61449 | 158  | 
|
| 
52472
 
3a43a8b1ecb0
load icons via options -- prefer IntelliJ IDEA for now;
 
wenzelm 
parents: 
52101 
diff
changeset
 | 
159  | 
|
| 
 
3a43a8b1ecb0
load icons via options -- prefer IntelliJ IDEA for now;
 
wenzelm 
parents: 
52101 
diff
changeset
 | 
160  | 
section "Icons"  | 
| 
 
3a43a8b1ecb0
load icons via options -- prefer IntelliJ IDEA for now;
 
wenzelm 
parents: 
52101 
diff
changeset
 | 
161  | 
|
| 
 
3a43a8b1ecb0
load icons via options -- prefer IntelliJ IDEA for now;
 
wenzelm 
parents: 
52101 
diff
changeset
 | 
162  | 
option tooltip_close_icon : string = "idea-icons/actions/closeHovered.png"  | 
| 
 
3a43a8b1ecb0
load icons via options -- prefer IntelliJ IDEA for now;
 
wenzelm 
parents: 
52101 
diff
changeset
 | 
163  | 
option tooltip_detach_icon : string = "idea-icons/actions/nextfile.png"  | 
| 52644 | 164  | 
option gutter_information_icon : string = "idea-icons/general/balloonInformation.png"  | 
| 
52472
 
3a43a8b1ecb0
load icons via options -- prefer IntelliJ IDEA for now;
 
wenzelm 
parents: 
52101 
diff
changeset
 | 
165  | 
option gutter_warning_icon : string = "idea-icons/runConfigurations/testFailed.png"  | 
| 
 
3a43a8b1ecb0
load icons via options -- prefer IntelliJ IDEA for now;
 
wenzelm 
parents: 
52101 
diff
changeset
 | 
166  | 
option gutter_legacy_icon : string = "idea-icons/general/balloonWarning.png"  | 
| 
 
3a43a8b1ecb0
load icons via options -- prefer IntelliJ IDEA for now;
 
wenzelm 
parents: 
52101 
diff
changeset
 | 
167  | 
option gutter_error_icon : string = "idea-icons/runConfigurations/testError.png"  | 
| 52874 | 168  | 
option process_passive_icon : string = "idea-icons/process/step_passive.png"  | 
169  | 
option process_active_icons : string = "idea-icons/process/step_1.png:idea-icons/process/step_2.png:idea-icons/process/step_3.png:idea-icons/process/step_4.png:idea-icons/process/step_5.png:idea-icons/process/step_6.png:idea-icons/process/step_7.png:idea-icons/process/step_8.png:idea-icons/process/step_9.png:idea-icons/process/step_10.png:idea-icons/process/step_11.png:idea-icons/process/step_12.png"  |