Review Request: GDB output window sometimes inserts into middle.

Ben Wagner bungeman at gmail.com
Thu Apr 12 16:19:14 UTC 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/104559/
-----------------------------------------------------------

Review request for KDevelop.


Description
-------

The GDB output window inserts responses from GDB at the current cursor location. If one clicks in the middle of the widget or selects some text, the next GDB output will be inserted there instead of appended to the end. This is rather frustrating. This patch makes it so that GDB output is always appended to the end.


Diffs
-----

  debuggers/gdb/gdboutputwidget.cpp 93b5e75 

Diff: http://git.reviewboard.kde.org/r/104559/diff/


Testing
-------

Built and ran locally. Confirmed that this fixes the issue. I am not very experienced with Qt, so I am basing this off of the example at http://doc.qt.nokia.com/4.7-snapshot/richtext-cursor.html#manipulating-rich-text so there may be some better means of doing this.


Thanks,

Ben Wagner

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20120412/58db8b2e/attachment.html>


More information about the KDevelop-devel mailing list