Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9, 1.9.1, and 1.9.2

cmdui: auto-scroll to end of area when contents are appended

Changeset 36729ef3e99a

Parent c16cf492c2fe

by Yuki KODAMA

Changes to one file · Browse files at 36729ef3e99a Showing diff from parent c16cf492c2fe Diff from another changeset...

 
108
109
110
 
 
111
112
113
 
108
109
110
111
112
113
114
115
@@ -108,6 +108,8 @@
  def append_output(self, msg, style=''):   msg = msg.replace('\n', '<br />')   self.output_text.insertHtml('<font style="%s">%s</font>' % (style, msg)) + max = self.output_text.verticalScrollBar().maximum() + self.output_text.verticalScrollBar().setSliderPosition(max)     ### Signal Handlers ###