return whole source code when selected interval is empty
retrieve selector from method when none selector is specified
"{ Package: 'jn:refactoring_custom' }"
CustomSourceCodeFormatter subclass:#CustomNoneSourceCodeFormatter
instanceVariableNames:''
classVariableNames:''
poolDictionaries:''
category:'Interface-Refactoring-Custom'
!
!CustomNoneSourceCodeFormatter methodsFor:'formatting'!
formatParseTree:aParseTree
"Returns parse tree with (possibly) original/unchanged formatting"
aParseTree source isNil ifTrue:[
"no source - try to build from parse tree "
^ aParseTree formattedCode
] ifFalse: [
^ aParseTree source
]
"Modified: / 29-08-2014 / 22:26:22 / Jakub Nesveda <nesvejak@fit.cvut.cz>"
! !