`TextEditChange` should have an `is_final` field like `ValueChange` does.

Open Beginner friendly
#26,500 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
rust

Research direction

Find the definitions of TextEditChange and ValueChange and compare how each represents edits. Read the existing tests for these change types first, then trace where text edit changes are produced and consumed. Done means TextEditChange exposes an is_final property that distinguishes intermediate edits, with tests covering the behavior.

Written by the indexing model from the issue text.

Description

C-Feature S-Needs-Triage

What problem does this solve or what need does it fill?

It's useful to be able to distinguish intermediate edits so that you don't recalculate expensive stuff while you are typing.

What solution would you like?

An is_final property like ValueChange has.

What alternative(s) have you considered?

Adding my own enter-key and focus loss observers.

Dominant language
Rust
Stars
49.8k
Forks
5.1k
Avg merge
3d 4h
Merged PRs (30d)
136

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from bevyengine/bevy

All issues in bevyengine/bevy

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.