Skip to content

Commit

Permalink
I missed this?
Browse files Browse the repository at this point in the history
  • Loading branch information
estebanlm committed Nov 7, 2024
1 parent 1b290cb commit 680b109
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/Spec2-Adapters-Morphic/SpMorphicTextAdapter.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ SpMorphicTextAdapter >> accept: aString notifying: aNotifyier [
notifying: aNotifyier
]

{ #category : 'widget API' }
SpMorphicTextAdapter >> addExtraActionsTo: actionGroup [

"override to add extra actions between user defined and edition"
]

{ #category : 'initialization' }
SpMorphicTextAdapter >> addFocusRotationKeyBindings [
"Text areas needs to be able to process tab. Cancel the binding."
Expand Down Expand Up @@ -91,9 +97,10 @@ SpMorphicTextAdapter >> codePaneMenu: aMenu shifted: shifted [

self presenter internalActions ifNotNil: [ :group |
actionGroup add: group beRoot ].
self addExtraActionsTo: actionGroup.
self presenter actions ifNotNil: [ :group |
actionGroup add: group beRoot ].
self presenter hasEditionContextMenu ifTrue: [
self presenter hasEditionContextMenu ifTrue: [
actionGroup add: self presenter editionCommandsGroup beRoot ].

menuPresenter := self presenter newMenu.
Expand Down

0 comments on commit 680b109

Please sign in to comment.