2012-09-03 17:01 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)

* contrib/hbide/saveload.prg
    % Changed: the behavior of active item in dictionaries list.
       Now it is the most recent visited or first if first time.
       Pointed out by Maurizio.

  * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp
    + Implemented: auto activation of column-selection mode if 
       selction is made with mouse with ALT key is kept pressed.
       A request by Maurizio, which btw, seems to be logical.
This commit is contained in:
Pritpal Bedi
2012-09-04 00:07:15 +00:00
parent 8b4250514d
commit 283d49553d
3 changed files with 19 additions and 1 deletions

View File

@@ -16,6 +16,17 @@
The license applies to all entries newer than 2009-04-28.
*/
2012-09-03 17:01 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/saveload.prg
% Changed: the behavior of active item in dictionaries list.
Now it is the most recent visited or first if first time.
Pointed out by Maurizio.
* contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp
+ Implemented: auto activation of column-selection mode if
selction is made with mouse with ALT key is kept pressed.
A request by Maurizio, which btw, seems to be logical.
2012-09-03 15:35 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/editor.prg
* contrib/hbide/misc.prg

View File

@@ -2294,13 +2294,15 @@ METHOD IdeSetup:execEvent( nEvent, p, p1 )
/*----------------------------------------------------------------------*/
METHOD IdeSetup:uiDictionaries()
LOCAL oDict
LOCAL oDict, nRow
nRow := ::oUI:listDictNames:currentRow()
::oUI:listDictNames:clear()
::oUI:listDictNames:setCurrentRow( -1 )
FOR EACH oDict IN ::oIde:aUserDict
::oUI:listDictNames:addItem( oDict:cFilename )
NEXT
::oUI:listDictNames:setCurrentRow( Max( nRow, 0 ) )
RETURN NIL

View File

@@ -1011,6 +1011,11 @@ void HBQPlainTextEdit::mouseMoveEvent( QMouseEvent *event )
}
else if( mouseMode == mouseMode_select )
{
if( event->modifiers() & Qt::AltModifier )
{
selectionMode = selectionMode_column;
}
extraSelections.clear();
setExtraSelections( extraSelections );