summaryrefslogtreecommitdiff
path: root/scene/gui/line_edit.cpp
AgeCommit message (Collapse)Author
2021-05-07Display arrow cursor if text is not editablekobewi
2021-05-04Rename `doubleclick` to `double_click`Aaron Franke
2021-04-28Fixed issues with LineEdit Delete Word & Backspace Word.EricEzaM
Backspace word was deleting all text before the cursor, and delete word was no updating until another action was performed on the LineEdit (in order to update it)
2021-04-17Rename LineEdit caret_* properties getters and setters to match propertyMarcel Admiraal
2021-04-08Fix LineEdit undo behaves strangelyray90514
2021-04-05Fix crashes in *_input functionsRafał Mikrut
2021-03-23Rename ButtonList enum and members to MouseButtonAaron Franke
2021-03-12Fixes small typos and grammar correctionAnshul7sp1
2021-03-11Add IME support checks in LineEdit/TextEdit.Fabio Alessandrelli
Avoid spamming "IME is unsupported" when the DisplayServer report it as such.
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-16Fix minimum_character_width in LineEditGilles Roudière
2021-02-14[CTL] Add missing font outline drawing routines and theme constants.bruvzg
2021-02-12Fix LineEdit minimum widthreduz
-Changed theme setting name to make more sense of what it does -Reduced amount of minimum characters, so minimum size is smaller.
2021-02-12Use get_char_size(' ') to calculate space width.bruvzg
2021-02-10Removed _change_notifyreduz
-For inspector refresh, the inspector now detects if a property change by polling a few times per second and then does update the control if so. This process is very cheap. -For property list refresh, a new signal (property_list_changed) was added to Object. _change_notify() is replaced by notify_property_list_changed() -Changed all objects using the old method to the signal, or just deleted the calls to _change_notify(<property>) since they are unnecesary now.
2021-02-09Initialize class variables with default values in scene/ [2/2]Rafał Mikrut
2021-01-26Merge pull request #44349 from KoBeWi/drop_the_data!Rémi Verschelde
Allow to override drop data in LineEdit
2021-01-26Merge pull request #45369 from naithar/fix/line_edit_clear-4.0Rémi Verschelde
[4.0] [GUI] Fix LineEdit clearing
2021-01-26[GUI] Enforce virtual keyboard redisplay on clearSergey Minakov
2021-01-24Change themes *_color_* to *_*_colorMarcel Admiraal
Changed: font_color_accel -> font_accelerator_color font_color_bg -> font_unselected_color font_color_disabled -> font_disabled_color font_color_fg -> font_selected_color font_color_hover -> font_hover_color font_color_hover_pressed -> font_hover_pressed_color font_color_pressed -> font_pressed_color font_color_readonly -> font_readonly_color font_color_selected -> font_selected_color font_color_shadow -> font_shadow_color font_color_uneditable -> font_uneditable_color icon_color_disabled -> icon_disabled_color icon_color_hover -> icon_hover_color icon_color_hover_pressed -> icon_hover_pressed_color icon_color_normal -> icon_normal_color icon_color_pressed -> icon_pressed_color Also includes: font_outline_modulate -> font_outline_color tab_fg -> tab_selected tab_bg -> tab_unselected
2021-01-05Revert "solved ctrl + alt + special character Issue #6851"Rémi Verschelde
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-12-28Rename empty() to is_empty()Marcel Admiraal
2020-12-23Rename Control margin to offsetMarcel Admiraal
2020-12-13Allow to override drop data in LineEditkobewi
2020-12-09Static analyzer fixes:bruvzg
Removes unused code in OS. Fixes return types. Fixes few typos.
2020-12-07[Complex Text Layouts] Performance optimizations.bruvzg
2020-12-06[Complex Text Layouts] Align glyph offsets and advances to the pixel grid.bruvzg
2020-12-06[Complex Text Layouts] Adds missing Font::SPACING_* to the Label, LineEdit, ↵bruvzg
TextEdit, TextLine and TextParagraph. Fixes oversized editor control height (default editor spacing is negative) and control size changing when text is set.
2020-11-26[Complex Text Layouts] Refactor Label and LineEdit controls.bruvzg
2020-11-26[Complex Text Layouts] Refactor Font class, default themes and controls to ↵bruvzg
use Text Server interface. Implement interface mirroring. Add TextLine and TextParagraph classes. Handle UTF-16 input on macOS and Windows.
2020-11-25Update clear button when clickedTomasz Chabora
2020-11-11Merge pull request #43449 from nekomatata/line_edit_window_posRémi Verschelde
Expose LineEdit scroll offset to scripts
2020-11-11Expose LineEdit scroll offset to scriptsPouleyKetchoupp
2020-11-07Reorganized core/ directory, it was too fatty alreadyreduz
-Removed FuncRef, since Callable makes it obsolete -Removed int_types.h as its obsolete in c++11+ -Changed color names code
2020-09-08Merge pull request #41870 from nekomatata/fix-line-edit-enter-regressionRémi Verschelde
Fix LineEdit not consuming enter events
2020-09-08Fix LineEdit not consuming enter eventsPouleyKetchoupp
LineEdit should not return early when processing KEY_ENTER, so it can consume the event properly. Regression introduced by mistake while fixing enter events for Android (PR #40487 - c0b394572f35498801571ad7176eb357d5de1bf3)
2020-09-03[Complex Test Layouts] Change `String` to use UTF-32 encoding on all platforms.bruvzg
2020-09-01Revert "Updated LineEdit to address #41278"Rémi Verschelde
This reverts commit 71febfd6e2f6187fcc106ce715124cf173bfa0b8.
2020-08-26Updated LineEdit to address #41278Tony-Goat
Updated set_max_length() function to actually pull a substring of the current text so it's not all thrown away when the new max length is shorter than the current length.
2020-08-14Merge pull request #37769 from HellonLegs/masterRémi Verschelde
solved ctrl + alt + special character Issue #6851
2020-07-26Fix Return key events in LineEdit & TextEdit on AndroidPouleyKetchoupp
Depending on the device implementation, editor actions could be received with different action ids or not at all for multi-line. Added a parameter to virtual keyboards to properly handle single-line and multi-line cases in all situations. Single-line: Input type set to text without multiline to make sure actions are sent. IME options are set to DONE action to force action id consistency. Multi-line: Input type set to text and multiline to make sure enter triggers new lines. Actions are disabled by the multiline flag, so '\n' characters are handled in text changed callbacks.
2020-07-23Merge pull request #39737 from Cevantime/add_force_caret_displayed_to_line_editRémi Verschelde
add force caret display to line edit
2020-07-22Add option to disable virtual keyboard for LineEditPouleyKetchoupp
Co-authored-by: Alexander Holland <alexander.holland@live.de>
2020-07-15add force caret display to line editCevantime
2020-07-01Fix some popups menu missing screen transform.Juan Linietsky
Closes #38591
2020-06-30Add a separate application focus/in notification out from Window focus ↵Juan Linietsky
notification.