[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 111486] the recent gdb dialog text is not at the last line of gdb frame
From:       kdevelop-bugs-admin () barney ! cs ! uni-potsdam ! de
Date:       2005-09-07 12:10:10
Message-ID: 20050907121010.11457.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=111486         
ghost cs msu su changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From ghost cs msu su  2005-09-07 14:10 -------
SVN commit 458160 by vprus:

Scroll gdb output window to the bottom when new text is added.

BUG: 111486


 M  +3 -0      gdboutputwidget.cpp  


--- branches/KDE/3.5/kdevelop/languages/cpp/debugger/gdboutputwidget.cpp #458159:458160
 @ -103,6 +103,7  @
         m_gdbView->append(QString("<font color=\"blue\">").append( line ).append("</font>") );
     else
         m_gdbView->append(line);
+    m_gdbView->scrollToBottom();
 }
 
 /***************************************************************************/
 @ -110,6 +111,7  @
 void GDBOutputWidget::slotReceivedStderr(const char* line)
 {
     m_gdbView->append(QString("<font color=\"red\">").append( line ).append("</font>") );
+    m_gdbView->scrollToBottom();
 }
 
 /***************************************************************************/
 @ -152,6 +154,7  @
 
 void GDBOutputWidget::focusInEvent(QFocusEvent */*e*/)
 {
+    m_gdbView->scrollToBottom();
     m_userGDBCmdEditor->setFocus();
 }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic