summaryrefslogtreecommitdiff
path: root/scene/gui/line_edit.cpp
AgeCommit message (Collapse)Author
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
2018-04-30Make the LineEdit "secret" character customizableHugo Locurcio
2018-04-29Fix binding some core API methods only in tools buildsIgnacio Etcheverry
2018-04-28Tweak the property hint ranges of caret blink and line length guidelineHugo Locurcio
This allows for more precise adjustments.
2018-04-23Adds support for CMD+Left and CMD+Right on MacOSAnish
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
2018-04-19Fixed context menu TTR bugssersoong
2018-04-09LineEdit placeholder alignment, content margins, and overflow bugsrobfram
LineEdit doesn't correctly uses style margins nor use placeholders width correctly, causing multiple rendering bugs.
2018-02-23Line edit up/down focus pass throughFabio Alessandrelli
When line edit receive a up/down and the cursor is at beginning/end it will not set the input as handled
2018-02-05Fixed #15082: line edit emits two "text_changed" signals when pasting while ↵Federico Frenguelli
text is selected
2018-01-12Bind many more properties to scriptsBojidar Marinov
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
2018-01-09Fix signal arguments shadowing member variablesRémi Verschelde
Fixes #10212.
2018-01-05Add missing copyright headers and fix formattingRémi Verschelde
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.
2018-01-03Merge pull request #15103 from poke1024/lineedit-key-up-downRémi Verschelde
Support KEY_UP and KEY_DOWN in LineEdit
2018-01-01Update copyright statements to 2018Rémi Verschelde
Happy new year to the wonderful Godot community!
2017-12-27Support KEY_UP and KEY_DOWN in LineEditBernhard Liebl
2017-12-17Exposed LineEdit's "selection_clear" and renamed it to "deselect".Michael Alexsander Silva Dias
2017-12-06Check for icon in LineEdit::set_cursor_positionTheAspiringHacker
Fixes #14340
2017-11-18change expand_to_len property to add on nonzero...also rename tokbake
expand_to_text_length and shift window on expand to see all text
2017-11-11add context menu enable getters, setters, and properties in LineEdit and ↵Ian
TextEdit
2017-10-30Merge pull request #12268 from AlexHolly/fix-lineedit-selectionRémi Verschelde
Fix LineEdit drag selection to the left
2017-10-29Added multi level undo redo to line editPaulb23
2017-10-20fix LineEdit drag selection to the leftAlexHolly
2017-10-01Fixed center align in LineEditbalint magyar
2017-09-26Fix crash when scene has LineEdit and run from editorvolzhs
2017-09-24Fixed caret blink and speed resetting in scenes, issue 10764Paulb23
2017-09-20Rename pos to position in user facing methods and variablesletheed
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.
2017-09-03Fixed some metrics (some issues caused by the new Noto Sans font).Daniel J. Ramirez
plus other minor fixes