2010-15-15 12:20 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)

* contrib/hbqt/hbqt_hbqplaintextedit.cpp
    ! Fixed: selection with Sh+Left was not working ok.
This commit is contained in:
Pritpal Bedi
2010-05-15 19:23:54 +00:00
parent 515f1b1a11
commit 3c79ab6e53
2 changed files with 5 additions and 1 deletions

View File

@@ -17,6 +17,10 @@
past entries belonging to author(s): Viktor Szakats.
*/
2010-15-15 12:20 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/hbqt_hbqplaintextedit.cpp
! Fixed: selection with Sh+Left was not working ok.
2010-15-15 12:03 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/doc/en/class_hbqplaintextedit.txt
* contrib/hbqt/hbqt_hbqplaintextedit.cpp

View File

@@ -1235,7 +1235,7 @@ void HBQPlainTextEdit::hbPaintSelection( QPaintEvent * event )
{
if( rb == re )
{
int x = ( ( columnBegins - c ) * fontWidth ) + marginX;
int x = ( ( cb - c ) * fontWidth ) + marginX;
int w = ( ce - cb ) * fontWidth;
r = QRect( x, top, w, fontHeight );
}