aboutsummaryrefslogtreecommitdiff
path: root/scene/gui/line_edit.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Tweak the property hint ranges of caret blink and line length guidelineHugo Locurcio2018-05-131-1/+1
| | | | | | This allows for more precise adjustments. (cherry picked from commit 0eb2f6c2235ba13409c169225321cd5eafd6ad5b)
* Fix placeholders position in `LineEdit` when editing inside the Editorrobfram2018-05-131-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. (cherry picked from commit c17de1f70fcba19f2afdfe49d194b9b175791ea8)
* Hand-merge API hash fixes #18514Hein-Pieter van Braam2018-04-291-4/+2
| | | | | | This hasn't made it into master yet but is important for mono support. If this turns out to be the wrong call we'll revert and merge whatever next version of this becomes available.
* Fixed context menu TTR bugssersoong2018-04-281-7/+7
| | | | (cherry picked from commit a1cfc89108b1905311c83227ae6d8016c9b496ba)
* LineEdit placeholder alignment, content margins, and overflow bugsrobfram2018-04-281-4/+16
| | | | | | | LineEdit doesn't correctly uses style margins nor use placeholders width correctly, causing multiple rendering bugs. (cherry picked from commit 53b51f68bf9b6dd38014b5ac022209b8433d7340)
* Fixed #15082: line edit emits two "text_changed" signals when pasting while ↵Federico Frenguelli2018-02-191-2/+16
| | | | | | text is selected (cherry picked from commit 9cd3ed4acef91ee7dcef1db2edfe3e40d6838656)
* 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.
* | LineEdit: don't undo uneditable LineEditPoommetee Ketson2017-07-171-1/+3
|/
* IME window follow the input cursor.geequlim2017-07-111-0/+10
| | | | | Abstruct set_ime_position to OS class. Update ime position for LineEdit and TextEdit.
* InputEvent: Renamed "pos" property to "position"Andreas Haas2017-06-031-2/+2
| | | | Make the naming consistent with other classes.
* Removal of InputEvent as built-in Variant type..Juan Linietsky2017-05-201-300/+297
| | | | this might cause bugs I haven't found yet..
* Merge pull request #8631 from volzhs/editor-theme-customRémi Verschelde2017-05-201-2/+2
|\ | | | | New customizable editor theme
| * Revert "Add new editor and default theme (WIP)"volzhs2017-05-031-2/+2
| | | | | | | | This reverts commit f045efe007cffb87238ee519b7f33d710814ded7.
* | LineEdit: fix placeholder text affected by secretPoommetee Ketson2017-05-031-2/+2
|/
* Add new editor and default theme (WIP)Daniel J. Ramirez2017-04-271-2/+2
|
* Rename [gs]et_pos to [gs]et_position for ControlsSergey Pusnei2017-04-101-1/+1
| | | | | | | | Control set_pos -> set_position Control set_global_pos -> set_global_position [gs]et_mouse_pos -> [gs]et_mouse_position [gs]et_global_mouse_pos -> [gs]et_global_mouse_position fixes #8005
* Add "Godot Engine contributors" copyright lineRémi Verschelde2017-04-081-0/+1
|
* A Whole New World (clang-format edition)Rémi Verschelde2017-03-051-342/+302
| | | | | | | | | | | | | | | | | | | | | | | | I can show you the code Pretty, with proper whitespace Tell me, coder, now when did You last write readable code? I can open your eyes Make you see your bad indent Force you to respect the style The core devs agreed upon A whole new world A new fantastic code format A de facto standard With some sugar Enforced with clang-format A whole new world A dazzling style we all dreamed of And when we read it through It's crystal clear That now we're in a whole new world of code
* Refactoring: rename tools/editor/ to editor/Rémi Verschelde2017-03-051-1/+1
| | | | | | The other subfolders of tools/ had already been moved to either editor/, misc/ or thirdparty/, so the hiding the editor code that deep was no longer meaningful.