Line up #ifTrue:ifFalse:
If this option is enabled, ifTrue:ifFalse: is lined up.
Several related options that help you obtain your preferred formatting of #ifTrue:ifFalse:. These include:
•indent #ifFalse: (when not lined up) (in the Conditional Statements category)
•apply the rule (line up #ifTrue:ifFalse:) to all (in the Conditional Statements category)
•start square brackets on the same line (in the Brackets category)
OFF
(do not line up)
self isEnabled ifTrue: [
self setPositionTo: 12 usingGlobalFactorOf: 15]
ifFalse: [
self setPositionTo: 10 usingGlobalFactorOf: 10]
ON
(line up)
self isEnabled
ifTrue: [self setPositionTo: 12 usingGlobalFactorOf: 15]
ifFalse: [self setPositionTo: 10 usingGlobalFactorOf: 10]
xx
If this option is enabled and ifTrue:ifFalse: is not lined up, ifFalse: is indented.
Several related options help you obtain your preferred formatting of #ifTrue:ifFalse:. These include:
•line up #ifTrue:ifFalse: (in the category Conditional Statements)
•apply rule (line up #ifTrue:ifFalse:) to all (in the Conditional Statements category)
•start square brackets on the same line (in the Brackets category)
OFF
(do not indent)
self isEnabled ifTrue: [
self setPositionTo: 12 usingGlobalFactorOf: 15]
ifFalse: [
self setPositionTo: 10 usingGlobalFactorOf: 10]
ON
(indent)
self isEnabled ifTrue: [
self setPositionTo: 12 usingGlobalFactorOf: 15]
ifFalse: [
self setPositionTo: 10 usingGlobalFactorOf: 10]
Last modified date: 06/30/2015