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

Fix incorrectly copy-pasted documentation for InputTextFlags.CALLBACK_EDIT #572

Merged
merged 1 commit into from Nov 24, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion imgui/src/input_widget.rs
Expand Up @@ -28,7 +28,8 @@ bitflags!(
const CALLBACK_COMPLETION = sys::ImGuiInputTextFlags_CallbackCompletion;
/// Call user function on pressing Up/Down arrows (for history handling)
const CALLBACK_HISTORY = sys::ImGuiInputTextFlags_CallbackHistory;
/// Call user function on pressing Up/Down arrows (for history handling)
/// Callback on any edit (note that InputText() already returns true on edit, the callback
/// is useful mainly to manipulate the underlying buffer while focus is active)
const CALLBACK_EDIT = sys::ImGuiInputTextFlags_CallbackEdit;
/// Call user function every time. User code may query cursor position, modify text buffer.
const CALLBACK_ALWAYS = sys::ImGuiInputTextFlags_CallbackAlways;
Expand Down