Navigation Menu

Skip to content

Commit

Permalink
verify the editor accepts a completion engine
Browse files Browse the repository at this point in the history
  • Loading branch information
estebanlm committed Jul 20, 2020
1 parent 7cedf25 commit 83ed3c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Spec2-Code-Morphic/SpMorphicCodeAdapter.class.st
Expand Up @@ -43,7 +43,6 @@ SpMorphicCodeAdapter >> buildWidget [
self presenter whenSyntaxHighlightChangedDo: [ :hasSyntaxHighlight |
self setEditingModeFor: newWidget ].


^ newWidget
]

Expand Down Expand Up @@ -211,6 +210,7 @@ SpMorphicCodeAdapter >> setEditingModeFor: textArea withBehavior: aBehavior forS
{ #category : #'widget API' }
SpMorphicCodeAdapter >> setInteractionModel: anInteractionModel to: w [

w textArea editor isSmalltalkEditor ifFalse: [ ^ self ].
w completionEngine: (self newCompletionEngine: anInteractionModel)
]

Expand Down

0 comments on commit 83ed3c9

Please sign in to comment.