aboutsummaryrefslogtreecommitdiff
path: root/scene/gui/line_edit.cpp
Commit message (Collapse)AuthorAgeFilesLines
* -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!
* Exposed LineEdit's "selection_clear" and renamed it to "deselect".Michael Alexsander Silva Dias2017-12-171-22/+11
|
* Check for icon in LineEdit::set_cursor_positionTheAspiringHacker2017-12-061-0/+4
| | | | Fixes #14340
* change expand_to_len property to add on nonzero...also rename tokbake2017-11-181-1/+2
| | | | expand_to_text_length and shift window on expand to see all text
* add context menu enable getters, setters, and properties in LineEdit and ↵Ian2017-11-111-1/+13
| | | | TextEdit
* Merge pull request #12268 from AlexHolly/fix-lineedit-selectionRémi Verschelde2017-10-301-2/+4
|\ | | | | Fix LineEdit drag selection to the left
| * fix LineEdit drag selection to the leftAlexHolly2017-10-201-2/+4
| |
* | Added multi level undo redo to line editPaulb232017-10-291-31/+74
|/
* Fixed center align in LineEditbalint magyar2017-10-011-2/+8
|
* Fix crash when scene has LineEdit and run from editorvolzhs2017-09-261-1/+1
|
* Fixed caret blink and speed resetting in scenes, issue 10764Paulb232017-09-241-1/+1
|
* Rename pos to position in user facing methods and variablesletheed2017-09-201-24/+24
| | | | | | | | | | | Rename user facing methods and variables as well as the corresponding C++ methods according to the folloming changes: * pos -> position * rot -> rotation * loc -> location C++ variables are left as is.
* Fixed some metrics (some issues caused by the new Noto Sans font).Daniel J. Ramirez2017-09-031-1/+1
| | | | plus other minor fixes
* Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-271-1/+1
|
* Merge pull request #10351 from neikeq/enums-are-for-the-weakJuan Linietsky2017-08-211-11/+11
|\ | | | | ClassDB: Provide the enum name of integer constants
| * ClassDB: Provide the enum name of integer constantsIgnacio Etcheverry2017-08-201-11/+11
| |
* | Merge pull request #10319 from neikeq/pr-engine-editor-hintJuan Linietsky2017-08-201-1/+1
|\ \ | |/ |/| Adds Engine::is_editor_hint() method
| * Removes editor_hint from SceneTreeIgnacio Etcheverry2017-08-191-1/+1
| |
* | Rename localization method to `tr` againRémi Verschelde2017-08-181-1/+1
| | | | | | | | Partial revert of #10380 based on contributor ~~bullying~~ feedback.
* | Rename `XL_MESSAGE` aka `tr` to `localize`Rémi Verschelde2017-08-171-1/+1
|/ | | | | Also renames `set_message_translation` to `set_message_localization` for consistency.
* Merge pull request #10142 from bruvzg/3.0-osx-imeRémi Verschelde2017-08-111-6/+76
|\ | | | | Add IME support (macOS)
| * Implement NSTextInputClient protocol for IMEbruvzg2017-08-091-6/+76
| |
* | Removes type information from method bindsIgnacio Etcheverry2017-08-101-1/+1
|/
* Rename KEY_RETURN to KEY_ENTER and KEY_ENTER to KEY_KP_ENTERBojidar Marinov2017-08-061-2/+2
| | | | Closes #7695
* Icons can now be added inside line edits (Search icon).Daniel J. Ramirez2017-07-191-0/+6
| | | | | | Fixed window title bar margins. fixed compilation error
* Merge pull request #9652 from djrm/theme_fixesRémi Verschelde2017-07-171-1/+6
|\ | | | | Improvements and fixes for the default theme.
| * Improvements and fixes for the default theme.Daniel J. Ramirez2017-07-161-1/+6
| | | | | | | | Added customizable border size and window highlight.