summaryrefslogtreecommitdiff
path: root/scene/gui/line_edit.cpp
AgeCommit message (Collapse)Author
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
2019-04-22Merge pull request #28266 from coldrye-collaboration/gh-28241Rémi Verschelde
Fix LineEdit not expanded to text length on undo/redo
2019-04-21Call minimum_size_changed() on redo/undo if expand_to_text_length is trueCarsten Klein
Fixes #28241
2019-04-21Fix 'LineEdit' offset limit not accounting for the right/clear icon widthMichael Alexsander Silva Dias
Fully fixes #28242.
2019-04-20Fix 'LineEdit' contents not ending before the clear button if no right icon ↵Michael Alexsander Silva Dias
was set Fixes #28242.
2019-04-05Fix -Wimplicit-fallthrough warnings from GCC 8Rémi Verschelde
Adds `FALLTHROUGH` macro to specify when a fallthrough is intentional. Can be replaced by `[[fallthrough]]` if/when we switch to C++17. The warning is now enabled by default for GCC on `extra` warnings level (part of GCC's `-Wextra`). It's not enabled in Clang's `-Wextra` yet, but we could enable it manually once we switch to C++11. There's no equivalent feature in MSVC for now. Fixes #26135.
2019-03-31Fixed not deselecting when clearing lineedit.Paulb23
2019-03-09Support UTF-8 in TextEdit and LineEdit navigationPaul Trojahn
This allows jumps over whole non ASCII words with Ctrl+Left/Right in a LineEdit or TextEdit. Fixes #25681
2019-02-19Allow moving LineEdit visible window left by more than one symbol.Kārlis Seņko
2019-01-16Appease some CppCheck warns for files in the "scene" directoryMichael Alexsander Silva Dias
2019-01-08Update IME text only for focused input controls.bruvzg
2019-01-01Update copyright statements to 2019Rémi Verschelde
Happy new year to the wonderful Godot community!
2018-11-23Changes IME input to use notification instead of callback, exposes IME ↵bruvzg
methods to gdscript/gdnative.
2018-11-08-Moved EditorDefaultValue to ClassDB, made it coreJuan Linietsky
-Removed one and zero hints for properties, replaced by default value
2018-10-20Initialise LineEdit clear_button_status.Ibrahn Sahir
Avoiding undefined behaviour and cleaning up Valgrind output.
2018-10-04fix enum cast warnings on clangkarroffel
2018-09-12Make core/ includes absolute, remove subfolders from include pathRémi Verschelde
This allows more consistency in the manner we include core headers, where previously there would be a mix of absolute, relative and include path-dependent includes.
2018-08-24Disable ability to copy or cut text from LineEdit if secret mode is enabled.MidZik
2018-08-11Do not use theme to set LineEdit right_iconŁukasz Rutkowski
2018-08-11Add clear text button to LineEditŁukasz Rutkowski
- Add pressed state to clear button - Enable clear button on all inputs with search icon - Remove duplicate clear buttons - Fix rendering of icon for center and right alignments - Add clear button to more search fields - Add clear icon to default theme - Add method to control enabled state of clear button - Add property to enable clear button from inspector
2018-08-10Make line edit always vertically aligned, makes no sense otherwise. Fixes #17188Juan Linietsky
2018-07-26Make the caret thicker in TextEdit and scale it with the editor scaleHugo Locurcio
The caret in LineEdit is still 1 pixel thick, but it will become 2 pixels thick at editor scales higher than or equal to 150%.
2018-07-01Center text drawing in LineEditPaulb23
2018-06-18-Added AnimationGraphPlayer (still missing features)Juan Linietsky
-Added ability to edit resources from built-in inspector (wip, needs testing and feedback)
2018-06-13LineEdit IME position will now ignore placeholder text.Saracen
2018-06-11IME context detection.Saracen
2018-05-24Ensures CMD+left and CMD+right only valid for OSX.Anish
Fix in #18370 is now only valid for OSX and is reverted for other OS. Fixes #19042
2018-05-19fix for TextEdit::set_text firing signals it shouldn't.Ibrahn Sahir
Removing some _changed signals in set_ functions. Includes revert of commit 384625aa31a3627c25246e06c1fbc3019866765c
2018-05-08Perfect FreeType-based outlines for DynamicFontsRuslan Mustakov
- Implement outlines based on FreeType Stroker API. This allows artifact-free results, similar to what you will see in Web or any text editing tools. Outline is a part of DynamicFont rather than Label, because outlines have to be baked into the font's atlas. Font has a default outline_color and a Label can specify font_outline_modulator that will be multiplied with the Font's color to get the final result. - draw_char now has to be called twice to fully render a text - first with p_outline == true for each character and then with p_outline == false for each character. - Number of draw-calls is reduced from 5 to 2 per outlined character. - Overall cleanup of DynamicFont code, extracted duplicated code pieces into separate methods. - The change is backward-compatible - Labels still have outline properties that work exactly as they worked before. Closes #16279.
2018-05-03Merge pull request #18514 from neikeq/api-hash-fixesRémi Verschelde
API hash fixes
2018-05-02Fix placeholders position in `LineEdit` when editing inside the Editorrobfram
Editing the `Text` property through the editor causes a wrong placement of the placeholder, as it calls `LineEdit::clear_internal`, which was wrongly reseting the cached placeholder width. Fix #18184.
2018-04-30Merge pull request #18370 from KidRigger/masterMax Hilbrunner
Adds support for CMD+Left and CMD+Right on MacOS
2018-04-30Merge pull request #18489 from Calinou/tweak-property-hint-rangesMax Hilbrunner
Tweak the property hint ranges of caret blink and line length guideline