[BUG] HelpBrowser>>accept:

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[BUG] HelpBrowser>>accept:

Karl Ramberg
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@144 corner: 1093@389
owner: a PluggableSystemWindow<Help>(349)
submorphs: {a ScrollBar(2106) . a TransformMorph(2767)}
fullBounds: 519@144 corner: 1093@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@144 corner: 1093@389
owner: a PluggableSystemWindow<Help>(349)
submorphs: {a ScrollBar(2106) . a TransformMorph(2767)}
fullBounds: 519@144 corner: 1093@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@0
aPane: nil
Receiver's instance variables: 
bounds: 519@144 corner: 1093@389
owner: a PluggableSystemWindow<Help>(349)
submorphs: {a ScrollBar(2106) . a TransformMorph(2767)}
fullBounds: 519@144 corner: 1093@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@144 corner: 1093@389
owner: a PluggableSystemWindow<Help>(349)
submorphs: {a ScrollBar(2106) . a TransformMorph(2767)}
fullBounds: 519@144 corner: 1093@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@0 corner: 559@530
owner: a TransformMorph(2767)
submorphs: #()
fullBounds: 0@0 corner: 559@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@0 corner: 0@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@0 cor...etc...
pointBlock: a CharacterBlock with index 1 and character $* and rectangle 3@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@0 cor...etc...
pointBlock: a CharacterBlock with index 1 and character $* and rectangle 3@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@0 cor...etc...
pointBlock: a CharacterBlock with index 1 and character $* and rectangle 3@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@0 cor...etc...
pointBlock: a CharacterBlock with index 1 and character $* and rectangle 3@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@0 corner: 559@530
owner: a TransformMorph(2767)
submorphs: #()
fullBounds: 0@0 corner: 559@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@0 corner: 0@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@0 corner: 559@530
owner: a TransformMorph(2767)
submorphs: #()
fullBounds: 0@0 corner: 559@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@0 corner: 0@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@0 corner: 559@530
owner: a TransformMorph(2767)
submorphs: #()
fullBounds: 0@0 corner: 559@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@0 corner: 0@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@0 corner: 559@530
owner: a TransformMorph(2767)
submorphs: #()
fullBounds: 0@0 corner: 559@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@0 corner: 0@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@0 corner: 559@530
owner: a TransformMorph(2767)
submorphs: #()
fullBounds: 0@0 corner: 559@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@0 corner: 0@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@0 corner: 559@530
owner: a TransformMorph(2767)
submorphs: #()
fullBounds: 0@0 corner: 559@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@0 corner: 0@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



Reply | Threaded
Open this post in threaded view
|

Re: [BUG] HelpBrowser>>accept:

marcel.taeumel (old)
Yes, we should remove that for now. There is now clear semantic on changing topics in the help browser right now. Please edit the appropriate help classes/methods for now.

Best,
Marcel
Reply | Threaded
Open this post in threaded view
|

Re: [BUG] HelpBrowser>>accept:

Karl Ramberg
Ok.
The HelpBrowser is not very helpful, yet ;-)

It needs some massage and tweaking like everything else

Karl

On Wed, Apr 22, 2015 at 9:20 PM, Marcel Taeumel <[hidden email]> wrote:
Yes, we should remove that for now. There is now clear semantic on changing
topics in the help browser right now. Please edit the appropriate help
classes/methods for now.

Best,
Marcel



--
View this message in context: http://forum.world.st/BUG-HelpBrowser-accept-tp4821246p4821254.html
Sent from the Squeak - Dev mailing list archive at Nabble.com.




Reply | Threaded
Open this post in threaded view
|

Re: [BUG] HelpBrowser>>accept:

marcel.taeumel (old)
Hehe, quite a bit. Searching works. Editing not now. Content is still somewhat limited. But it will grow. :)

Best,
Marcel
Reply | Threaded
Open this post in threaded view
|

Re: [BUG] HelpBrowser>>accept:

Karl Ramberg
The issue with the builder not keeping track of origin of help topics is quite annoying. It makes the HelpBrowser not very reflective and stiff. That makes it stand out against the rest of the Squeak tools that are much more interactive and lively.

One benefit with cashing is that it is really fast when searching 

Karl

On Wed, Apr 22, 2015 at 9:36 PM, Marcel Taeumel <[hidden email]> wrote:
Hehe, quite a bit. Searching works. Editing not now. Content is still
somewhat limited. But it will grow. :)

Best,
Marcel



--
View this message in context: http://forum.world.st/BUG-HelpBrowser-accept-tp4821246p4821259.html
Sent from the Squeak - Dev mailing list archive at Nabble.com.