summaryrefslogtreecommitdiff
path: root/scene/gui/rich_text_label.cpp
AgeCommit message (Collapse)Author
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-16Merge pull request #58055 from markdibarry/add_get_line_offsetRémi Verschelde
2022-02-16Merge pull request #58154 from markdibarry/fix_scroll_to_lineRémi Verschelde
2022-02-15Fix scroll_to_line ignoring line separationmarkdibarry
2022-02-15Use `switch` consistently in `_notification` (`scene` folder)Rémi Verschelde
2022-02-14Merge pull request #57988 from markdibarry/add_get_last_visible_character_lineRé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-12[RTL] Fix "img" tag not setting image size.bruvzg
2022-02-11[RTL / Label] Reorganize property order to ensure "visible_characters" / ↵bruvzg
"percent_visible" are set after the "text".
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-28Merge pull request #57344 from bruvzg/rtl_fix_tab_offsetRémi Verschelde
2022-01-28Fix RTL table offset, if indent is set.bruvzg
2022-01-28[RTL] Fix calculation of the last line height.bruvzg
2022-01-27[RTL] Fix min. height calculation when fit_content_height is enabled.bruvzg
2022-01-26Fix RichTextLabel [ol type=1] tag closing.bruvzg
2022-01-23[RTL] Fix missing line separation in the paragraph offset and click calculation.bruvzg
2022-01-19Merge pull request #53923 from KoBeWi/RichBugLabelRémi Verschelde
2022-01-19Fix bottom line in editor logkobewi
2022-01-19Fix RichTextLabel tables shrinking expanded columns when there is not enough ↵Yuri Sizov
space
2022-01-18Fix RichTextLabel not respecting line separation in several casesYuri Sizov
2022-01-18Improve locale detection.bruvzg
Use separate language, script and country lists. Add locale selection dialog and property hint.
2022-01-11Merge pull request #56586 from dalexeev/rtl-bracket-escapesRémi Verschelde
2022-01-11Fix BBCode underline prevents strikethrough from renderingHaoyu Qiu
2022-01-07Merge pull request #54351 from LeaoLuciano/leak-remove-line-richtextlabelRémi Verschelde
2022-01-07Add BBCode escape sequencesDanil Alexeev
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
2022-01-02Fix various typosluz paz
Found via ` codespell -q 3 -S ./thirdparty,*.po,./DONORS.md -L ackward,ang,ans,ba,beng,cas,childs,childrens,dof,doubleclick,expct,fave,findn,gird,hist,inout,leapyear,lod,nd,numer,ois,ony,paket,seeked,sinc,switchs,te,uint,varn` Update editor/import/resource_importer_layered_texture.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update doc/classes/TileSetScenesCollectionSource.xml Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/gui/graph_edit.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/resources/animation.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/resources/animation.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/resources/animation.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/gui/rich_text_label.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Revert previously committed change
2021-12-23Merge pull request #55636 from bruvzg/vis_char_modesRémi Verschelde
Add different "visible characters" behavior modes.
2021-12-09Replace String comparisons with "", String() to is_empty()Nathan Franke
Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings
2021-12-09align to horizontal_alignment, valign to vertical_alignment, relatedNathan Franke
2021-12-06Rename minimum_size_changed() methodkobewi
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-23Rename `remove()` to `remove_at()` when removing by indexLightning_A
2021-11-12Use "enum class" for input enumsAaron Franke
2021-11-12Modules: Make sure to include modules_enabled.gen.h where neededRémi Verschelde
2021-11-11Fix RichTextLabel selection copy with table cells.bruvzg
2021-11-06Fix Label and RichTextLabale text shadows and shadow outlines.bruvzg
2021-10-28Fix memory leak in RichTextLabel.remove_lineLeaoLuciano
2021-10-27Merge pull request #54166 from ConteZero/unique_selectionRémi Verschelde
2021-10-27Add option to make selection uniqueConteZero
2021-10-23Merge pull request #54045 from ConteZero/primary_clipboard_linux_fix_warningRémi Verschelde
2021-10-23Fix primary clipboard warningConteZero
2021-10-23Make RichTextLabel's parse_bbcode and append_text return voidHaoyu Qiu