changed:
#openEditorOnSelection
#selectRowAt:colAt:atPoint:openEditor:
--- a/DSVColumnView.st Tue Nov 02 22:00:38 2010 +0100
+++ b/DSVColumnView.st Tue Nov 02 22:05:35 2010 +0100
@@ -4191,12 +4191,12 @@
].
editView realize.
editor canTab:true.
-self halt.
+
winGroup focusView:editor.
self processAllExposeEvents.
- "Modified: / 02-11-2010 / 21:34:59 / cg"
+ "Modified: / 02-11-2010 / 22:04:01 / cg"
!
processAllExposeEvents
@@ -4281,7 +4281,7 @@
!
selectRowAt:rowNr colAt:colNr atPoint:aPoint openEditor:openEditor
- |view|
+ |view p|
view := editView.
self selectColIndex:colNr rowIndex:rowNr openEditor:openEditor.
@@ -4296,9 +4296,9 @@
].
view := self detectViewAt:aPoint ignoreInvisible:true.
- PreselectAllWhenOpeningEditor == true ifTrue:[
+ PreselectAllWhenOpeningEditor == true ifFalse:[
"/ simulate clicking into the editor
- (view ~~ self and:[view notNil]) ifTrue:[ |p|
+ (view ~~ self and:[view notNil]) ifTrue:[
p := device translatePoint:aPoint fromView:self toView:view.
self sensor
pushEvent:(WindowEvent buttonPress:1 x:p x y:p y view:view);
@@ -4316,7 +4316,7 @@
].
].
- "Modified: / 02-11-2010 / 21:58:42 / cg"
+ "Modified: / 02-11-2010 / 22:05:10 / cg"
!
selectRowFrom:start to:stop
@@ -4638,9 +4638,9 @@
!DSVColumnView class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libwidg2/DSVColumnView.st,v 1.262 2010-11-02 21:00:38 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libwidg2/DSVColumnView.st,v 1.263 2010-11-02 21:05:35 cg Exp $'
!
version_CVS
- ^ '$Header: /cvs/stx/stx/libwidg2/DSVColumnView.st,v 1.262 2010-11-02 21:00:38 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libwidg2/DSVColumnView.st,v 1.263 2010-11-02 21:05:35 cg Exp $'
! !