summaryrefslogtreecommitdiffstats
path: root/scene/gui/line_edit.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix leftover connection to the "Open" signal in FileSystemDockMichael Alexsander Silva Dias2019-05-151-1/+1
| | | | Fixes #28903.
* Fix First Ctrl+R and Ctrl+F not showing long name variables correctlytheoniko2019-05-011-3/+1
|
* Merge pull request #28287 from YeldhamDev/text_editable_contextmenuRémi Verschelde2019-04-301-10/+21
|\ | | | | Make 'Line/TextEdit's context menus hide their editing options when in readonly mode
| * Make 'Line/TextEdit's context menus hide their editing options when in ↵Michael Alexsander Silva Dias2019-04-291-10/+21
| | | | | | | | | | | | readonly mode Fixes #28243.
* | Make buttons that trigger popups have the same scaleMichael Alexsander Silva Dias2019-04-291-0/+1
|/
* Merge pull request #28266 from coldrye-collaboration/gh-28241Rémi Verschelde2019-04-221-0/+8
|\ | | | | Fix LineEdit not expanded to text length on undo/redo
| * Call minimum_size_changed() on redo/undo if expand_to_text_length is trueCarsten Klein2019-04-211-0/+8
| | | | | | | | Fixes #28241
* | Fix 'LineEdit' offset limit not accounting for the right/clear icon widthMichael Alexsander Silva Dias2019-04-211-0/+2
| | | | | | | | Fully fixes #28242.
* | Fix 'LineEdit' contents not ending before the clear button if no right icon ↵Michael Alexsander Silva Dias2019-04-201-2/+4
|/ | | | | | was set Fixes #28242.
* Fix -Wimplicit-fallthrough warnings from GCC 8Rémi Verschelde2019-04-051-4/+5
| | | | | | | | | | | | 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.
* Fixed not deselecting when clearing lineedit.Paulb232019-03-311-0/+1
|
* Allow moving LineEdit visible window left by more than one symbol.Kārlis Seņko2019-02-191-3/+1
|
* Appease some CppCheck warns for files in the "scene" directoryMichael Alexsander Silva Dias2019-01-161-3/+1
|
* Update IME text only for focused input controls.bruvzg2019-01-081-4/+8
|
* Update copyright statements to 2019Rémi Verschelde2019-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Changes IME input to use notification instead of callback, exposes IME ↵bruvzg2018-11-231-10/+6
| | | | methods to gdscript/gdnative.
* -Moved EditorDefaultValue to ClassDB, made it coreJuan Linietsky2018-11-081-10/+10
| | | | -Removed one and zero hints for properties, replaced by default value
* Initialise LineEdit clear_button_status.Ibrahn Sahir2018-10-201-0/+2
| | | | Avoiding undefined behaviour and cleaning up Valgrind output.
* fix enum cast warnings on clangkarroffel2018-10-041-1/+1
|
* Make core/ includes absolute, remove subfolders from include pathRémi Verschelde2018-09-121-5/+5
| | | | | | 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.
* Disable ability to copy or cut text from LineEdit if secret mode is enabled.MidZik2018-08-241-3/+2
|
* Do not use theme to set LineEdit right_iconŁukasz Rutkowski2018-08-111-5/+12
|
* Add clear text button to LineEditŁukasz Rutkowski2018-08-111-5/+75
| | | | | | | | | | - 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
* Make line edit always vertically aligned, makes no sense otherwise. Fixes #17188Juan Linietsky2018-08-101-1/+1
|
* Make the caret thicker in TextEdit and scale it with the editor scaleHugo Locurcio2018-07-261-0/+10
| | | | | 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%.
* Center text drawing in LineEditPaulb232018-07-011-1/+2
|
* -Added AnimationGraphPlayer (still missing features)Juan Linietsky2018-06-181-3/+7
| | | | -Added ability to edit resources from built-in inspector (wip, needs testing and feedback)
* LineEdit IME position will now ignore placeholder text.Saracen2018-06-131-4/+5
|
* IME context detection.Saracen2018-06-111-0/+3
|
* Ensures CMD+left and CMD+right only valid for OSX.Anish2018-05-241-0/+2
| | | | | | Fix in #18370 is now only valid for OSX and is reverted for other OS. Fixes #19042
* fix for TextEdit::set_text firing signals it shouldn't.Ibrahn Sahir2018-05-191-1/+0
| | | | | Removing some _changed signals in set_ functions. Includes revert of commit 384625aa31a3627c25246e06c1fbc3019866765c
* Perfect FreeType-based outlines for DynamicFontsRuslan Mustakov2018-05-081-3/+4
| | | | | | | | | | | | | | | | | | | | | | | - 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.
* Merge pull request #18514 from neikeq/api-hash-fixesRémi Verschelde2018-05-031-4/+2
|\ | | | | API hash fixes
| * Fix binding some core API methods only in tools buildsIgnacio Etcheverry2018-04-291-4/+2
| |
* | Fix placeholders position in `LineEdit` when editing inside the Editorrobfram2018-05-021-1/+0
| | | | | | | | | | | | | | | | 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.
* | Merge pull request #18370 from KidRigger/masterMax Hilbrunner2018-04-301-0/+6
|\ \ | | | | | | Adds support for CMD+Left and CMD+Right on MacOS
| * | Adds support for CMD+Left and CMD+Right on MacOSAnish2018-04-231-0/+6
| |/ | | | | | | | | | | | | | | CMD+Left and CMD+Right are hotkeys used on MacOS for moving cursor to start and end of the text, respectively. They are now supported, alongside ALT+key. Fixes: #17631
* | Merge pull request #18489 from Calinou/tweak-property-hint-rangesMax Hilbrunner2018-04-301-1/+1
|\ \ | | | | | | Tweak the property hint ranges of caret blink and line length guideline
| * | Tweak the property hint ranges of caret blink and line length guidelineHugo Locurcio2018-04-281-1/+1
| |/ | | | | | | This allows for more precise adjustments.
* / Make the LineEdit "secret" character customizableHugo Locurcio2018-04-301-6/+27
|/
* Fixed context menu TTR bugssersoong2018-04-191-7/+7
|
* LineEdit placeholder alignment, content margins, and overflow bugsrobfram2018-04-091-4/+16
| | | | | LineEdit doesn't correctly uses style margins nor use placeholders width correctly, causing multiple rendering bugs.
* Line edit up/down focus pass throughFabio Alessandrelli2018-02-231-0/+2
| | | | | When line edit receive a up/down and the cursor is at beginning/end it will not set the input as handled
* Fixed #15082: line edit emits two "text_changed" signals when pasting while ↵Federico Frenguelli2018-02-051-2/+16
| | | | text is selected
* Bind many more properties to scriptsBojidar Marinov2018-01-121-1/+2
| | | | | | | Notable potentially breaking changes: - PROPERTY_USAGE_NOEDITOR is now PROPERTY_USAGE_STORAGE | PROPERTY_USAGE_NETWORK, without PROPERTY_USAGE_INTERNAL - Some properties were renamed, and sometimes even shadowed by new ones - New getter methods (some virtual) were added
* Fix signal arguments shadowing member variablesRémi Verschelde2018-01-091-2/+2
| | | | Fixes #10212.
* Add missing copyright headers and fix formattingRémi Verschelde2018-01-051-0/+1
| | | | | | Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
* Merge pull request #15103 from poke1024/lineedit-key-up-downRémi Verschelde2018-01-031-0/+12
|\ | | | | Support KEY_UP and KEY_DOWN in LineEdit
| * Support KEY_UP and KEY_DOWN in LineEditBernhard Liebl2017-12-271-0/+12
| |
* | Update copyright statements to 2018Rémi Verschelde2018-01-011-2/+2
|/ | | | Happy new year to the wonderful Godot community!