#whenCursorPositionChangedDo: can't find slot #cursorPosition
Bug description SpTextPresenter>>whenCursorPositionChangedDo: should send an event when the cursor position of the text widget changed. However, instead it gets a walkback.
To Reproduce
Implement #connectPresenters and send #whenCursorPositionChangedDo: to an instance of SpTextPresenter with a block to do something.
Open text presenter
See walkback. [ SlotNotFound signalForName: aName ] in LayoutClassScope(AbstractLayoutScope)>>resolveSlot: in Block: [ SlotNotFound signalForName: aName ]
connectPresenters
super connectPresenters.
self whenCursorPositionChangedDo: [
Transcript
cr;
print: 'cursor position changed';
flush ]
Expected behavior An announcement of the changed cursor position would be desirable.
Stack 20240619_cursorPosition_walkback.txt
Version information: Pharo 11.0.0 Build information: Pharo-11.0.0+build.714.sha.0ead11d0b8573ff685db8a39fceeca2a8d528d3e (64 Bit)
Expected development cost Unknown
Additional context None