--- a/ETxtView.st Thu May 30 09:21:35 1996 +0200
+++ b/ETxtView.st Thu May 30 11:55:15 1996 +0200
@@ -1047,13 +1047,19 @@
"draw the cursor for the case when the view has no keyboard focus"
self hasSelection ifTrue:[
- ^ super redrawVisibleLine:cursorVisibleLine col:cursorCol.
+ ^ super redrawVisibleLine:cursorVisibleLine col:cursorCol.
].
cursorType ~~ #block ifTrue:[
- "these dont show unfocussed"
- ^ self drawFocusCursor
+ ((cursorType == #solidCaret) or:[cursorType == #bigSolidCaret]) ifTrue:[
+ ^ self drawCursor:cursorType with:cursorFgColor and:Color grey
+ ].
+
+ "these dont show unfocussed"
+ ^ self drawFocusCursor
].
self drawCursor:#frame with:cursorFgColor and:cursorBgColor
+
+ "Modified: 30.5.1996 / 11:30:35 / cg"
!
gotoLine:aLineNumber
@@ -3868,5 +3874,5 @@
!EditTextView class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libwidg/Attic/ETxtView.st,v 1.84 1996-05-30 07:21:35 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libwidg/Attic/ETxtView.st,v 1.85 1996-05-30 09:55:15 cg Exp $'
! !
--- a/EditTextView.st Thu May 30 09:21:35 1996 +0200
+++ b/EditTextView.st Thu May 30 11:55:15 1996 +0200
@@ -1047,13 +1047,19 @@
"draw the cursor for the case when the view has no keyboard focus"
self hasSelection ifTrue:[
- ^ super redrawVisibleLine:cursorVisibleLine col:cursorCol.
+ ^ super redrawVisibleLine:cursorVisibleLine col:cursorCol.
].
cursorType ~~ #block ifTrue:[
- "these dont show unfocussed"
- ^ self drawFocusCursor
+ ((cursorType == #solidCaret) or:[cursorType == #bigSolidCaret]) ifTrue:[
+ ^ self drawCursor:cursorType with:cursorFgColor and:Color grey
+ ].
+
+ "these dont show unfocussed"
+ ^ self drawFocusCursor
].
self drawCursor:#frame with:cursorFgColor and:cursorBgColor
+
+ "Modified: 30.5.1996 / 11:30:35 / cg"
!
gotoLine:aLineNumber
@@ -3868,5 +3874,5 @@
!EditTextView class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libwidg/EditTextView.st,v 1.84 1996-05-30 07:21:35 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libwidg/EditTextView.st,v 1.85 1996-05-30 09:55:15 cg Exp $'
! !