[squeak-dev] [BUG] HelpBrowser>>accept:

karl ramberg karlramberg at gmail.com
Wed Apr 22 19:11:15 UTC 2015


I get a DNU trying to save a edited pane in the HelpBrowser:
DNU: self topic

HelpBrowser(Object)>>doesNotUnderstand: #topic
Receiver: a HelpBrowser
Arguments and temporary variables:
aMessage: topic
exception: MessageNotUnderstood: HelpBrowser>>topic
resumeValue: nil
Receiver's instance variables:
dependents: a DependentsArray(a PluggableSystemWindow<Help>(349) a
PluggableTex...etc...
rootTopic: a ClassBasedHelpTopic<Help>
currentTopic: a HelpTopic<General>
result: nil
searchTopic: a HelpTopic<Search Results>
topicPath: nil
toplevelTopics: an OrderedCollection(a ClassBasedHelpTopic<Squeak> a
HtmlHelpTo...etc...

HelpBrowser>>accept:
Receiver: a HelpBrowser
Arguments and temporary variables:
text: a Text for
'*************************************************************...etc...
code: nil
topicClass: #(nil nil)
topicMethod: a HelpBrowser
Receiver's instance variables:
dependents: a DependentsArray(a PluggableSystemWindow<Help>(349) a
PluggableTex...etc...
rootTopic: a ClassBasedHelpTopic<Help>
currentTopic: a HelpTopic<General>
result: nil
searchTopic: a HelpTopic<Search Results>
topicPath: nil
toplevelTopics: an OrderedCollection(a ClassBasedHelpTopic<Squeak> a
HtmlHelpTo...etc...

PluggableTextMorphPlus(PluggableTextMorph)>>acceptTextInModel
Receiver: a PluggableTextMorphPlus(1656)
Arguments and temporary variables:
textToAccept: a Text for
'*****************************************************...etc...
Receiver's instance variables:
bounds: 519 at 144 corner: 1093 at 389
owner: a PluggableSystemWindow<Help>(349)
submorphs: {a ScrollBar(2106) . a TransformMorph(2767)}
fullBounds: 519 at 144 corner: 1093 at 389
color: Color white
extension: a MorphExtension (905) [locked]  [other:  (layoutFrame -> a
LayoutFr...etc...
borderWidth: 1
borderColor: (Color r: 0.395 g: 0.395 b: 0.395)
model: a HelpBrowser
slotName: nil
open: false
scrollBar: a ScrollBar(2106)
scroller: a TransformMorph(2767)
retractableScrollBar: false
scrollBarOnLeft: false
getMenuSelector: #codePaneMenu:shifted:
getMenuTitleSelector: nil
scrollBarHidden: nil
hasFocus: false
hScrollBar: a ScrollBar(2442)
lockOffset: false
textMorph: a TextMorphForEditView(3561)
getTextSelector: #topicContents
setTextSelector: #accept:
getSelectionSelector: nil
hasUnacceptedEdits: true
askBeforeDiscardingEdits: true
selectionInterval: (1 to: 0)
hasEditingConflicts: false
editTextSelector: nil
getColorSelector: nil
acceptAction: nil
unstyledAcceptText: nil
styler: nil

PluggableTextMorphPlus>>acceptTextInModel
Receiver: a PluggableTextMorphPlus(1656)
Arguments and temporary variables:

Receiver's instance variables:
bounds: 519 at 144 corner: 1093 at 389
owner: a PluggableSystemWindow<Help>(349)
submorphs: {a ScrollBar(2106) . a TransformMorph(2767)}
fullBounds: 519 at 144 corner: 1093 at 389
color: Color white
extension: a MorphExtension (905) [locked]  [other:  (layoutFrame -> a
LayoutFr...etc...
borderWidth: 1
borderColor: (Color r: 0.395 g: 0.395 b: 0.395)
model: a HelpBrowser
slotName: nil
open: false
scrollBar: a ScrollBar(2106)
scroller: a TransformMorph(2767)
retractableScrollBar: false
scrollBarOnLeft: false
getMenuSelector: #codePaneMenu:shifted:
getMenuTitleSelector: nil
scrollBarHidden: nil
hasFocus: false
hScrollBar: a ScrollBar(2442)
lockOffset: false
textMorph: a TextMorphForEditView(3561)
getTextSelector: #topicContents
setTextSelector: #accept:
getSelectionSelector: nil
hasUnacceptedEdits: true
askBeforeDiscardingEdits: true
selectionInterval: (1 to: 0)
hasEditingConflicts: false
editTextSelector: nil
getColorSelector: nil
acceptAction: nil
unstyledAcceptText: nil
styler: nil

PluggableTextMorphPlus(PluggableTextMorph)>>accept
Receiver: a PluggableTextMorphPlus(1656)
Arguments and temporary variables:
ok: nil
saveSelection: (1 to: 0)
saveScrollerOffset: 0 at 0
aPane: nil
Receiver's instance variables:
bounds: 519 at 144 corner: 1093 at 389
owner: a PluggableSystemWindow<Help>(349)
submorphs: {a ScrollBar(2106) . a TransformMorph(2767)}
fullBounds: 519 at 144 corner: 1093 at 389
color: Color white
extension: a MorphExtension (905) [locked]  [other:  (layoutFrame -> a
LayoutFr...etc...
borderWidth: 1
borderColor: (Color r: 0.395 g: 0.395 b: 0.395)
model: a HelpBrowser
slotName: nil
open: false
scrollBar: a ScrollBar(2106)
scroller: a TransformMorph(2767)
retractableScrollBar: false
scrollBarOnLeft: false
getMenuSelector: #codePaneMenu:shifted:
getMenuTitleSelector: nil
scrollBarHidden: nil
hasFocus: false
hScrollBar: a ScrollBar(2442)
lockOffset: false
textMorph: a TextMorphForEditView(3561)
getTextSelector: #topicContents
setTextSelector: #accept:
getSelectionSelector: nil
hasUnacceptedEdits: true
askBeforeDiscardingEdits: true
selectionInterval: (1 to: 0)
hasEditingConflicts: false
editTextSelector: nil
getColorSelector: nil
acceptAction: nil
unstyledAcceptText: nil
styler: nil

PluggableTextMorphPlus>>accept
Receiver: a PluggableTextMorphPlus(1656)
Arguments and temporary variables:

Receiver's instance variables:
bounds: 519 at 144 corner: 1093 at 389
owner: a PluggableSystemWindow<Help>(349)
submorphs: {a ScrollBar(2106) . a TransformMorph(2767)}
fullBounds: 519 at 144 corner: 1093 at 389
color: Color white
extension: a MorphExtension (905) [locked]  [other:  (layoutFrame -> a
LayoutFr...etc...
borderWidth: 1
borderColor: (Color r: 0.395 g: 0.395 b: 0.395)
model: a HelpBrowser
slotName: nil
open: false
scrollBar: a ScrollBar(2106)
scroller: a TransformMorph(2767)
retractableScrollBar: false
scrollBarOnLeft: false
getMenuSelector: #codePaneMenu:shifted:
getMenuTitleSelector: nil
scrollBarHidden: nil
hasFocus: false
hScrollBar: a ScrollBar(2442)
lockOffset: false
textMorph: a TextMorphForEditView(3561)
getTextSelector: #topicContents
setTextSelector: #accept:
getSelectionSelector: nil
hasUnacceptedEdits: true
askBeforeDiscardingEdits: true
selectionInterval: (1 to: 0)
hasEditingConflicts: false
editTextSelector: nil
getColorSelector: nil
acceptAction: nil
unstyledAcceptText: nil
styler: nil

TextMorphForEditView>>acceptContents
Receiver: a TextMorphForEditView(3561)
Arguments and temporary variables:

Receiver's instance variables:
bounds: 0 at 0 corner: 559 at 530
owner: a TransformMorph(2767)
submorphs: #()
fullBounds: 0 at 0 corner: 559 at 530
color: Color black
extension: a MorphExtension (3929) [other:  (indicateKeyboardFocus ->
#never) (...etc...
borderWidth: 0
borderColor: Color black
textStyle: a TextStyle Bitmap DejaVu Sans 9
text: a Text for
'*************************************************************...etc...
wrapFlag: true
paragraph: a NewParagraph
editor: a SmalltalkEditor
container: nil
predecessor: nil
successor: nil
backgroundColor: nil
margins: 3 at 0 corner: 0 at 0
editHistory: nil
readOnly: false
editView: a PluggableTextMorphPlus(1656)
acceptOnCR: false

SmalltalkEditor(TextEditor)>>accept
Receiver: a SmalltalkEditor
Arguments and temporary variables:

Receiver's instance variables:
morph: a TextMorphForEditView(3561)
selectionShowing: false
model: a HelpBrowser
paragraph: a NewParagraph
markBlock: a CharacterBlock with index 1 and character $* and rectangle 3 at 0
cor...etc...
pointBlock: a CharacterBlock with index 1 and character $* and rectangle 3 at 0
co...etc...
beginTypeInIndex: nil
emphasisHere: #()
lastParenLocation: nil
otherInterval: (1 to: 0)
oldInterval: nil
typeAhead: a WriteStream
styler: nil

SmalltalkEditor(TextEditor)>>save:
Receiver: a SmalltalkEditor
Arguments and temporary variables:
aKeyboardEvent: [keystroke '<Cmd-s>']
Receiver's instance variables:
morph: a TextMorphForEditView(3561)
selectionShowing: false
model: a HelpBrowser
paragraph: a NewParagraph
markBlock: a CharacterBlock with index 1 and character $* and rectangle 3 at 0
cor...etc...
pointBlock: a CharacterBlock with index 1 and character $* and rectangle 3 at 0
co...etc...
beginTypeInIndex: nil
emphasisHere: #()
lastParenLocation: nil
otherInterval: (1 to: 0)
oldInterval: nil
typeAhead: a WriteStream
styler: nil

SmalltalkEditor(TextEditor)>>dispatchOnKeyboardEvent:
Receiver: a SmalltalkEditor
Arguments and temporary variables:
aKeyboardEvent: [keystroke '<Cmd-s>']
honorCommandKeys: true
openers: nil
closers: nil
result: nil
Receiver's instance variables:
morph: a TextMorphForEditView(3561)
selectionShowing: false
model: a HelpBrowser
paragraph: a NewParagraph
markBlock: a CharacterBlock with index 1 and character $* and rectangle 3 at 0
cor...etc...
pointBlock: a CharacterBlock with index 1 and character $* and rectangle 3 at 0
co...etc...
beginTypeInIndex: nil
emphasisHere: #()
lastParenLocation: nil
otherInterval: (1 to: 0)
oldInterval: nil
typeAhead: a WriteStream
styler: nil

SmalltalkEditor(TextEditor)>>keyStroke:
Receiver: a SmalltalkEditor
Arguments and temporary variables:
anEvent: [keystroke '<Cmd-s>']
Receiver's instance variables:
morph: a TextMorphForEditView(3561)
selectionShowing: false
model: a HelpBrowser
paragraph: a NewParagraph
markBlock: a CharacterBlock with index 1 and character $* and rectangle 3 at 0
cor...etc...
pointBlock: a CharacterBlock with index 1 and character $* and rectangle 3 at 0
co...etc...
beginTypeInIndex: nil
emphasisHere: #()
lastParenLocation: nil
otherInterval: (1 to: 0)
oldInterval: nil
typeAhead: a WriteStream
styler: nil

[] in [] in TextMorphForEditView(TextMorph)>>keyStroke:
Receiver: a TextMorphForEditView(3561)
Arguments and temporary variables:
<<error during printing>
Receiver's instance variables:
bounds: 0 at 0 corner: 559 at 530
owner: a TransformMorph(2767)
submorphs: #()
fullBounds: 0 at 0 corner: 559 at 530
color: Color black
extension: a MorphExtension (3929) [other:  (indicateKeyboardFocus ->
#never) (...etc...
borderWidth: 0
borderColor: Color black
textStyle: a TextStyle Bitmap DejaVu Sans 9
text: a Text for
'*************************************************************...etc...
wrapFlag: true
paragraph: a NewParagraph
editor: a SmalltalkEditor
container: nil
predecessor: nil
successor: nil
backgroundColor: nil
margins: 3 at 0 corner: 0 at 0
editHistory: nil
readOnly: false
editView: a PluggableTextMorphPlus(1656)
acceptOnCR: false

TextMorphForEditView(TextMorph)>>handleInteraction:fromEvent:
Receiver: a TextMorphForEditView(3561)
Arguments and temporary variables:
interactionBlock: [closure] in [] in
TextMorphForEditView(TextMorph)>>keyStroke...etc...
evt: [keystroke '<Cmd-s>']
oldEditor: a SmalltalkEditor
oldParagraph: a NewParagraph
oldText: a Text for
'**********************************************************...etc...
Receiver's instance variables:
bounds: 0 at 0 corner: 559 at 530
owner: a TransformMorph(2767)
submorphs: #()
fullBounds: 0 at 0 corner: 559 at 530
color: Color black
extension: a MorphExtension (3929) [other:  (indicateKeyboardFocus ->
#never) (...etc...
borderWidth: 0
borderColor: Color black
textStyle: a TextStyle Bitmap DejaVu Sans 9
text: a Text for
'*************************************************************...etc...
wrapFlag: true
paragraph: a NewParagraph
editor: a SmalltalkEditor
container: nil
predecessor: nil
successor: nil
backgroundColor: nil
margins: 3 at 0 corner: 0 at 0
editHistory: nil
readOnly: false
editView: a PluggableTextMorphPlus(1656)
acceptOnCR: false

TextMorphForEditView>>handleInteraction:fromEvent:
Receiver: a TextMorphForEditView(3561)
Arguments and temporary variables:
interActionBlock: [closure] in [] in
TextMorphForEditView(TextMorph)>>keyStroke...etc...
evt: [keystroke '<Cmd-s>']
Receiver's instance variables:
bounds: 0 at 0 corner: 559 at 530
owner: a TransformMorph(2767)
submorphs: #()
fullBounds: 0 at 0 corner: 559 at 530
color: Color black
extension: a MorphExtension (3929) [other:  (indicateKeyboardFocus ->
#never) (...etc...
borderWidth: 0
borderColor: Color black
textStyle: a TextStyle Bitmap DejaVu Sans 9
text: a Text for
'*************************************************************...etc...
wrapFlag: true
paragraph: a NewParagraph
editor: a SmalltalkEditor
container: nil
predecessor: nil
successor: nil
backgroundColor: nil
margins: 3 at 0 corner: 0 at 0
editHistory: nil
readOnly: false
editView: a PluggableTextMorphPlus(1656)
acceptOnCR: false

[] in TextMorphForEditView(TextMorph)>>keyStroke:
Receiver: a TextMorphForEditView(3561)
Arguments and temporary variables:
evt: [keystroke '<Cmd-s>']
action: nil
Receiver's instance variables:
bounds: 0 at 0 corner: 559 at 530
owner: a TransformMorph(2767)
submorphs: #()
fullBounds: 0 at 0 corner: 559 at 530
color: Color black
extension: a MorphExtension (3929) [other:  (indicateKeyboardFocus ->
#never) (...etc...
borderWidth: 0
borderColor: Color black
textStyle: a TextStyle Bitmap DejaVu Sans 9
text: a Text for
'*************************************************************...etc...
wrapFlag: true
paragraph: a NewParagraph
editor: a SmalltalkEditor
container: nil
predecessor: nil
successor: nil
backgroundColor: nil
margins: 3 at 0 corner: 0 at 0
editHistory: nil
readOnly: false
editView: a PluggableTextMorphPlus(1656)
acceptOnCR: false

StandardToolSet class>>codeCompletionAround:textMorph:keyStroke:
Receiver: StandardToolSet
Arguments and temporary variables:
aBlock: [closure] in TextMorphForEditView(TextMorph)>>keyStroke:
aTextMorph: a TextMorphForEditView(3561)
evt: [keystroke '<Cmd-s>']
Receiver's instance variables:
superclass: Object
methodDict: a MethodDictionary()
format: 2
instanceVariables: nil
organization: ('as yet unclassified')

subclasses: {CommandLineToolSet}
name: #StandardToolSet
classPool: nil
sharedPools: nil
environment: Smalltalk
category: #'Tools-Base'

ToolSet class>>codeCompletionAround:textMorph:keyStroke:
Receiver: ToolSet
Arguments and temporary variables:
aBlock: [closure] in TextMorphForEditView(TextMorph)>>keyStroke:
aTextMorph: a TextMorphForEditView(3561)
evt: [keystroke '<Cmd-s>']
Receiver's instance variables:
superclass: AppRegistry
methodDict: a MethodDictionary()
format: 2
instanceVariables: nil
organization: ('as yet unclassified')

subclasses: nil
name: #ToolSet
classPool: nil
sharedPools: nil
environment: Smalltalk
category: #'System-Applications'
registeredClasses: an OrderedCollection(StandardToolSet CommandLineToolSet)
default: StandardToolSet

TextMorphForEditView(TextMorph)>>keyStroke:
Receiver: a TextMorphForEditView(3561)
Arguments and temporary variables:
evt: [keystroke '<Cmd-s>']
Receiver's instance variables:
bounds: 0 at 0 corner: 559 at 530
owner: a TransformMorph(2767)
submorphs: #()
fullBounds: 0 at 0 corner: 559 at 530
color: Color black
extension: a MorphExtension (3929) [other:  (indicateKeyboardFocus ->
#never) (...etc...
borderWidth: 0
borderColor: Color black
textStyle: a TextStyle Bitmap DejaVu Sans 9
text: a Text for
'*************************************************************...etc...
wrapFlag: true
paragraph: a NewParagraph
editor: a SmalltalkEditor
container: nil
predecessor: nil
successor: nil
backgroundColor: nil
margins: 3 at 0 corner: 0 at 0
editHistory: nil
readOnly: false
editView: a PluggableTextMorphPlus(1656)
acceptOnCR: false

TextMorphForEditView>>keyStroke:
Receiver: a TextMorphForEditView(3561)
Arguments and temporary variables:
evt: [keystroke '<Cmd-s>']
view: a PluggableTextMorphPlus(1656)
Receiver's instance variables:
bounds: 0 at 0 corner: 559 at 530
owner: a TransformMorph(2767)
submorphs: #()
fullBounds: 0 at 0 corner: 559 at 530
color: Color black
extension: a MorphExtension (3929) [other:  (indicateKeyboardFocus ->
#never) (...etc...
borderWidth: 0
borderColor: Color black
textStyle: a TextStyle Bitmap DejaVu Sans 9
text: a Text for
'*************************************************************...etc...
wrapFlag: true
paragraph: a NewParagraph
editor: a SmalltalkEditor
container: nil
predecessor: nil
successor: nil
backgroundColor: nil
margins: 3 at 0 corner: 0 at 0
editHistory: nil
readOnly: false
editView: a PluggableTextMorphPlus(1656)
acceptOnCR: false


--- The full stack ---
HelpBrowser(Object)>>doesNotUnderstand: #topic
HelpBrowser>>accept:
PluggableTextMorphPlus(PluggableTextMorph)>>acceptTextInModel
PluggableTextMorphPlus>>acceptTextInModel
PluggableTextMorphPlus(PluggableTextMorph)>>accept
PluggableTextMorphPlus>>accept
TextMorphForEditView>>acceptContents
SmalltalkEditor(TextEditor)>>accept
SmalltalkEditor(TextEditor)>>save:
SmalltalkEditor(TextEditor)>>dispatchOnKeyboardEvent:
SmalltalkEditor(TextEditor)>>keyStroke:
[] in [] in TextMorphForEditView(TextMorph)>>keyStroke:
TextMorphForEditView(TextMorph)>>handleInteraction:fromEvent:
TextMorphForEditView>>handleInteraction:fromEvent:
[] in TextMorphForEditView(TextMorph)>>keyStroke:
StandardToolSet class>>codeCompletionAround:textMorph:keyStroke:
ToolSet class>>codeCompletionAround:textMorph:keyStroke:
TextMorphForEditView(TextMorph)>>keyStroke:
TextMorphForEditView>>keyStroke:
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
TextMorphForEditView(TextMorph)>>handleKeystroke:
KeyboardEvent>>sentTo:
TextMorphForEditView(Morph)>>handleEvent:
TextMorphForEditView(Morph)>>handleFocusEvent:
[] in HandMorph>>sendFocusEvent:to:clear:
BlockClosure>>on:do:
PasteUpMorph>>becomeActiveDuring:
HandMorph>>sendFocusEvent:to:clear:
HandMorph>>sendEvent:focus:clear:
HandMorph>>sendKeyboardEvent:
HandMorph>>handleEvent:
HandMorph>>processEvents
[] in WorldState>>doOneCycleNowFor:
Array(SequenceableCollection)>>do:
WorldState>>handsDo:
WorldState>>doOneCycleNowFor:
WorldState>>doOneCycleFor:
PasteUpMorph>>doOneCycle
[] in MorphicProject>>spawnNewProcess
[] in BlockClosure>>newProcess
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20150422/3cfca46e/attachment-0001.htm


More information about the Squeak-dev mailing list