Skip to content

Commit

Permalink
Comment out for now the coder resizer as we are not using it. add a p…
Browse files Browse the repository at this point in the history
…adding to the bottom of the coder editor to allow for highlighting to be visible. feenkcom/gtoolkit#238
  • Loading branch information
girba committed Apr 11, 2019
1 parent ef43abb commit 10ff054
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/GToolkit-Coder/GtCoderMethodBodyElement.class.st
Expand Up @@ -26,6 +26,7 @@ GtCoderMethodBodyElement >> editorElement [
c horizontal matchParent.
c vertical fitContent ].
anEditorElement := BrEditorElement new.
anEditorElement padding: (BlInsets top: 0 left: 0 bottom: 2 right: 0).
anEditorElement
constraintsDo: [ :c |
c horizontal matchParent.
Expand Down
6 changes: 3 additions & 3 deletions src/GToolkit-Coder/GtCoderMethodElement.class.st
Expand Up @@ -94,14 +94,14 @@ GtCoderMethodElement >> initialize [
(BrInteractiveLook new
style: [ :aStyler |
aStyler
default: [ resizer removeFromParent.
default: [ "resizer removeFromParent."
self background: Color transparent ].
aStyler
expanded: [ self addChild: resizer.
expanded: [ "self addChild: resizer.
self enqueueTask: (BlTaskAction new action: [ self
childNamed: #bodyEditor
ifFound: [ :anEditor | resizer target: anEditor ]
ifNone: [ resizer target: nil ] ]).
ifNone: [ resizer target: nil ] ])."
self background: Color white ] ]).
self
addShortcut:
Expand Down

0 comments on commit 10ff054

Please sign in to comment.