[BUG][FIX] RBFormatter>>maybeJoinLinesFrom:
Alain Plantec
alain.plantec at univ-brest.fr
Sat Mar 26 14:00:34 UTC 2005
hi all,
with RefactoringBrowser, this problem occur while selecting a method
with following code:
contents
^ { }
or this one in RBFormatter
selectorsToLeaveOnLine
^#(#to:do: #to:by: #to:by:do: )
a cs fixing it is attached
alain
---------------------------------------------------------------------------------------------------
26 March 2005 2:33:04 pm
VM: unix - a SmalltalkImage
Image: Squeak3.8gamma [latest update: #6599]
SecurityManager state:
Restricted: false
FileAccess: true
SocketAccess: true
Working Dir /home/plantec/dvpt/squeak-test/3.8
Trusted Dir /home/plantec/dvpt/squeak-test/3.8/secure
Untrusted Dir /home/plantec/dvpt/squeak-test/3.8/My Squeak
Text(Object)>>doesNotUnderstand: #findTokens:
Receiver: a Text for '{
}'
Arguments and temporary variables:
aMessage: findTokens: '
'
Receiver's instance variables:
string: '{
}'
runs: a RunArray runs: #(7) values: #(#(a TextFontChange
font: 1))
RBColorFormatter(RBFormatter)>>maybeJoinLinesFrom:
Receiver: a RBColorFormatter
Arguments and temporary variables:
aBlock: [] in
RBColorFormatter(RBFormatter)>>acceptArrayNode: {[codeStream next...etc...
statementBegin: 42
statementEnd: 49
statementText: a Text for '{
}'
statementLines: nil
initialLineLength: 1
line: nil
Receiver's instance variables:
codeStream: a DialectStream a Text for
'computedContentsUsingContext: aContext ...etc...
lineStart: 48
firstLineLength: 39
tabs: 1
RBColorFormatter(RBFormatter)>>acceptArrayNode:
Receiver: a RBColorFormatter
Arguments and temporary variables:
anArrayNode: RBArrayNode({ })
Receiver's instance variables:
codeStream: a DialectStream a Text for
'computedContentsUsingContext: aContext ...etc...
lineStart: 48
firstLineLength: 39
tabs: 1
RBArrayNode>>acceptVisitor:
Receiver: RBArrayNode({ })
Arguments and temporary variables:
aProgramNodeVisitor: a RBColorFormatter
Receiver's instance variables:
parent: RBReturnNode(^{ })
comments: nil
parentheses: nil
leftBrace: 43
rightBrace: 45
statements: an OrderedCollection()
--- The full stack ---
Text(Object)>>doesNotUnderstand: #findTokens:
RBColorFormatter(RBFormatter)>>maybeJoinLinesFrom:
RBColorFormatter(RBFormatter)>>acceptArrayNode:
RBArrayNode>>acceptVisitor:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
RBColorFormatter(RBFormatter)>>visitNode:
RBColorFormatter(RBFormatter)>>acceptReturnNode:
RBReturnNode>>acceptVisitor:
RBColorFormatter(RBFormatter)>>visitNode:
RBColorFormatter(RBFormatter)>>formatStatementsFor:
RBColorFormatter(RBFormatter)>>acceptSequenceNode:
RBSequenceNode>>acceptVisitor:
RBColorFormatter(RBFormatter)>>visitNode:
[] in RBColorFormatter(RBFormatter)>>acceptMethodNode: {[self
formatMethodCommentFor: aMethodNode indentBefore: true. self indent. ...]}
RBColorFormatter(RBFormatter)>>indent:while:
RBColorFormatter(RBFormatter)>>indentWhile:
RBColorFormatter(RBFormatter)>>acceptMethodNode:
RBMethodNode>>acceptVisitor:
RBColorFormatter(RBFormatter)>>visitNode:
RBColorFormatter(RBFormatter)>>format:
RBMethodNode(RBProgramNode)>>colorizedFormattedCode
RBParser class>>format:in:notifying:decorated:
RBParser class>>format:in:notifying:contentsSymbol:
RefactoringBrowser(CodeHolder)>>sourceStringPrettifiedAndDiffed
RefactoringBrowser(Browser)>>selectedMessage
RefactoringBrowser(Browser)>>contents
PluggableTextMorph>>getText
PluggableTextMorph>>update:
[] in RefactoringBrowser(Object)>>changed: {[:aDependent | aDependent
update: aParameter]}
DependentsArray>>do:
RefactoringBrowser(Object)>>changed:
RefactoringBrowser(Object)>>contentsChanged
RefactoringBrowser(CodeHolder)>>contentsChanged
RefactoringBrowser(Browser)>>messageListIndex:
PluggableListMorph>>changeModelSelection:
PluggableListMorph>>mouseUp:
PluggableListMorph(Morph)>>handleMouseUp:
MouseButtonEvent>>sentTo:
PluggableListMorph(Morph)>>handleEvent:
PluggableListMorph(Morph)>>handleFocusEvent:
[] in HandMorph>>sendFocusEvent:to:clear: {[ActiveHand := self.
ActiveEvent := anEvent. result := focusHolder han...]}
[] in PasteUpMorph>>becomeActiveDuring: {[aBlock value]}
BlockContext>>on:do:
PasteUpMorph>>becomeActiveDuring:
HandMorph>>sendFocusEvent:to:clear:
HandMorph>>sendEvent:focus:clear:
HandMorph>>sendMouseEvent:
HandMorph>>handleEvent:
HandMorph>>processEvents
[] in WorldState>>doOneCycleNowFor: {[:h | ActiveHand := h. h
processEvents. capturingGesture := capturingGest...]}
Array(SequenceableCollection)>>do:
WorldState>>handsDo:
WorldState>>doOneCycleNowFor:
WorldState>>doOneCycleFor:
PasteUpMorph>>doOneCycle
[] in Project class>>spawnNewProcess {[[World doOneCycle. Processor
yield. false] whileFalse. nil]}
...etc...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: RB-maybeJoinLinesFrom-fix.1.cs.gz
Type: application/x-gzip
Size: 452 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20050326/f89586c4/RB-maybeJoinLinesFrom-fix.1.cs.bin
More information about the Squeak-dev
mailing list
|