Method: RubyCurses::TextView#repaint

Defined in:
lib/rbcurse/core/widgets/rtextview.rb

#repaintObject

textview :nodoc:



225
226
227
228
229
230
231
232
233
234
235
236
237
# File 'lib/rbcurse/core/widgets/rtextview.rb', line 225

def repaint # textview :nodoc:
  #$log.debug "TEXTVIEW repaint r c #{@row}, #{@col}, key: #{$current_key}, reqd #{@repaint_required} "  

  #return unless @repaint_required # 2010-02-12 19:08  TRYING - won't let footer print for col move
  # TRYING OUT dangerous 2011-10-13 
  @repaint_required = false
  @repaint_required = true if @widget_scrolled || @pcol != @old_pcol || @record_changed || @property_changed

  paint if @repaint_required

  @repaint_footer_required = true if @oldrow != @current_index # 2011-10-15 
  print_foot if @print_footer && !@suppress_borders && @repaint_footer_required
end