summaryrefslogtreecommitdiff
path: root/doc/classes/LineEdit.xml
AgeCommit message (Collapse)Author
2022-08-26Merge pull request #62771 from bruvzg/line_edit_trimRémi Verschelde
2022-08-17[doc] Fix grammar in class docs: amount vs. numberAndy Maloney
Number is used for things that can be counted (discrete items - think "integer" in this context). Also fixes a couple of awkward phrases.
2022-08-15[doc] Use "param" instead of "code" to refer to parameters (5)Andy Maloney
2022-08-11Change LineEdit secret character from "*" to "•".bruvzg
2022-08-08Rename the argument tag to param in XML documentationYuri Sizov
2022-08-04Add support for multiple virtual keyboard typesBrian Semrau
2022-07-10Fix LineEdit text incorrectly trimmed due to rounding errors.bruvzg
2022-07-06Refactor Font configuration and import UI, and Font resources.bruvzg
2022-04-22Implement Label3D node.bruvzg
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.
2022-02-15Add an XML schema for documentationHugo Locurcio
This makes it easier to spot syntax errors when editing the class reference. The schema is referenced locally so validation can still work offline. Each class XML's schema conformance is also checked on GitHub Actions.
2022-01-30Move placeholder color to theme itemPaulb23
2022-01-19Improve the default project themeHugo Locurcio
The new default project theme uses StyleBoxFlat extensively for a more modern design and better scalability to multiple resolutions. SVG icons are now used in place of PNG icons. While this does not allow for true vector-based icon drawing (icons are still rasterized at load-time), this makes the design work easier for contributors and opens the door to vector drawing in the future (e.g. with polygons or SDFs). Like for editor icons, the SVG header file is now built automatically when a SVG file is changed. This removing the need for running `make_header.py` manually (TODO). The "Use Hidpi" project setting has been removed in favor of a "Default Theme Scale" project setting, which allows creating the default theme at a higher/lower scale than the default. This can be used when designing GUIs with a high base resolution to ensure crisp visuals. Co-authored-by: Yuri Sizov <yuris@humnom.net>
2022-01-13Merge pull request #54956 from ↵Rémi Verschelde
Calinou/lineedit-textedit-add-caret-width-theme-item Add a theme constant to change LineEdit and TextEdit's caret width
2022-01-09[TextServer] Improve ligature cursor handling.bruvzg
Fix mid-grapheme hit test. Fix OpenType features property handling, add default features override option. Enable mid-grapheme cursor by default.
2022-01-07Add a theme constant to change LineEdit and TextEdit's caret widthHugo Locurcio
This can be useful to improve caret visibility, especially at larger font sizes. This can also be used for accessibility purposes.
2021-12-15Document that transparent StyleBoxes/textures should be used for UI focusHugo Locurcio
2021-12-09align to horizontal_alignment, valign to vertical_alignment, relatedNathan Franke
2021-12-03Make overridden properties link to parent definitionYuri Sizov
Co-authored-by: Josh DeGraw <joshmdegraw@gmail.com>
2021-12-01Sort and group theme properties in docs, improve formatting for theme and enumsYuri Sizov
2021-10-31Add functions for getting name and font style from dynamic and bitmap fonts.bruvzg
Add font selection toolbar editor plugin.
2021-10-27Add option to make selection uniqueConteZero
2021-10-20Merge pull request #53702 from ConteZero/primary_clipboard_linuxRémi Verschelde
2021-10-18Added primary clipboard for LinuxConteZero
2021-10-10Add warnings to methods that give access to internal nodesYuri Sizov
2021-10-05doc: Fix style inconsistencies for `[b]Note:[/b]` paragraphsRémi Verschelde
And fix up formatting not supported by makerst.
2021-09-24Add selection getter methods to `LineEdit` Yuri Roubinsky
2021-08-04Add theme item descriptions to the online documentationYuri Sizov
2021-07-30doc: Use self-closing tags for `return` and `argument`Rémi Verschelde
For the time being we don't support writing a description for those, preferring having all details in the method's description. Using self-closing tags saves half the lines, and prevents contributors from thinking that they should write the argument or return documentation there.
2021-07-17Create many types of popups on demandreduz
* LineEdit popups created on demand. * TextEdit popups created on demand. * SpinSlider popups created on demand. * ResourcePicker popups created on demand. Improves editor responsiveness.
2021-07-06LineEdit: Respect `max_length` by truncating text to appendRémi Verschelde
When appending text (either via `set_text()` or by pasting from clipboard), if the input would make the `LineEdit` exceed its configured `max_length`, the input text is truncated to fit. The discard part is passed as a parameter in the `text_change_rejected` signal. Fixes #33321. Fixes #41278. Also cleaned up unimplemented `max_chars` property in `TextEdit`. Co-authored-by: Tony-Goat <70238376+Tony-Goat@users.noreply.github.com>
2021-07-06Add multiple descriptions to several classesNick Huelin
This pull request adds several descriptions to multiple different classes. This improves the completeness of the documentation and enhances usability by doing so.
2021-06-18Better format arguments in variant parserMichael Alexsander Silva Dias
2021-06-16Documentation search fixesGregory Basile
Updates rich_text_label so that the built-in documentation can be searched Previously, it would only find the first result and would not select other results Renames "_entered" functions to "_submitted"
2021-04-17Rename LineEdit caret_* properties getters and setters to match propertyMarcel Admiraal
2021-02-19doc: Sync classref with current sourceRémi Verschelde
And fix various bogus bindings following previous PRs.
2021-02-14[CTL] Add missing font outline drawing routines and theme constants.bruvzg
2021-01-28doc: Sync classref with current sourceRémi Verschelde
2021-01-24Change themes *_color_* to *_*_colorMarcel Admiraal
Changed: font_color_accel -> font_accelerator_color font_color_bg -> font_unselected_color font_color_disabled -> font_disabled_color font_color_fg -> font_selected_color font_color_hover -> font_hover_color font_color_hover_pressed -> font_hover_pressed_color font_color_pressed -> font_pressed_color font_color_readonly -> font_readonly_color font_color_selected -> font_selected_color font_color_shadow -> font_shadow_color font_color_uneditable -> font_uneditable_color icon_color_disabled -> icon_disabled_color icon_color_hover -> icon_hover_color icon_color_hover_pressed -> icon_hover_pressed_color icon_color_normal -> icon_normal_color icon_color_pressed -> icon_pressed_color Also includes: font_outline_modulate -> font_outline_color tab_fg -> tab_selected tab_bg -> tab_unselected
2020-11-26[Complex Text Layouts] Add TextServer documentation. Update Font, ↵bruvzg
CanvasItem, Theme and modified controls documentation.
2020-11-25Docs: Port Code Examples to C# (F, G, H, I, J, K, L)HaSa1002
Includes: * File * Geometry2D * HashingContext * HTTPClient * HTTPRequest * Image * Input * int * ItemList * JSONParseResult * KinematicBody2D * LineEdit Co-authored-by: Aaron Franke <arnfranke@yahoo.com>
2020-11-11Expose LineEdit scroll offset to scriptsPouleyKetchoupp
2020-07-28doc: Sync classref with current sourceRémi Verschelde
2020-07-22Add option to disable virtual keyboard for LineEditPouleyKetchoupp
Co-authored-by: Alexander Holland <alexander.holland@live.de>
2020-06-11doc: Sync classref with current sourceRémi Verschelde
2020-04-10Improve shortcut formatting in docsYuri Sizov
2020-02-12doc: Sync classref with current sourceRémi Verschelde
Lots of internal API changes and some docstrings were lost in the conversion. I manually salvaged many of them but for all the rendering-related ones, an additional pass is needed. Added missing enum bindings in BaseMaterial3D and VisualServer.
2020-02-09Merge pull request #35814 from timothyqiu/line-edit-shortcutRémi Verschelde
Adds CTRL-A CTRL-E support to LineEdit on macOS
2020-02-01Adds CTRL-A CTRL-E support to LineEdit on macOSHaoyu Qiu
2020-01-31Update docs to version 4.0clayjohn
2020-01-26doc: Drop unused 'category' property from headerRémi Verschelde
We already removed it from the online docs with #35132. Currently it can only be "Built-In Types" (Variant types) or "Core" (everything else), which is of limited use. We might also want to consider dropping it from `ClassDB` altogether in Godot 4.0.