src/Tools/jEdit/etc/options
author wenzelm
Wed, 10 Jul 2013 20:16:04 +0200
changeset 52576 7f5be9be51a7
parent 52472 3a43a8b1ecb0
child 52643 34c29356930e
permissions -rw-r--r--
less intrusive token_range rendering, which is relevant for inner parse errors;
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
52065
78f2475aa126 explicit notion of public options, which are shown in the editor options dialog;
wenzelm
parents: 51574
diff changeset
     6
public option jedit_font_scale : real = 1.0
49272
97f8cb455691 replaced jedit_relative_font_size by jedit_font_scale;
wenzelm
parents: 49270
diff changeset
     7
  -- "scale factor of add-on panels wrt. main text area"
49245
cb70157293c0 manage Isabelle/jEdit options as Isabelle/Scala options (with persistent preferences);
wenzelm
parents:
diff changeset
     8
52065
78f2475aa126 explicit notion of public options, which are shown in the editor options dialog;
wenzelm
parents: 51574
diff changeset
     9
public option jedit_tooltip_delay : real = 0.75
51452
14e6d761ba1c extra tooltip_delay after window.dismiss operation, to avoid flickering of quick reactivation;
wenzelm
parents: 51441
diff changeset
    10
  -- "open/close delay for document tooltips"
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
    11
52065
78f2475aa126 explicit notion of public options, which are shown in the editor options dialog;
wenzelm
parents: 51574
diff changeset
    12
public option jedit_tooltip_font_scale : real = 0.85
49701
e2762f962042 refined rich tooltip options;
wenzelm
parents: 49697
diff changeset
    13
  -- "scale factor of tooltips wrt. main text area"
49245
cb70157293c0 manage Isabelle/jEdit options as Isabelle/Scala options (with persistent preferences);
wenzelm
parents:
diff changeset
    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_tooltip_margin : int = 60
49250
332ab3748350 option jedit_load_delay;
wenzelm
parents: 49245
diff changeset
    16
  -- "margin for tooltip pretty-printing"
49245
cb70157293c0 manage Isabelle/jEdit options as Isabelle/Scala options (with persistent preferences);
wenzelm
parents:
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_tooltip_bounds : real = 0.5
50554
0493efcc97e9 more general handling of graphics configurations, to increase chance of proper positioning of tooltips in multi-screen environment;
wenzelm
parents: 50499
diff changeset
    19
  -- "relative bounds of tooltip window wrt. logical screen size"
0493efcc97e9 more general handling of graphics configurations, to increase chance of proper positioning of tooltips in multi-screen environment;
wenzelm
parents: 50499
diff changeset
    20
52065
78f2475aa126 explicit notion of public options, which are shown in the editor options dialog;
wenzelm
parents: 51574
diff changeset
    21
public option jedit_text_overview_limit : int = 100000
49969
72216713733a further attempts to cope with large files via option jedit_text_overview_limit;
wenzelm
parents: 49722
diff changeset
    22
  -- "maximum amount of text to visualize in overview column"
49697
ad2bd4e5a029 option to bypass potentially slow text overview;
wenzelm
parents: 49492
diff changeset
    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_symbols_search_limit : int = 50
50190
0d7f0d8fd63b added option jedit_symbols_search_limit;
wenzelm
parents: 49969
diff changeset
    25
  -- "maximum number of symbols in search result"
0d7f0d8fd63b added option jedit_symbols_search_limit;
wenzelm
parents: 49969
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_mac_adapter : bool = true
51071
b7e7557e80b5 some native Mac OS X support, notably quit_handler (important for dialog on unsaved changes);
wenzelm
parents: 50554
diff changeset
    28
  -- "some native Mac OS X support (potential conflict with MacOSX plugin)"
b7e7557e80b5 some native Mac OS X support, notably quit_handler (important for dialog on unsaved changes);
wenzelm
parents: 50554
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_timing_threshold : real = 0.1
51533
3f6280aedbcc dockable window for timing information;
wenzelm
parents: 51452
diff changeset
    31
  -- "default threshold for timing display"
3f6280aedbcc dockable window for timing information;
wenzelm
parents: 51452
diff changeset
    32
49294
a600c017f814 provide color values via options;
wenzelm
parents: 49288
diff changeset
    33
49296
313369027391 some GUI support for color options;
wenzelm
parents: 49295
diff changeset
    34
section "Rendering of Document Content"
49294
a600c017f814 provide color values via options;
wenzelm
parents: 49288
diff changeset
    35
49355
7d1af0a6e797 tuned options (again);
wenzelm
parents: 49296
diff changeset
    36
option outdated_color : string = "EEE3E3FF"
7d1af0a6e797 tuned options (again);
wenzelm
parents: 49296
diff changeset
    37
option unprocessed_color : string = "FFA0A0FF"
7d1af0a6e797 tuned options (again);
wenzelm
parents: 49296
diff changeset
    38
option unprocessed1_color : string = "FFA0A032"
7d1af0a6e797 tuned options (again);
wenzelm
parents: 49296
diff changeset
    39
option running_color : string = "610061FF"
7d1af0a6e797 tuned options (again);
wenzelm
parents: 49296
diff changeset
    40
option running1_color : string = "61006164"
52576
7f5be9be51a7 less intrusive token_range rendering, which is relevant for inner parse errors;
wenzelm
parents: 52472
diff changeset
    41
option light_color : string = "F0F0F064"
51574
2b58d7b139d6 ghost bullet via markup, which is painted as bar under text (normally space);
wenzelm
parents: 51533
diff changeset
    42
option bullet_color : string = "000000FF"
49706
92ef8b638c6c tuned color and font size;
wenzelm
parents: 49701
diff changeset
    43
option tooltip_color : string = "FFFFE9FF"
49355
7d1af0a6e797 tuned options (again);
wenzelm
parents: 49296
diff changeset
    44
option writeln_color : string = "C0C0C0FF"
7d1af0a6e797 tuned options (again);
wenzelm
parents: 49296
diff changeset
    45
option warning_color : string = "FF8C00FF"
7d1af0a6e797 tuned options (again);
wenzelm
parents: 49296
diff changeset
    46
option error_color : string = "B22222FF"
7d1af0a6e797 tuned options (again);
wenzelm
parents: 49296
diff changeset
    47
option error1_color : string = "B2222232"
49474
e7ff10e1a155 clarified message background;
wenzelm
parents: 49473
diff changeset
    48
option writeln_message_color : string = "F0F0F0FF"
49418
c451856129cd more explicit message markup and rendering;
wenzelm
parents: 49358
diff changeset
    49
option tracing_message_color : string = "F0F8FFFF"
c451856129cd more explicit message markup and rendering;
wenzelm
parents: 49358
diff changeset
    50
option warning_message_color : string = "EEE8AAFF"
c451856129cd more explicit message markup and rendering;
wenzelm
parents: 49358
diff changeset
    51
option error_message_color : string = "FFC1C1FF"
49355
7d1af0a6e797 tuned options (again);
wenzelm
parents: 49296
diff changeset
    52
option bad_color : string = "FF6A6A64"
49358
0fa351b1bd14 clarified markup names;
wenzelm
parents: 49355
diff changeset
    53
option intensify_color : string = "FFCC6664"
49355
7d1af0a6e797 tuned options (again);
wenzelm
parents: 49296
diff changeset
    54
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
    55
option antiquoted_color : string = "FFC83219"
49358
0fa351b1bd14 clarified markup names;
wenzelm
parents: 49355
diff changeset
    56
option highlight_color : string = "50505032"
49355
7d1af0a6e797 tuned options (again);
wenzelm
parents: 49296
diff changeset
    57
option hyperlink_color : string = "000000FF"
50450
358b6020f8b6 generalized notion of active area, where sendback is just one application;
wenzelm
parents: 50408
diff changeset
    58
option active_color : string = "DCDCDCFF"
358b6020f8b6 generalized notion of active area, where sendback is just one application;
wenzelm
parents: 50408
diff changeset
    59
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
    60
option active_result_color : string = "999966FF"
49355
7d1af0a6e797 tuned options (again);
wenzelm
parents: 49296
diff changeset
    61
option keyword1_color : string = "006699FF"
7d1af0a6e797 tuned options (again);
wenzelm
parents: 49296
diff changeset
    62
option keyword2_color : string = "009966FF"
49294
a600c017f814 provide color values via options;
wenzelm
parents: 49288
diff changeset
    63
49355
7d1af0a6e797 tuned options (again);
wenzelm
parents: 49296
diff changeset
    64
option tfree_color : string = "A020F0FF"
7d1af0a6e797 tuned options (again);
wenzelm
parents: 49296
diff changeset
    65
option tvar_color : string = "A020F0FF"
7d1af0a6e797 tuned options (again);
wenzelm
parents: 49296
diff changeset
    66
option free_color : string = "0000FFFF"
7d1af0a6e797 tuned options (again);
wenzelm
parents: 49296
diff changeset
    67
option skolem_color : string = "D2691EFF"
7d1af0a6e797 tuned options (again);
wenzelm
parents: 49296
diff changeset
    68
option bound_color : string = "008000FF"
7d1af0a6e797 tuned options (again);
wenzelm
parents: 49296
diff changeset
    69
option var_color : string = "00009BFF"
7d1af0a6e797 tuned options (again);
wenzelm
parents: 49296
diff changeset
    70
option inner_numeral_color : string = "FF0000FF"
7d1af0a6e797 tuned options (again);
wenzelm
parents: 49296
diff changeset
    71
option inner_quoted_color : string = "D2691EFF"
7d1af0a6e797 tuned options (again);
wenzelm
parents: 49296
diff changeset
    72
option inner_comment_color : string = "8B0000FF"
7d1af0a6e797 tuned options (again);
wenzelm
parents: 49296
diff changeset
    73
option dynamic_color : string = "7BA428FF"
49294
a600c017f814 provide color values via options;
wenzelm
parents: 49288
diff changeset
    74
52472
3a43a8b1ecb0 load icons via options -- prefer IntelliJ IDEA for now;
wenzelm
parents: 52101
diff changeset
    75
3a43a8b1ecb0 load icons via options -- prefer IntelliJ IDEA for now;
wenzelm
parents: 52101
diff changeset
    76
section "Icons"
3a43a8b1ecb0 load icons via options -- prefer IntelliJ IDEA for now;
wenzelm
parents: 52101
diff changeset
    77
3a43a8b1ecb0 load icons via options -- prefer IntelliJ IDEA for now;
wenzelm
parents: 52101
diff changeset
    78
(* jEdit/Tango *)
3a43a8b1ecb0 load icons via options -- prefer IntelliJ IDEA for now;
wenzelm
parents: 52101
diff changeset
    79
(*
3a43a8b1ecb0 load icons via options -- prefer IntelliJ IDEA for now;
wenzelm
parents: 52101
diff changeset
    80
option tooltip_close_icon : string = "16x16/actions/document-close.png"
3a43a8b1ecb0 load icons via options -- prefer IntelliJ IDEA for now;
wenzelm
parents: 52101
diff changeset
    81
option tooltip_detach_icon : string = "16x16/actions/window-new.png"
3a43a8b1ecb0 load icons via options -- prefer IntelliJ IDEA for now;
wenzelm
parents: 52101
diff changeset
    82
option gutter_warning_icon : string = "16x16/status/dialog-information.png"
3a43a8b1ecb0 load icons via options -- prefer IntelliJ IDEA for now;
wenzelm
parents: 52101
diff changeset
    83
option gutter_legacy_icon : string = "16x16/status/dialog-warning.png"
3a43a8b1ecb0 load icons via options -- prefer IntelliJ IDEA for now;
wenzelm
parents: 52101
diff changeset
    84
option gutter_error_icon : string = "16x16/status/dialog-error.png"
3a43a8b1ecb0 load icons via options -- prefer IntelliJ IDEA for now;
wenzelm
parents: 52101
diff changeset
    85
*)
3a43a8b1ecb0 load icons via options -- prefer IntelliJ IDEA for now;
wenzelm
parents: 52101
diff changeset
    86
3a43a8b1ecb0 load icons via options -- prefer IntelliJ IDEA for now;
wenzelm
parents: 52101
diff changeset
    87
(* IntelliJ IDEA *)
3a43a8b1ecb0 load icons via options -- prefer IntelliJ IDEA for now;
wenzelm
parents: 52101
diff changeset
    88
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
    89
option tooltip_detach_icon : string = "idea-icons/actions/nextfile.png"
3a43a8b1ecb0 load icons via options -- prefer IntelliJ IDEA for now;
wenzelm
parents: 52101
diff changeset
    90
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
    91
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
    92
option gutter_error_icon : string = "idea-icons/runConfigurations/testError.png"
3a43a8b1ecb0 load icons via options -- prefer IntelliJ IDEA for now;
wenzelm
parents: 52101
diff changeset
    93