Skip to content

Commit

Permalink
auto deprec change
Browse files Browse the repository at this point in the history
  • Loading branch information
plantec committed Dec 24, 2023
1 parent d16d812 commit b838470
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/Album/AlbInfiniteEditorElement.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,9 @@ AlbInfiniteEditorElement >> textSnapshot [
{ #category : 'accessing - editor' }
AlbInfiniteEditorElement >> whenEditorChangedDo: aBlock [

self when: AlbTextEditorReplacedEvent do: aBlock
self addEventHandler: (BlEventHandler
on: AlbTextEditorReplacedEvent
do: aBlock)
]

{ #category : 'view - configuration' }
Expand All @@ -640,7 +642,9 @@ AlbInfiniteEditorElement >> whenTextEditedDo: aBlock [
{ #category : 'view - configuration' }
AlbInfiniteEditorElement >> whenTextReplacedDo: aBlock [

self editor when: AlbTextReplacedEvent do: aBlock
self editor addEventHandler: (BlEventHandler
on: AlbTextReplacedEvent
do: aBlock)
]

{ #category : 'view - configuration' }
Expand Down

0 comments on commit b838470

Please sign in to comment.