summaryrefslogtreecommitdiffstats
path: root/scene/gui/line_edit.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix setting line edit caret after dobule and triple clickiwek2022-06-101-2/+2
|
* Take into account the clear icon's size even when not visible in `LineEdit`sMichael Alexsander2022-06-051-6/+10
|
* Fix LineEdit clear button for asymmetric styleboxHaoyu Qiu2022-05-281-1/+1
|
* Add ALT NUM+ {hex code} character input support for LineEdit, TextEdit and ↵bruvzg2022-05-131-0/+36
| | | | CodeEdit.
* Implement Label3D node.bruvzg2022-04-221-2/+2
| | | | | | | | | Add "generate_mipmap" font import option. Add some missing features to the Sprite3D. Move BiDi override code from Control to TextServer. Add functions to access TextServer font cache textures. Add MSDF related flags and shader to the standard material. Change standard material cache to use HashMap instead of Vector.
* [Input] Add extra `shortcut_input` input processing step to process Unicode ↵bruvzg2022-04-051-0/+22
| | | | character input with Alt / Ctrl modifiers, after processing of shortcuts.
* Unify TextServer built-in module and GDExtension code.bruvzg2022-03-171-1/+1
|
* Remove duplicate editor settings definitionskobewi2022-03-061-4/+4
|
* Add optional constructor arguments to more Control nodesHugo Locurcio2022-03-041-1/+3
| | | | | | | | | This can be used to make editor code more compact. However, as of writing, these constructor arguments cannot be used from the scripting API. This was already provided for Label and CheckBox, but it was missing for other Control nodes where it made sense to provide a default value.
* Fix LineEdit and TextEdit carets disappearing at theme scales below 1.0Hugo Locurcio2022-03-031-1/+2
| | | | | This fixes carets disappearing in the editor when the Editor Scale setting is set below 100%.
* Use `switch` consistently in `_notification` (`scene` folder)Rémi Verschelde2022-02-151-2/+13
|
* Add sub-pixel glyph positioning support.bruvzg2022-02-121-1/+1
|
* Move placeholder color to theme itemPaulb232022-01-301-15/+2
|
* Improve locale detection.bruvzg2022-01-181-1/+1
| | | | | Use separate language, script and country lists. Add locale selection dialog and property hint.
* Merge pull request #54956 from ↵Rémi Verschelde2022-01-131-2/+2
|\ | | | | | | | | Calinou/lineedit-textedit-add-caret-width-theme-item Add a theme constant to change LineEdit and TextEdit's caret width
| * Add a theme constant to change LineEdit and TextEdit's caret widthHugo Locurcio2022-01-071-2/+2
| | | | | | | | | | This can be useful to improve caret visibility, especially at larger font sizes. This can also be used for accessibility purposes.
* | [TextServer] Improve ligature cursor handling.bruvzg2022-01-091-3/+3
|/ | | | | | Fix mid-grapheme hit test. Fix OpenType features property handling, add default features override option. Enable mid-grapheme cursor by default.
* Update copyright statements to 2022Rémi Verschelde2022-01-031-2/+2
| | | | Happy new year to the wonderful Godot community!
* Replace String comparisons with "", String() to is_empty()Nathan Franke2021-12-091-2/+2
| | | | | | Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings
* align to horizontal_alignment, valign to vertical_alignment, relatedNathan Franke2021-12-091-39/+34
|
* Merge pull request #55662 from ↵Rémi Verschelde2021-12-061-5/+5
|\ | | | | | | KoBeWi/update_minimum_size_changed_to_update_minimum_size
| * Rename minimum_size_changed() methodkobewi2021-12-061-5/+5
| |
* | Fix bad popups offset in editor with single window offjmb4622021-12-061-2/+2
|/ | | | | Co-authored-by: Gil Arasa Verge <gilarasaverge@gmail.com> Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
* Add drag and drop to TextEditConteZero2021-12-021-6/+12
|
* Merge pull request #55151 from Chaosus/control_reset_sizeRémi Verschelde2021-11-221-2/+2
|\
| * Added `reset_size` method to `Control` and `Window` classesYuri Roubinsky2021-11-221-2/+2
| |
* | Fix drag and drop on LineEditConteZero2021-11-151-11/+69
|/
* Use "enum class" for input enumsAaron Franke2021-11-121-16/+16
|
* String: Remove `erase` method, bindings can't mutate StringRémi Verschelde2021-11-111-5/+4
|
* Merge pull request #54372 from bruvzg/text_edit_uiRémi Verschelde2021-11-091-1/+17
|\
| * Add functions for getting name and font style from dynamic and bitmap fonts.bruvzg2021-10-311-1/+17
| | | | | | | | Add font selection toolbar editor plugin.
* | Rename `PROPERTY_USAGE_NOEDITOR` to `PROPERTY_USAGE_NO_EDITOR`Hugo Locurcio2021-11-031-1/+1
|/ | | | | This is consistent with other constants that include `NO`, such as `PROPERTY_HINT_COLOR_NO_ALPHA`.
* Merge pull request #54166 from ConteZero/unique_selectionRémi Verschelde2021-10-271-0/+17
|\
| * Add option to make selection uniqueConteZero2021-10-271-0/+17
| |
* | Merge pull request #54045 from ConteZero/primary_clipboard_linux_fix_warningRémi Verschelde2021-10-231-4/+4
|\ \
| * | Fix primary clipboard warningConteZero2021-10-231-4/+4
| |/
* / Use TitleCase for CTL dialog menu optionsHugo Locurcio2021-10-211-25/+25
|/ | | | This is more consistent with other actions exposed in the dialog.
* Added primary clipboard for LinuxConteZero2021-10-181-0/+39
|
* Fix inline IME input not working in the empty LineEdit with the placeholder.bruvzg2021-10-111-2/+2
|
* Remove EDSCALE dependency from /scene/guiYuri Sizov2021-10-041-6/+1
|
* Implement TextServer GDExtension interface, remove TextServer GDNative ↵bruvzg2021-10-011-54/+50
| | | | interface.
* Merge pull request #53000 from Chaosus/lineedit_expose_selection_methodsRémi Verschelde2021-09-291-0/+17
|\
| * Add selection getter methods to `LineEdit` Yuri Roubinsky2021-09-241-0/+17
| |
* | Fix LineEdit and TextEdit double-click and triple-click selectionjmb4622021-09-261-4/+9
|/
* Apply set_read_only() to child classes of EditorProperty elementsSilc 'Tokage' Renew2021-09-051-1/+1
|
* Add support for internal nodeskobewi2021-08-281-2/+2
|
* Makes FontData importable resource.bruvzg2021-08-271-2/+3
| | | | | | | Adds multi-channel SDF font texture generation and rendering support. Adds per-font oversampling support. Adds FontData import plugins (for dynamic fonts, BMFonts and monospaced image fonts), font texture cache pre-generation and loading. Adds BMFont binary format and outline support.
* Entirely removes BIND_VMETHOD in favor of GDVIRTUALreduz2021-08-231-2/+1
| | | | | | | | * `_gui_input`, `_input`, `_unhandled_input` and `_unhandled_key_input` are now regular C++ virutal functions. * Everything else converted to GDVIRTUAL * BIND_VMETHOD is gone, always use the new syntax from now on. Creating `_gui_input` method and using the binder to register events will no longer work, simply override the virtual function now.
* Improve Undo/Redo menu itemsHaoyu Qiu2021-08-171-0/+16
| | | | | | | | | | | * Make Undo/Redo menu items disabled when clicking it does nothing. * Context menu of `TextEdit` * Context menu of `LineEdit` * Editor's Scene menu * Script editor's Edit menu and context menu (for Script and Text) * Make editor undo/redo log messages translatable. * Mark `UndoRedo`'s `has_{un,re}do()` methods as `const`. * Expose `TextEdit`'s `has_{un,re}do()` to scripts since `{un,re}do()` are already available.
* Reorganise text editor settingsPaulb232021-08-161-4/+4
|