Skip to content
  • Michael Natterer's avatar
    block the text_layout's "changed" handler when changing cursor visibility · e3f318b4
    Michael Natterer authored
    2005-05-25  Michael Natterer  <mitch@imendio.com>
    
    	* gtk/gtktextview.c (blink_cb): block the text_layout's "changed"
    	handler when changing cursor visibility because it would expose
    	the whole paragraph where the cursor is. Instead, expose the
    	cursors' areas manually. (#173047).
    
    	(text_window_invalidate_cursors): new function which exposes the
    	cursors.
    
    	* gtk/gtkstyle.c (draw_insertion_cursor): added comment that the
    	same cursor size calculation is in text_window_invalidate_cursors().
    e3f318b4