Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ToTextField: Error when replacing text from a handler of AlbTextInsertedEvent #221

Open
tinchodias opened this issue Nov 13, 2024 · 1 comment

Comments

@tinchodias
Copy link
Collaborator

First, evaluate in a Workspace:

filterField := ToTextField new.

filterField
	addEventHandlerOn: AlbTextInsertedEvent
	do: [ :evt |
		evt target text: (String new: evt text size withAll: $*) asRopedText.
		1halt ].

filterField openInSpace.

Second, click on the text field, type a character.
Then, "Proceed" once, to get "NotFound: an AlbTextEditorHistoryCompositeCommand not found in OrderedCollection":

Screenshot 2024-11-13 at 17 49 37
@tinchodias
Copy link
Collaborator Author

tinchodias commented Nov 13, 2024

@plantec I was working on aToPasswordFieldEventHandler as a proposal for #202

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant