Skip to content

ExprEditor needs a uniform signal for change events #90

Open
@nrusch

Description

@nrusch

I'm working on a project that involves integrating the ExprEditor class into another application's UI, and I need to know when the expression text has changed in any way in order to dispatch change notifications to the host.

Currently, there seems to be no consistent signal emitted to indicate that the expression text has changed in some way; the only way to get a reliable notification is to manually hit Ctrl + Return.

A fairly straightforward (but possibly naive) approach to addressing this would be to call sendApply() from inside of exprChanged, but I wanted to solicit some more educated opinions here before going that route. Also, I think it might make to consider giving the signal a more self-documenting naming like exprChanged.

Any thoughts?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions