summaryrefslogtreecommitdiff
path: root/scene/gui/line_edit.h
AgeCommit message (Collapse)Author
2022-12-05Merge pull request #67123 from ↵Rémi Verschelde
Rindbee/improve-caret-draw-conditions-for-LineEdit Improve caret drawing conditions for `LineEdit`
2022-10-29Allow selecting SpinBox & LineEdit text when focus entersHaoyu Qiu
2022-10-09Improve caret drawing conditions for `LineEdit`Rindbee
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.
2022-10-03Add searching by event for Editor Settings shortcuts and Project Settings ↵EricEzaM
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.
2022-09-06Rename every instance of `caret_blink_speed` to `caret_blink_interval`Micky
It's been changed in EditorSettings, LineEdit, TextEdit. Affects setters and getters, and passed parameters, too.
2022-09-02Fix theme propagation in various parts of the editorYuri Sizov
2022-09-01Add a lifecycle method for manual theme item caching to ControlYuri Sizov
2022-08-26Merge pull request #62771 from bruvzg/line_edit_trimRémi Verschelde
2022-08-22Make `_validate_property` a multilevel methodYuri Sizov
2022-08-11Change LineEdit secret character from "*" to "•".bruvzg
2022-08-04Add support for multiple virtual keyboard typesBrian Semrau
2022-07-25Code quality: Fix header guards consistencyRémi Verschelde
Adds `header_guards.sh` bash script, used in CI to validate future changes. Can be run locally to fix invalid header guards.
2022-07-10Fix LineEdit text incorrectly trimmed due to rounding errors.bruvzg
2022-07-06Refactor Font configuration and import UI, and Font resources.bruvzg
2022-07-05Change LineEdit caret blink to use processNolkaloid
Now using internal process for blinking instead of a Timer node
2022-05-13Add ALT NUM+ {hex code} character input support for LineEdit, TextEdit and ↵bruvzg
CodeEdit.
2022-04-22Implement Label3D node.bruvzg
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.
2022-04-05[Input] Add extra `shortcut_input` input processing step to process Unicode ↵bruvzg
character input with Alt / Ctrl modifiers, after processing of shortcuts.
2022-03-04Add optional constructor arguments to more Control nodesHugo Locurcio
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.
2022-01-30Move placeholder color to theme itemPaulb23
2022-01-09[TextServer] Improve ligature cursor handling.bruvzg
Fix mid-grapheme hit test. Fix OpenType features property handling, add default features override option. Enable mid-grapheme cursor by default.
2022-01-03Update copyright statements to 2022Rémi Verschelde
Happy new year to the wonderful Godot community!
2021-12-09align to horizontal_alignment, valign to vertical_alignment, relatedNathan Franke
2021-11-15Fix drag and drop on LineEditConteZero
2021-11-12Use "enum class" for input enumsAaron Franke
2021-10-31Add functions for getting name and font style from dynamic and bitmap fonts.bruvzg
Add font selection toolbar editor plugin.
2021-10-27Merge pull request #54166 from ConteZero/unique_selectionRémi Verschelde
2021-10-27Add option to make selection uniqueConteZero
2021-10-21Remove unimplemented methodsMarcel Admiraal
2021-10-18Added primary clipboard for LinuxConteZero
2021-09-29Merge pull request #53000 from Chaosus/lineedit_expose_selection_methodsRémi Verschelde
2021-09-26Fix LineEdit and TextEdit double-click and triple-click selectionjmb462
2021-09-24Add selection getter methods to `LineEdit` Yuri Roubinsky
2021-08-23Entirely removes BIND_VMETHOD in favor of GDVIRTUALreduz
* `_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.
2021-08-17Improve Undo/Redo menu itemsHaoyu Qiu
* 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.
2021-07-19Optimize LineEdit and TextEdit menu item generation.bruvzg
2021-07-17Create many types of popups on demandreduz
* LineEdit popups created on demand. * TextEdit popups created on demand. * SpinSlider popups created on demand. * ResourcePicker popups created on demand. Improves editor responsiveness.
2021-05-04Rename `doubleclick` to `double_click`Aaron Franke
2021-04-17Rename LineEdit caret_* properties getters and setters to match propertyMarcel Admiraal
2021-03-07Merge pull request #46643 from YeldhamDev/hide_all_the_thingsRémi Verschelde
Hide more options of disabled properties
2021-03-03Hide more options of disabled propertiesMichael Alexsander
2021-03-01LineEdit: Now double click to select a word, and triple click to select all ↵Mateo Kuruk Miccino
the content using the new TextServer TextEdit: Update the method to search words with the new TextServer
2021-02-18Removed hardcoded shortcuts from /scene and converted to input actionsEric M
This removes hardcoded actions from things like LineEdit and TextEdit. Previously, things like copy, paste, etc were all hardcoded to Ctrl+C, Ctrl+V, etc. They could not be changed. This allows the possibility of them being changed, by making them use the action map. This has the added benefit of greatly simplifying the input handling logic in those controls. The logic which was previously in a huge and hard to follow switch statement has been extracted to individual methods.
2021-02-09Initialize class variables with default values in scene/ [2/2]Rafał Mikrut
2021-01-26[GUI] Enforce virtual keyboard redisplay on clearSergey Minakov
2021-01-01Update copyright statements to 2021Rémi Verschelde
Happy new year to the wonderful Godot community! 2020 has been a tough year for most of us personally, but a good year for Godot development nonetheless with a huge amount of work done towards Godot 4.0 and great improvements backported to the long-lived 3.2 branch. We've had close to 400 contributors to engine code this year, authoring near 7,000 commit! (And that's only for the `master` branch and for the engine code, there's a lot more when counting docs, demos and other first-party repos.) Here's to a great year 2021 for all Godot users 🎆
2020-11-26[Complex Text Layouts] Refactor Label and LineEdit controls.bruvzg
2020-11-16Remove empty lines around braces with the formatting scriptAaron Franke
2020-11-11Expose LineEdit scroll offset to scriptsPouleyKetchoupp
2020-07-23Merge pull request #39737 from Cevantime/add_force_caret_displayed_to_line_editRémi Verschelde
add force caret display to line edit