summaryrefslogtreecommitdiffstats
path: root/scene/gui/line_edit.h
Commit message (Collapse)AuthorAgeFilesLines
* Expose `LineEdit` `edit` and `unedit` methods.Mounir Tohami2024-10-041-3/+2
|
* Add Control+Shift+U (rebindabe) action for Unicode input, show hex as it is ↵bruvzg2024-09-121-0/+8
| | | | entered.
* Prevent `LineEdit` from losing focus when text is submitted or rejected.Mounir Tohami2024-09-101-0/+6
|
* Revert "Update Node::get_configuration_warnings signature"Rémi Verschelde2024-02-171-1/+1
| | | | This reverts commit d3852deaa450d77edb30df2bb1c77bd7bc45befc.
* Update Node::get_configuration_warnings signatureRedMser2024-02-081-1/+1
|
* Make LineEdit secret character easier to change and enterjsjtxietian2023-10-191-0/+2
| | | | | | | 1. Allow values longer than 1 character in the property, but trim characters after the first one. 2. Allow empty strings, this acts like if a space was used as a secret character, so that an error isn't printed when you erase all characters in the property.
* Register theme properties with ThemeDBYuri Sizov2023-09-111-2/+4
|
* [TextServer] Fix system font fallback and caret/selection behavior for ↵bruvzg2023-08-151-1/+1
| | | | composite characters.
* Add drag and drop option for line edit and rich text labelunknown2023-07-191-0/+4
|
* Preserve selection when focusing SpinBoxkobewi2023-06-101-0/+1
|
* Implement LineEdit.get_selected_text()VolTer2023-03-301-0/+1
|
* Fix `LineEdit` and `TextEdit` context menus not customizableDanil Alexeev2023-01-271-2/+4
|
* One Copyright Update to rule them allRémi Verschelde2023-01-051-29/+29
| | | | | | | | | | | | | | | | | | | | As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
* Merge pull request #67123 from ↵Rémi Verschelde2022-12-051-1/+2
|\ | | | | | | | | | | Rindbee/improve-caret-draw-conditions-for-LineEdit Improve caret drawing conditions for `LineEdit`
| * Improve caret drawing conditions for `LineEdit`Rindbee2022-10-091-1/+2
| | | | | | | | | | | | | | | | | | | | | | Now, `caret_can_draw` will be validated when a condition that affects the drawability of the `LineEdit`'s caret changes; `draw_caret` will be toggled when the caret's visibility is toggled due to blink, and `draw_caret` will be `false` when `caret_blink_enabled` is disabled. Fix toggling `caret_blink_enabled` could cause caret to no longer be displayed. Fix opening the context menu causing caret to no longer appear.
* | Allow selecting SpinBox & LineEdit text when focus entersHaoyu Qiu2022-10-291-0/+7
|/
* Add searching by event for Editor Settings shortcuts and Project Settings ↵EricEzaM2022-10-031-2/+1
| | | | | | | | | | input map. * Focus into the LineEdit, then perform input to search the list of events by the events assigned. * New specialised editor-only control for this: EventListenerLineEdit. Line edit is a good candidate for such a control because you can focus it, override it's input handling, and show the event all in one control. Update InputEventConfigurationDialog to use event listener line edit rather than the separate tabs. * Cleaner look - no need for tabs. * Simpler code.
* Rename every instance of `caret_blink_speed` to `caret_blink_interval`Micky2022-09-061-3/+3
| | | | | | It's been changed in EditorSettings, LineEdit, TextEdit. Affects setters and getters, and passed parameters, too.
* Fix theme propagation in various parts of the editorYuri Sizov2022-09-021-1/+1
|
* Add a lifecycle method for manual theme item caching to ControlYuri Sizov2022-09-011-0/+26
|
* Merge pull request #62771 from bruvzg/line_edit_trimRémi Verschelde2022-08-261-6/+5
|\
| * Fix LineEdit text incorrectly trimmed due to rounding errors.bruvzg2022-07-101-6/+5
| |
* | Make `_validate_property` a multilevel methodYuri Sizov2022-08-221-1/+1
| |
* | Change LineEdit secret character from "*" to "•".bruvzg2022-08-111-1/+1
| |
* | Add support for multiple virtual keyboard typesBrian Semrau2022-08-041-0/+16
| |
* | Code quality: Fix header guards consistencyRémi Verschelde2022-07-251-1/+1
|/ | | | | Adds `header_guards.sh` bash script, used in CI to validate future changes. Can be run locally to fix invalid header guards.
* Refactor Font configuration and import UI, and Font resources.bruvzg2022-07-061-8/+0
|
* Change LineEdit caret blink to use processNolkaloid2022-07-051-1/+3
| | | | Now using internal process for blinking instead of a Timer node
* Add ALT NUM+ {hex code} character input support for LineEdit, TextEdit and ↵bruvzg2022-05-131-0/+3
| | | | CodeEdit.
* Implement Label3D node.bruvzg2022-04-221-3/+3
| | | | | | | | | Add "generate_mipmap" font import option. Add some missing features to the Sprite3D. Move BiDi override code from Control to TextServer. Add functions to access TextServer font cache textures. Add MSDF related flags and shader to the standard material. Change standard material cache to use HashMap instead of Vector.
* [Input] Add extra `shortcut_input` input processing step to process Unicode ↵bruvzg2022-04-051-0/+1
| | | | character input with Alt / Ctrl modifiers, after processing of shortcuts.
* Add optional constructor arguments to more Control nodesHugo Locurcio2022-03-041-1/+1
| | | | | | | | | This can be used to make editor code more compact. However, as of writing, these constructor arguments cannot be used from the scripting API. This was already provided for Label and CheckBox, but it was missing for other Control nodes where it made sense to provide a default value.
* Move placeholder color to theme itemPaulb232022-01-301-4/+0
|
* [TextServer] Improve ligature cursor handling.bruvzg2022-01-091-1/+1
| | | | | | Fix mid-grapheme hit test. Fix OpenType features property handling, add default features override option. Enable mid-grapheme cursor by default.
* Update copyright statements to 2022Rémi Verschelde2022-01-031-2/+2
| | | | Happy new year to the wonderful Godot community!
* align to horizontal_alignment, valign to vertical_alignment, relatedNathan Franke2021-12-091-11/+3
|
* Fix drag and drop on LineEditConteZero2021-11-151-0/+3
|
* Use "enum class" for input enumsAaron Franke2021-11-121-1/+1
|
* Add functions for getting name and font style from dynamic and bitmap fonts.bruvzg2021-10-311-0/+4
| | | | Add font selection toolbar editor plugin.
* Merge pull request #54166 from ConteZero/unique_selectionRémi Verschelde2021-10-271-0/+4
|\
| * Add option to make selection uniqueConteZero2021-10-271-0/+4
| |
* | Remove unimplemented methodsMarcel Admiraal2021-10-211-1/+0
|/
* Added primary clipboard for LinuxConteZero2021-10-181-0/+5
|
* Merge pull request #53000 from Chaosus/lineedit_expose_selection_methodsRémi Verschelde2021-09-291-0/+3
|\
| * Add selection getter methods to `LineEdit` Yuri Roubinsky2021-09-241-0/+3
| |
* | Fix LineEdit and TextEdit double-click and triple-click selectionjmb4622021-09-261-1/+3
|/
* Entirely removes BIND_VMETHOD in favor of GDVIRTUALreduz2021-08-231-1/+1
| | | | | | | | * `_gui_input`, `_input`, `_unhandled_input` and `_unhandled_key_input` are now regular C++ virutal functions. * Everything else converted to GDVIRTUAL * BIND_VMETHOD is gone, always use the new syntax from now on. Creating `_gui_input` method and using the binder to register events will no longer work, simply override the virtual function now.
* Improve Undo/Redo menu itemsHaoyu Qiu2021-08-171-0/+2
| | | | | | | | | | | * Make Undo/Redo menu items disabled when clicking it does nothing. * Context menu of `TextEdit` * Context menu of `LineEdit` * Editor's Scene menu * Script editor's Edit menu and context menu (for Script and Text) * Make editor undo/redo log messages translatable. * Mark `UndoRedo`'s `has_{un,re}do()` methods as `const`. * Expose `TextEdit`'s `has_{un,re}do()` to scripts since `{un,re}do()` are already available.
* Optimize LineEdit and TextEdit menu item generation.bruvzg2021-07-191-1/+0
|
* Create many types of popups on demandreduz2021-07-171-0/+3
| | | | | | | | | * LineEdit popups created on demand. * TextEdit popups created on demand. * SpinSlider popups created on demand. * ResourcePicker popups created on demand. Improves editor responsiveness.