summaryrefslogtreecommitdiff
path: root/scene/gui/rich_text_label.h
AgeCommit message (Collapse)Author
2022-09-19[RTL] Add option to apply built-in effects to the individual connected glyphs.bruvzg
2022-09-16Fix RichTextLabel not updating on theme/theme override change until text is ↵bruvzg
updated.
2022-09-02Fix theme propagation in various parts of the editorYuri Sizov
2022-08-26Rename Label & RichTextLabel.`percent_visible` to `visible_ratio`Micky
Also updates the documentation of both `visible_characters` and `visible_ratio` to, better describe what they do and improve consistency between the two Classes.
2022-08-23[RTL] Improve meta click position.bruvzg
2022-07-26[RichTextLabel] Fix theme bold / italics / bold italics and mono font size ↵bruvzg
not applied correctly.
2022-07-13Make the meta click area fitRindbee
Eliminate the click vacuum area, mainly the indentation generated by indent/ul/ol tags
2022-07-06Refactor Font configuration and import UI, and Font resources.bruvzg
2022-06-16Move duplicate AutoWrap, Overrun and VisibleChar behavior enums to the ↵bruvzg
TextServer.
2022-06-05Fix richTextLabel scroll showingiwek
2022-05-19[RTL] Add support for shaping in background thread.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-04-12Add context menu to RichTextLabelConteZero
2022-04-10Add select_all() to RichTextLabelConteZero
2022-04-06[RTL] Improve table cell selection.bruvzg
2022-04-04Add deselect() to RichTextLabelConteZero
2022-03-18Merge pull request #58394 from bruvzg/rtl_hintRémi Verschelde
2022-03-04Add optional constructor arguments to more Control nodesHugo Locurcio
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.
2022-02-21Add RichTextLabel "hint" tag.bruvzg
2022-02-16Merge pull request #58055 from markdibarry/add_get_line_offsetRémi Verschelde
2022-02-13Add offset methods for lines and paragraphs in RichTextLabelmarkdibarry
Adds `get_line_offset` and `get_paragraph_offset` methods to `RichTextLabel` Fix arg mismatch
2022-02-13Add get_character_line method for RichTextLabelmarkdibarry
Adds the ability to get the line number of provided character position Fix arg name Add get_character_paragraph Replaced glyph logic with code suggestions, added get_character_paragraph method Run doctool Use built-in method Replace TS access with built in method
2022-02-10Merge pull request #55207 from ConteZero/rich_text_label_dragRémi Verschelde
2022-02-10Add drag to RichTextLabelConteZero
2022-02-10Add get_content_width methodmarkdibarry
Adds a get_content_width method to RichTextLabel
2022-02-03Add auto-wrap mode property to the RichTextLabel, set default auto-wrap mode ↵bruvzg
to AUTOWRAP_WORD_SMART to match 3.x behavior.
2022-02-02[TextServer] Add function to change font, font size, and OpenType features ↵bruvzg
without invalidating line break points, justification points, or recreating shaped text buffer.
2022-01-03Update copyright statements to 2022Rémi Verschelde
Happy new year to the wonderful Godot community!
2022-01-03Merge pull request #55487 from YeldhamDev/scroll_bikesheddingRémi Verschelde
2021-12-23Merge pull request #55636 from bruvzg/vis_char_modesRémi Verschelde
Add different "visible characters" behavior modes.
2021-12-09align to horizontal_alignment, valign to vertical_alignment, relatedNathan Franke
2021-12-06Add different "visible characters" behavior modes.bruvzg
2021-11-30Rename all methods that return `ScrollBar` nodes to `get_*_scroll_bar()`Michael Alexsander
2021-11-06Fix Label and RichTextLabale text shadows and shadow outlines.bruvzg
2021-10-28clang-format: Disable alignment of operands, too unreliableRémi Verschelde
Sets `AlignOperands` to `DontAlign`. `clang-format` developers seem to mostly care about space-based indentation and every other version of clang-format breaks the bad mismatch of tabs and spaces that it seems to use for operand alignment. So it's better without, so that it respects our two-tabs `ContinuationIndentWidth`.
2021-10-27Merge pull request #54166 from ConteZero/unique_selectionRémi Verschelde
2021-10-27Add option to make selection uniqueConteZero
2021-10-23Make RichTextLabel's parse_bbcode and append_text return voidHaoyu Qiu
2021-09-21Add flag to connected grapheme. Apply RTL displacement FX only to the whole ↵bruvzg
connected grapheme. Pass more glyph info to the custom RTL FX.
2021-09-16Remove bbcode_text from RichTextLabelHaSa1002
Also renames: - append_bbcode -> append_text - get_bbcode -> get_text - set_bbcode -> set_text - get_text -> get_parsed_text Property text is: set_text get_text
2021-08-24RichTextLabel returns member (Array) for custom effects for EditorWilliam Deurwaarder
As RichTextLabel returned a copy of the member (Vector) the editor was notified that the value had changed which caused the dropdown menu to be immediately closed after opening. The fix is to return the member (Array) in stead of a copy which is the same instance and thereby does not notify the editor that the value has changed.
2021-08-23Entirely removes BIND_VMETHOD in favor of GDVIRTUALreduz
* `_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.
2021-08-09Use doubles for time in many other placesAaron Franke
2021-08-08[Text Server] Improve object (image/table) inline alignment.bruvzg
2021-06-20Merge pull request #35608 from golfinq/masterRémi Verschelde
2021-06-20Rich Text Label now allows for foreground colors and background colorsgolfinq
2021-06-19Rename `instance()`->`instantiate()` when it's a verbLightning_A
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-05-26Fixed implementation of RTL remove_line(), which fixed issues in EditorLog.Eric M
There were some issues in RichTextLabel `remove_line()` method, where items were not correctly removed, and line decremending for items in later lines was not correctly done. This also fixed several headaches with EditorLog, which relied on the `remove_line()` method for collapsing of duplicate messages. The fix to RTL also fixed the issues with EditorLog. Fixes #49030
2021-05-04Improve output log performance.Eric M
Added method to create a new line in RichTextLabel without adding an ItemNewline to the previous line. Previously, removing a line then adding a newline was adding unnecessary ItemNewline instances to the previous line, significantly the remove_line method.