summaryrefslogtreecommitdiff
path: root/scene/gui/line_edit.cpp
AgeCommit message (Collapse)Author
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
2017-08-27Use HTTPS URL for Godot's website in the headersRémi Verschelde
2017-08-21Merge pull request #10351 from neikeq/enums-are-for-the-weakJuan Linietsky
ClassDB: Provide the enum name of integer constants
2017-08-20ClassDB: Provide the enum name of integer constantsIgnacio Etcheverry
2017-08-20Merge pull request #10319 from neikeq/pr-engine-editor-hintJuan Linietsky
Adds Engine::is_editor_hint() method
2017-08-19Removes editor_hint from SceneTreeIgnacio Etcheverry
2017-08-18Rename localization method to `tr` againRémi Verschelde
Partial revert of #10380 based on contributor ~~bullying~~ feedback.
2017-08-17Rename `XL_MESSAGE` aka `tr` to `localize`Rémi Verschelde
Also renames `set_message_translation` to `set_message_localization` for consistency.
2017-08-11Merge pull request #10142 from bruvzg/3.0-osx-imeRémi Verschelde
Add IME support (macOS)
2017-08-10Removes type information from method bindsIgnacio Etcheverry
2017-08-09Implement NSTextInputClient protocol for IMEbruvzg
2017-08-06Rename KEY_RETURN to KEY_ENTER and KEY_ENTER to KEY_KP_ENTERBojidar Marinov
Closes #7695
2017-07-19Icons can now be added inside line edits (Search icon).Daniel J. Ramirez
Fixed window title bar margins. fixed compilation error
2017-07-17Merge pull request #9652 from djrm/theme_fixesRémi Verschelde
Improvements and fixes for the default theme.
2017-07-17LineEdit: don't undo uneditable LineEditPoommetee Ketson
2017-07-16Improvements and fixes for the default theme.Daniel J. Ramirez
Added customizable border size and window highlight.
2017-07-11IME window follow the input cursor.geequlim
Abstruct set_ime_position to OS class. Update ime position for LineEdit and TextEdit.
2017-06-03InputEvent: Renamed "pos" property to "position"Andreas Haas
Make the naming consistent with other classes.