(************************************************************************) (* v * The Coq Proof Assistant / The Coq Development Team *) (* () end with _ -> ()); highlighting := false end let highlight_current_line input_buffer = try let i = get_insert input_buffer in highlight_slice input_buffer (i#set_line_offset 0) i with _ -> () let highlight_around_current_line input_buffer = try let i = get_insert input_buffer in highlight_slice input_buffer (i#backward_lines 10) (ignore (i#nocopy#forward_lines 10);i) with _ -> () let highlight_all input_buffer = try highlight_slice input_buffer input_buffer#start_iter input_buffer#end_iter with _ -> () }