summaryrefslogtreecommitdiff
path: root/scene/gui/line_edit.cpp
AgeCommit message (Collapse)Author
2020-02-27Merge pull request #36050 from eswartz/line-edit-move-cursor-on-unselectRémi Verschelde
Use left/right arrow to move cursor when unselecting in LineEdit
2020-02-25Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT.Juan Linietsky
- Renames PackedIntArray to PackedInt32Array. - Renames PackedFloatArray to PackedFloat32Array. - Adds PackedInt64Array and PackedFloat64Array. - Renames Variant::REAL to Variant::FLOAT for consistency. Packed arrays are for storing large amount of data and creating stuff like meshes, buffers. textures, etc. Forcing them to be 64 is a huge waste of memory. That said, many users requested the ability to have 64 bits packed arrays for their games, so this is just an optional added type. For Variant, the float datatype is always 64 bits, and exposed as `float`. We still have `real_t` which is the datatype that can change from 32 to 64 bits depending on a compile flag (not entirely working right now, but that's the idea). It affects math related datatypes and code only. Neither Variant nor PackedArray make use of real_t, which is only intended for math precision, so the term is removed from there to keep only float.
2020-02-23Replace FALLTHROUGH macro by C++17 [[fallthrough]]Rémi Verschelde
This attribute is now part of the standard we target so we no longer need compiler-specific hacks. Also enables -Wimplicit-fallthrough for Clang now that we can properly support it. It's already on by default for GCC's -Wextra. Fixes new warnings raised by Clang's -Wimplicit-fallthrough.
2020-02-20Reworked signal connection system, added support for Callable and Signal ↵Juan Linietsky
objects and made them default.
2020-02-15Use left/right arrow to move cursor when unselecting in LineEditEd Swartz
-- useful for rename dialog (the filename portion is selected by default, and usually, want to change the end of the name, not the beginning)
2020-02-11Texture refactorJuan Linietsky
-Texture renamed to Texture2D -TextureLayered as base now inherits 2Darray, cubemap and cubemap array -Removed all references to flags in textures (they will go in the shader) -Texture3D gone for now (will come back later done properly) -Create base rasterizer for RenderDevice, RasterizerRD
2020-02-09Merge pull request #35814 from timothyqiu/line-edit-shortcutRémi Verschelde
Adds CTRL-A CTRL-E support to LineEdit on macOS
2020-02-08Update cached_width of the line_edit element when setting it to be secretsumit0190
2020-02-01Adds CTRL-A CTRL-E support to LineEdit on macOSHaoyu Qiu
2020-01-23Android virtual keyboard respecting LineEdit max length.Bruno Lourenço
2020-01-15Updates LineEdit's min size when necessaryHaoyu Qiu
These properties will affect the minimum size of LineEdit: * The right icon (`set_right_icon`) * The clear button (`set_editable` and `set_clear_button_enabled`) * The text, when "expand to text length" is enabled (`set_text`)
2020-01-11Fix empty LineEdit crash on ctrl+backspacePaulb23
2020-01-10Add signal for LineEdit overflow eventTomasz Chabora
2020-01-01Update copyright statements to 2020Rémi Verschelde
Happy new year to the wonderful Godot community! We're starting a new decade with a well-established, non-profit, free and open source game engine, and tons of further improvements in the pipeline from hundreds of contributors. Godot will keep getting better, and we're looking forward to all the games that the community will keep developing and releasing with it.
2019-12-08Hide LineEdit placeholder if IME composition string is not empty.bruvzg
2019-12-01Fixed caret alignment with placeholder textPaulb23
2019-12-01Fixed LineEdit alignment when removing text or undo / redoPaulb23
2019-09-25Make LineEdit's minimal size adapt to its iconsMichael Alexsander Silva Dias
2019-09-24Merge pull request #31925 from bojidar-bg/31855-overriden-properties-docsRémi Verschelde
Add overriden properties to the documentation
2019-09-23Merge pull request #32048 from YeldhamDev/lineedit_right_icon_fixRémi Verschelde
Expose LineEdit's 'right_icon' and fix icon size
2019-09-22Merge pull request #29895 from ptrojahn/menukeyRémi Verschelde
Support menu key in TextEdit and LineEdit controls
2019-09-22Support menu key in TextEdit and LineEdit controlsPaul Trojahn
Related to #15542
2019-09-21Expose LineEdit's 'right_icon' and fix icon sizeMichael Alexsander Silva Dias
2019-09-19Merge pull request #31188 from codecustard/LineEdit_disable_shortcutsRémi Verschelde
Add Ability to Enable/Disable Shortcuts and Selection for LineEdit/TextEdit
2019-09-07Add Ability to Enable/Disable Shortcuts for LineEdit/TextEditEmmanuel Barroga
This PR adds the ability to enable/disable shortcut keys and selection for LineEdit/TextEdit. It also updates the context menu when you disable/enable the shortcut keys or selection.
2019-09-04Add overriden properties to the documentationBojidar Marinov
Fixes #31855
2019-09-04TextEdit & LineEdit caret blink timers run only when focused (fixes #31936)PouleyKetchoupp
2019-08-13Reorganize various menus for consistency and concisenessHugo Locurcio
- Clean up the recent scripts dialog to match the recent scenes dialog - Add "..." at the end of shortcuts that cause a modal dialog to appear This closes #31148.
2019-08-09Remove ERR_EXPLAIN from scene/* codeTomasz Chabora
2019-08-04Accept also right-click event in LineEditTomasz Chabora
2019-07-15Fix incorrect caret position when clicking a 'LineEdit' with a non-left ↵Michael Alexsander Silva Dias
alignment
2019-07-07Fixes minor issues found by static analyzerqarmin
2019-06-27Merge pull request #29941 from qarmin/redundant_code_and_othersRémi Verschelde
Remove redundant code, possible NULL pointers and others
2019-06-26Some code changed with Clang-Tidyqarmin
2019-06-25Merge pull request #30002 from GlaceGwyneth/masterRémi Verschelde
Give LineEdit/TextEdit a custom color for font while uneditable
2019-06-24Give LineEdit a custom font color when un-editableGwyneth Lowe
By default the LineEdit's text when editable is unchecked had some transparency hardcoded. This change adds a custom color to LineEdit for adjusting the font when editable is off. Addresses issue 29814
2019-06-24Line edit placeholders now react properly to translation changes.Florian Marchal
2019-06-11Fix third and fourth level (AltGr / ⌥ modifier) keys input in LineEdit.bruvzg
2019-06-03Merge pull request #26848 from ptrojahn/utf8navigationRémi Verschelde
Support UTF-8 in TextEdit and LineEdit navigation
2019-05-31Fix and expose String::strip_escapes(), use it in LineEdit pasteRémi Verschelde
Supersedes #27736.
2019-05-28Merge pull request #28726 from megalike/add_mac_os_hotkeys_leRémi Verschelde
Support Mac OS hotkeys in line_edit
2019-05-24Merge pull request #29067 from KoBeWi/spin_editRémi Verschelde
Pass mouse events to SpinBox from its LineEdit
2019-05-21Initialize readonly/editable in LineEdit and TextEdit controlsIbrahn Sahir
2019-05-21Pass mouse events to SpinBox from its LineEditTomasz Chabora
2019-05-15Fix leftover connection to the "Open" signal in FileSystemDockMichael Alexsander Silva Dias
Fixes #28903.
2019-05-06Support Mac OS hotkeys in line_editmegalike
2019-05-01Fix First Ctrl+R and Ctrl+F not showing long name variables correctlytheoniko
2019-04-30Merge pull request #28287 from YeldhamDev/text_editable_contextmenuRémi Verschelde
Make 'Line/TextEdit's context menus hide their editing options when in readonly mode
2019-04-29Make 'Line/TextEdit's context menus hide their editing options when in ↵Michael Alexsander Silva Dias
readonly mode Fixes #28243.
2019-04-29Make buttons that trigger popups have the same scaleMichael Alexsander Silva Dias