diff options
| author | ppedrot | 2013-08-12 13:54:19 +0000 |
|---|---|---|
| committer | ppedrot | 2013-08-12 13:54:19 +0000 |
| commit | 79e3d8bfd5629b8ceb68d3b615943a256dc0d9b1 (patch) | |
| tree | 1a0be647bd7d89a0442e6f02208aee9298995ad7 | |
| parent | 7766935322266cb2e01d32e5e2827a6f92bc5078 (diff) | |
Setting tooltip font monospace.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@16700 85f007b7-540e-0410-9357-904b9bb8a0f7
| -rw-r--r-- | ide/wg_Tooltip.ml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ide/wg_Tooltip.ml b/ide/wg_Tooltip.ml index 4a0b2c43c5..c3ed8c32e0 100644 --- a/ide/wg_Tooltip.ml +++ b/ide/wg_Tooltip.ml @@ -35,9 +35,8 @@ let tooltip_callback (view : GText.view) ~x ~y ~kbd tooltip = if iter#has_tag Tags.Script.tooltip then begin try let ss = Table.find_all table iter#offset in - view#misc#set_tooltip_text - (String.concat "\n" - (CList.uniquize (List.map Lazy.force ss))) + let msg = String.concat "\n" (CList.uniquize (List.map Lazy.force ss)) in + view#misc#set_tooltip_markup ("<tt>" ^ msg ^ "</tt>") with Not_found -> () end else begin view#misc#set_tooltip_text ""; view#misc#set_has_tooltip true |
