You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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 ]
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
The text was updated successfully, but these errors were encountered: