Skip to content

Commit 4e1664e

Browse files
committed
Fix docs
1 parent 3b0424e commit 4e1664e

File tree

3 files changed

+1
-19
lines changed

3 files changed

+1
-19
lines changed

crates/bevy_text/src/input/mod.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,8 @@
3030
//! Several components are used to configure the text input, and belong on the [`TextInputBuffer`] entity:
3131
//!
3232
//! * [`TextInputAttributes`] - Common text input properties set by the user, such as font, font size, line height, justification, maximum characters etc.
33-
//! * [`TextInputFilter`] - Optional component that can be added to restrict the text input to certain formats, such as integers, decimals, hexadecimal etc.
34-
//! * [`PasswordMask`] - Optional component that can be added to hide the text input buffer contents by replacing the characters with a mask character.
3533
//! * [`Placeholder`] - Optional component that can be added to display placeholder text when the input buffer is empty.
3634
//! * [`CursorBlink`] - Optional component that controls cursor blinking.
37-
//!
38-
//! ## Copy-paste and clipboard support
39-
//!
40-
//! The clipboard support provided by this module is very basic, and only works within the `bevy` app,
41-
//! storing a simple [`String`].
42-
//!
43-
//! It can be accessed via the [`Clipboard`] resource.
4435
4536
use bevy_ecs::schedule::SystemSet;
4637
pub use cosmic_text::Motion;

crates/bevy_text/src/input/text_edit.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,6 @@ pub fn apply_text_edits(
174174
/// Error emitted by [`apply_text_edit`] when it fails to apply a [`TextEdit`].
175175
#[derive(Debug, Clone)]
176176
pub enum InvalidTextEditError {
177-
/// Applying the edit would cause the text to fail its [`TextInputFilter`].
178-
Filtered,
179177
/// Applying the edit would cause the text to be longer than its maximum character limit.
180178
Overflowed,
181179
}

release-content/release-notes/bevy_text_input_module.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,10 @@ A long-standing feature request from our users is support for text input. Whethe
99
Features:
1010

1111
* Placeholder text for empty inputs.
12-
* Password mode.
13-
* Filters applied at edit.
14-
* Autopropagated events emitted on submission, invalid edits and text changes.
12+
* Autopropagated events emitted on invalid edits and text changes.
1513
* Input method agnostic, users queue `TextEdit`s to make changes to the text input's buffer.
1614
* Max character limit.
17-
* Responsive height sizing.
18-
* Vertical and horizontal scrolling
1915
* Text selection.
20-
* Cut, copy and paste.
21-
* Numeric input mode.
22-
* Multi-line text input with an optional single line mode.
2316
* Support for the common navigation actions like arrow key navigation, home, end, page down, page up, next word, end of paragraph, etc.
2417
* Backspace.
2518
* Overwrite mode.

0 commit comments

Comments
 (0)