src/Tools/jEdit/etc/options
author wenzelm
Wed, 22 Jun 2016 16:04:03 +0200
changeset 63347 e344dc82f6c2
parent 62991 35f1475e9ced
child 63455 019856db2bb6
permissions -rw-r--r--
report class parameters within instantiation;
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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 = ""
49245
cb70157293c0 manage Isabelle/jEdit options as Isabelle/Scala options (with persistent preferences);
wenzelm
parents:
diff changeset
     4
  -- "default logic session"
cb70157293c0 manage Isabelle/jEdit options as Isabelle/Scala options (with persistent preferences);
wenzelm
parents:
diff changeset
     5
54881
dff57132cf18 added system option "jedit_print_mode";
wenzelm
parents: 54377
diff changeset
     6
public option jedit_print_mode : string = ""
dff57132cf18 added system option "jedit_print_mode";
wenzelm
parents: 54377
diff changeset
     7
  -- "default print modes for output, separated by commas (change requires restart)"
dff57132cf18 added system option "jedit_print_mode";
wenzelm
parents: 54377
diff changeset
     8
53715
68c664737d04 added option "jedit_auto_load";
wenzelm
parents: 53639
diff changeset
     9
public option jedit_auto_load : bool = false
68c664737d04 added option "jedit_auto_load";
wenzelm
parents: 53639
diff changeset
    10
  -- "load all required files automatically to resolve theory imports"
68c664737d04 added option "jedit_auto_load";
wenzelm
parents: 53639
diff changeset
    11
61139
f9fd43d8981d disable jedit_auto_resolve (again) -- too confusing;
wenzelm
parents: 61023
diff changeset
    12
public option jedit_auto_resolve : bool = false
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
    13
  -- "automatically resolve auxiliary files within the editor"
a6e2a667b0a8 resolve undefined blobs by default, e.g. relevant for ML debugger to avoid reset of breakpoints after reload;
wenzelm
parents: 60914
diff changeset
    14
53161
051cbf663b5f added action isabelle.reset-font-size;
wenzelm
parents: 52874
diff changeset
    15
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
    16
  -- "reset main text font size"
53161
051cbf663b5f added action isabelle.reset-font-size;
wenzelm
parents: 52874
diff changeset
    17
52065
78f2475aa126 explicit notion of public options, which are shown in the editor options dialog;
wenzelm
parents: 51574
diff changeset
    18
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
    19
  -- "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
    20
53229
6ce8328d7912 explicit "hidden" operation with focus management;
wenzelm
parents: 53161
diff changeset
    21
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
    22
  -- "scale factor of popups wrt. main text font"
53229
6ce8328d7912 explicit "hidden" operation with focus management;
wenzelm
parents: 53161
diff changeset
    23
53230
6589ff56cc3c determine completion geometry like tooltip;
wenzelm
parents: 53229
diff changeset
    24
public option jedit_popup_bounds : real = 0.5
6589ff56cc3c determine completion geometry like tooltip;
wenzelm
parents: 53229
diff changeset
    25
  -- "relative bounds of popup window wrt. logical screen size"
6589ff56cc3c determine completion geometry like tooltip;
wenzelm
parents: 53229
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_delay : real = 0.75
53273
473ea1ed7503 some completion options;
wenzelm
parents: 53230
diff changeset
    28
  -- "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
    29
52065
78f2475aa126 explicit notion of public options, which are shown in the editor options dialog;
wenzelm
parents: 51574
diff changeset
    30
public option jedit_tooltip_margin : int = 60
49250
332ab3748350 option jedit_load_delay;
wenzelm
parents: 49245
diff changeset
    31
  -- "margin for tooltip pretty-printing"
49245
cb70157293c0 manage Isabelle/jEdit options as Isabelle/Scala options (with persistent preferences);
wenzelm
parents:
diff changeset
    32
58750
1b4b005d73c1 added option jedit_structure_limit;
wenzelm
parents: 57833
diff changeset
    33
public option jedit_structure_limit : int = 1000
1b4b005d73c1 added option jedit_structure_limit;
wenzelm
parents: 57833
diff changeset
    34
  -- "maximum number of lines to scan for language structure"
1b4b005d73c1 added option jedit_structure_limit;
wenzelm
parents: 57833
diff changeset
    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_symbols_search_limit : int = 50
50190
0d7f0d8fd63b added option jedit_symbols_search_limit;
wenzelm
parents: 49969
diff changeset
    37
  -- "maximum number of symbols in search result"
0d7f0d8fd63b added option jedit_symbols_search_limit;
wenzelm
parents: 49969
diff changeset
    38
52065
78f2475aa126 explicit notion of public options, which are shown in the editor options dialog;
wenzelm
parents: 51574
diff changeset
    39
public option jedit_timing_threshold : real = 0.1
62792
wenzelm
parents: 61719
diff changeset
    40
  -- "default threshold for timing display (seconds)"
51533
3f6280aedbcc dockable window for timing information;
wenzelm
parents: 51452
diff changeset
    41
53294
wenzelm
parents: 53292
diff changeset
    42
wenzelm
parents: 53292
diff changeset
    43
section "Completion"
wenzelm
parents: 53292
diff changeset
    44
53273
473ea1ed7503 some completion options;
wenzelm
parents: 53230
diff changeset
    45
public option jedit_completion : bool = true
473ea1ed7503 some completion options;
wenzelm
parents: 53230
diff changeset
    46
  -- "enable completion popup"
473ea1ed7503 some completion options;
wenzelm
parents: 53230
diff changeset
    47
57833
2c2bae3da1c2 completion popup supports both ENTER and TAB (default);
wenzelm
parents: 57425
diff changeset
    48
public option jedit_completion_select_enter : bool = false
2c2bae3da1c2 completion popup supports both ENTER and TAB (default);
wenzelm
parents: 57425
diff changeset
    49
  -- "select completion item via ENTER"
2c2bae3da1c2 completion popup supports both ENTER and TAB (default);
wenzelm
parents: 57425
diff changeset
    50
2c2bae3da1c2 completion popup supports both ENTER and TAB (default);
wenzelm
parents: 57425
diff changeset
    51
public option jedit_completion_select_tab : bool = true
2c2bae3da1c2 completion popup supports both ENTER and TAB (default);
wenzelm
parents: 57425
diff changeset
    52
  -- "select completion item via TAB"
2c2bae3da1c2 completion popup supports both ENTER and TAB (default);
wenzelm
parents: 57425
diff changeset
    53
56842
b6e266574b26 yet another completion option, to imitate old less ambitious behavior;
wenzelm
parents: 56597
diff changeset
    54
public option jedit_completion_context : bool = true
b6e266574b26 yet another completion option, to imitate old less ambitious behavior;
wenzelm
parents: 56597
diff changeset
    55
  -- "use semantic language context for completion"
b6e266574b26 yet another completion option, to imitate old less ambitious behavior;
wenzelm
parents: 56597
diff changeset
    56
56170
638b29331549 allow implicit semantic completion, notably after delay that exceeds usual round-trip time;
wenzelm
parents: 56064
diff changeset
    57
public option jedit_completion_delay : real = 0.5
53273
473ea1ed7503 some completion options;
wenzelm
parents: 53230
diff changeset
    58
  -- "delay for completion popup (seconds)"
473ea1ed7503 some completion options;
wenzelm
parents: 53230
diff changeset
    59
57425
625a369b4f32 jedit_completion_immediate is enabled by default: let all users participate in slightly more ambitious symbol insertion;
wenzelm
parents: 56883
diff changeset
    60
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
    61
  -- "insert uniquely completed abbreviation immediately into buffer"
53292
f567c1c7b180 option to insert unique completion immediately into buffer;
wenzelm
parents: 53273
diff changeset
    62
56843
b2bfcd8cda80 support for path completion based on file-system content;
wenzelm
parents: 56842
diff changeset
    63
public option jedit_completion_path_ignore : string = "*~:*.marks:*.orig:*.rej:.DS_Store"
56876
wenzelm
parents: 56843
diff changeset
    64
  -- "glob patterns to ignore in file-system path completion (separated by colons)"
56843
b2bfcd8cda80 support for path completion based on file-system content;
wenzelm
parents: 56842
diff changeset
    65
49294
a600c017f814 provide color values via options;
wenzelm
parents: 49288
diff changeset
    66
56550
b26bdc1f96e5 added spell-checker options;
wenzelm
parents: 56326
diff changeset
    67
section "Spell Checker"
b26bdc1f96e5 added spell-checker options;
wenzelm
parents: 56326
diff changeset
    68
b26bdc1f96e5 added spell-checker options;
wenzelm
parents: 56326
diff changeset
    69
public option spell_checker : bool = true
56554
wenzelm
parents: 56553
diff changeset
    70
  -- "enable spell-checker for prose words within document text, comments etc."
56550
b26bdc1f96e5 added spell-checker options;
wenzelm
parents: 56326
diff changeset
    71
56597
f4f561bf4b07 tuned default: melange of all "en" dialects;
wenzelm
parents: 56569
diff changeset
    72
public option spell_checker_dictionary : string = "en"
56568
6e4f2d4215b0 eliminated somewhat pointless locale parameter;
wenzelm
parents: 56559
diff changeset
    73
  -- "spell-checker dictionary name"
56550
b26bdc1f96e5 added spell-checker options;
wenzelm
parents: 56326
diff changeset
    74
56553
f56dfc30e4b6 more spell_checker_elements;
wenzelm
parents: 56551
diff changeset
    75
public option spell_checker_elements : string = "words,comment,inner_comment,ML_comment,SML_comment"
56551
d4da2b11c729 more general spell_checker_elements;
wenzelm
parents: 56550
diff changeset
    76
  -- "relevant markup elements for spell-checker, separated by commas"
d4da2b11c729 more general spell_checker_elements;
wenzelm
parents: 56550
diff changeset
    77
56550
b26bdc1f96e5 added spell-checker options;
wenzelm
parents: 56326
diff changeset
    78
49296
313369027391 some GUI support for color options;
wenzelm
parents: 49295
diff changeset
    79
section "Rendering of Document Content"
49294
a600c017f814 provide color values via options;
wenzelm
parents: 49288
diff changeset
    80
49355
7d1af0a6e797 tuned options (again);
wenzelm
parents: 49296
diff changeset
    81
option outdated_color : string = "EEE3E3FF"
7d1af0a6e797 tuned options (again);
wenzelm
parents: 49296
diff changeset
    82
option unprocessed_color : string = "FFA0A0FF"
7d1af0a6e797 tuned options (again);
wenzelm
parents: 49296
diff changeset
    83
option unprocessed1_color : string = "FFA0A032"
7d1af0a6e797 tuned options (again);
wenzelm
parents: 49296
diff changeset
    84
option running_color : string = "610061FF"
7d1af0a6e797 tuned options (again);
wenzelm
parents: 49296
diff changeset
    85
option running1_color : string = "61006164"
51574
2b58d7b139d6 ghost bullet via markup, which is painted as bar under text (normally space);
wenzelm
parents: 51533
diff changeset
    86
option bullet_color : string = "000000FF"
49706
92ef8b638c6c tuned color and font size;
wenzelm
parents: 49701
diff changeset
    87
option tooltip_color : string = "FFFFE9FF"
49355
7d1af0a6e797 tuned options (again);
wenzelm
parents: 49296
diff changeset
    88
option writeln_color : string = "C0C0C0FF"
52650
4cf6fbf1d9a1 more rendering for information messages;
wenzelm
parents: 52644
diff changeset
    89
option information_color : string = "C1DFEEFF"
49355
7d1af0a6e797 tuned options (again);
wenzelm
parents: 49296
diff changeset
    90
option warning_color : string = "FF8C00FF"
59203
5f0bd5afc16d explicit message channel for "legacy", which is nonetheless a variant of "warning";
wenzelm
parents: 59184
diff changeset
    91
option legacy_color : string = "FF8C00FF"
49355
7d1af0a6e797 tuned options (again);
wenzelm
parents: 49296
diff changeset
    92
option error_color : string = "B22222FF"
49474
e7ff10e1a155 clarified message background;
wenzelm
parents: 49473
diff changeset
    93
option writeln_message_color : string = "F0F0F0FF"
59129
6959ceb53ac8 more informative gutter content: fall-back on background color, e.g. when line numbers are enabled;
wenzelm
parents: 59120
diff changeset
    94
option information_message_color : string = "DCEAF3FF"
49418
c451856129cd more explicit message markup and rendering;
wenzelm
parents: 49358
diff changeset
    95
option tracing_message_color : string = "F0F8FFFF"
c451856129cd more explicit message markup and rendering;
wenzelm
parents: 49358
diff changeset
    96
option warning_message_color : string = "EEE8AAFF"
59203
5f0bd5afc16d explicit message channel for "legacy", which is nonetheless a variant of "warning";
wenzelm
parents: 59184
diff changeset
    97
option legacy_message_color : string = "EEE8AAFF"
49418
c451856129cd more explicit message markup and rendering;
wenzelm
parents: 49358
diff changeset
    98
option error_message_color : string = "FFC1C1FF"
56553
f56dfc30e4b6 more spell_checker_elements;
wenzelm
parents: 56551
diff changeset
    99
option spell_checker_color : string = "0000FFFF"
49355
7d1af0a6e797 tuned options (again);
wenzelm
parents: 49296
diff changeset
   100
option bad_color : string = "FF6A6A64"
49358
0fa351b1bd14 clarified markup names;
wenzelm
parents: 49355
diff changeset
   101
option intensify_color : string = "FFCC6664"
62988
224e8d8a4fb8 tuned rendering;
wenzelm
parents: 62986
diff changeset
   102
option entity_color : string = "CCD9FF80"
62991
35f1475e9ced clarified rendering wrt. hyperlinks;
wenzelm
parents: 62988
diff changeset
   103
option entity_ref_color : string = "800080FF"
60914
f39d004f2ff4 tuned colors;
wenzelm
parents: 60913
diff changeset
   104
option breakpoint_disabled_color : string = "CCCC0080"
f39d004f2ff4 tuned colors;
wenzelm
parents: 60913
diff changeset
   105
option breakpoint_enabled_color : string = "FF9966FF"
49355
7d1af0a6e797 tuned options (again);
wenzelm
parents: 49296
diff changeset
   106
option quoted_color : string = "8B8B8B19"
52101
7679178b0aa5 less intrusive rendering of antiquoted text -- avoid visual clash with "blue variables" in particular;
wenzelm
parents: 52065
diff changeset
   107
option antiquoted_color : string = "FFC83219"
55526
39708e59f4b0 more markup;
wenzelm
parents: 55505
diff changeset
   108
option antiquote_color : string = "6600CCFF"
49358
0fa351b1bd14 clarified markup names;
wenzelm
parents: 49355
diff changeset
   109
option highlight_color : string = "50505032"
49355
7d1af0a6e797 tuned options (again);
wenzelm
parents: 49296
diff changeset
   110
option hyperlink_color : string = "000000FF"
50450
358b6020f8b6 generalized notion of active area, where sendback is just one application;
wenzelm
parents: 50408
diff changeset
   111
option active_color : string = "DCDCDCFF"
358b6020f8b6 generalized notion of active area, where sendback is just one application;
wenzelm
parents: 50408
diff changeset
   112
option active_hover_color : string = "9DC75DFF"
50499
f496b2b7bafb rendering of selected dialog_result as active_result_color, depending on dynamic command status in output panel, but not static popups etc.;
wenzelm
parents: 50498
diff changeset
   113
option active_result_color : string = "999966FF"
49355
7d1af0a6e797 tuned options (again);
wenzelm
parents: 49296
diff changeset
   114
option keyword1_color : string = "006699FF"
7d1af0a6e797 tuned options (again);
wenzelm
parents: 49296
diff changeset
   115
option keyword2_color : string = "009966FF"
55505
2a1ca7f6607b more uniform ML keyword markup;
wenzelm
parents: 55033
diff changeset
   116
option keyword3_color : string = "0099FFFF"
55924
fd5e3f93bae4 tuned color (cf. jEdit FUNCTION);
wenzelm
parents: 55919
diff changeset
   117
option quasi_keyword_color : string = "9966FFFF"
56202
0a11d17eeeff more markup for improper elements;
wenzelm
parents: 56197
diff changeset
   118
option improper_color : string = "FF5050FF"
56064
7658489047e3 clarified Markup.operator vs. Markup.delimiter;
wenzelm
parents: 55924
diff changeset
   119
option operator_color : string = "323232FF"
61011
018b0c996b54 more explicit debugger caret rendering;
wenzelm
parents: 60973
diff changeset
   120
option caret_debugger_color : string = "FF9966FF"
55726
945ad7eaf37f tuned colors;
wenzelm
parents: 55713
diff changeset
   121
option caret_invisible_color : string = "50000080"
55747
bef19c929ba5 more completion rendering: active, semantic, syntactic;
wenzelm
parents: 55726
diff changeset
   122
option completion_color : string = "0000FFFF"
56883
38c6b70e5e53 common support for search field, which is actually a light-weight Highlighter;
wenzelm
parents: 56876
diff changeset
   123
option search_color : string = "66FFFF64"
49294
a600c017f814 provide color values via options;
wenzelm
parents: 49288
diff changeset
   124
49355
7d1af0a6e797 tuned options (again);
wenzelm
parents: 49296
diff changeset
   125
option tfree_color : string = "A020F0FF"
7d1af0a6e797 tuned options (again);
wenzelm
parents: 49296
diff changeset
   126
option tvar_color : string = "A020F0FF"
7d1af0a6e797 tuned options (again);
wenzelm
parents: 49296
diff changeset
   127
option free_color : string = "0000FFFF"
7d1af0a6e797 tuned options (again);
wenzelm
parents: 49296
diff changeset
   128
option skolem_color : string = "D2691EFF"
7d1af0a6e797 tuned options (again);
wenzelm
parents: 49296
diff changeset
   129
option bound_color : string = "008000FF"
7d1af0a6e797 tuned options (again);
wenzelm
parents: 49296
diff changeset
   130
option var_color : string = "00009BFF"
7d1af0a6e797 tuned options (again);
wenzelm
parents: 49296
diff changeset
   131
option inner_numeral_color : string = "FF0000FF"
59120
74fde39274d5 proper alt_string markup (cf. 2ceb05ee0331);
wenzelm
parents: 58750
diff changeset
   132
option inner_quoted_color : string = "FF00CCFF"
55033
8e8243975860 support for nested text cartouches;
wenzelm
parents: 54881
diff changeset
   133
option inner_cartouche_color : string = "CC6600FF"
59120
74fde39274d5 proper alt_string markup (cf. 2ceb05ee0331);
wenzelm
parents: 58750
diff changeset
   134
option inner_comment_color : string = "CC0000FF"
49355
7d1af0a6e797 tuned options (again);
wenzelm
parents: 49296
diff changeset
   135
option dynamic_color : string = "7BA428FF"
63347
e344dc82f6c2 report class parameters within instantiation;
wenzelm
parents: 62991
diff changeset
   136
option class_parameter_color : string = "D2691EFF"
49294
a600c017f814 provide color values via options;
wenzelm
parents: 49288
diff changeset
   137
61449
4f31f79cf2d1 report Markdown document structure;
wenzelm
parents: 61196
diff changeset
   138
option markdown_item_color1 : string = "DAFEDAFF"
4f31f79cf2d1 report Markdown document structure;
wenzelm
parents: 61196
diff changeset
   139
option markdown_item_color2 : string = "FFF0CCFF"
4f31f79cf2d1 report Markdown document structure;
wenzelm
parents: 61196
diff changeset
   140
option markdown_item_color3 : string = "E7E7FFFF"
4f31f79cf2d1 report Markdown document structure;
wenzelm
parents: 61196
diff changeset
   141
option markdown_item_color4 : string = "FFE0F0FF"
4f31f79cf2d1 report Markdown document structure;
wenzelm
parents: 61196
diff changeset
   142
52472
3a43a8b1ecb0 load icons via options -- prefer IntelliJ IDEA for now;
wenzelm
parents: 52101
diff changeset
   143
3a43a8b1ecb0 load icons via options -- prefer IntelliJ IDEA for now;
wenzelm
parents: 52101
diff changeset
   144
section "Icons"
3a43a8b1ecb0 load icons via options -- prefer IntelliJ IDEA for now;
wenzelm
parents: 52101
diff changeset
   145
3a43a8b1ecb0 load icons via options -- prefer IntelliJ IDEA for now;
wenzelm
parents: 52101
diff changeset
   146
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
   147
option tooltip_detach_icon : string = "idea-icons/actions/nextfile.png"
52644
cea207576f81 gutter icon for information messages;
wenzelm
parents: 52643
diff changeset
   148
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
   149
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
   150
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
   151
option gutter_error_icon : string = "idea-icons/runConfigurations/testError.png"
52874
91032244e4ca query process animation;
wenzelm
parents: 52650
diff changeset
   152
option process_passive_icon : string = "idea-icons/process/step_passive.png"
91032244e4ca query process animation;
wenzelm
parents: 52650
diff changeset
   153
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"