summaryrefslogtreecommitdiff
path: root/scene/gui/rich_text_label.cpp
AgeCommit message (Collapse)Author
2022-06-13[RTL] Fix underline/overline/strikethrough interaction with the "visible ↵bruvzg
characters" property.
2022-06-11Add suffixes to all nodes and resourcesFireForge
2022-06-06[RTL] Stop processing thread before deleting scroll bar.bruvzg
2022-06-06Merge pull request #61724 from iwek7/fixing_rich_text_labelRémi Verschelde
Fix richTextLabel scroll showing
2022-06-05Fix richTextLabel scroll showingiwek
2022-06-05Fix strange behavior with list close tags and empty list tagsRindbee
Fix the first two points in #61621. Support for two writing ways: compact or loose. The loose one is designed for easy editing in the editor. For this, the first blank line (if exists) right after the list tags (`[ol]`, `[/ol]`, `[ul]`, and `[/ul]`) will be ignored. Make sure the empty list contains at least one item, that is, an empty list is ultimately a list with one item. As a reminder here is a list.
2022-05-20Merge pull request #61182 from danielkariv/fix_misclick_selectionRémi Verschelde
2022-05-19add check for selection when try to push a meta.Daniel Kariv
Add a check for when we select a text but end on a link. Before it would act as if we just click an link, but now it changes it so if we click-drag over a link, we could select it (and not move to other page).
2022-05-19[RTL] Add support for shaping in background thread.bruvzg
2022-05-16Replace most uses of Map by HashMapreduz
* Map is unnecessary and inefficient in almost every case. * Replaced by the new HashMap. * Renamed Map to RBMap and Set to RBSet for cases that still make sense (order matters) but use is discouraged. There were very few cases where replacing by HashMap was undesired because keeping the key order was intended. I tried to keep those (as RBMap) as much as possible, but might have missed some. Review appreciated!
2022-04-25Merge pull request #60261 from fire-forge/theme-prop-renamesRémi Verschelde
2022-04-23Rename theme properties to include underscoresFireForge
- check_vadjust -> check_v_adjust - close_h_ofs -> close_h_offset - close_v_ofs -> close_v_offset - commentfocus -> comment_focus - hseparation -> h_separation - ofs -> offset - selectedframe -> selected_frame - state_machine_selectedframe -> state_machine_selected_frame - table_hseparation -> table_h_separation - table_vseparation -> table_v_separation - vseparation -> v_separation
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-13Fix select_all() crash in RichTextLabelConteZero
2022-04-12Add context menu to RichTextLabelConteZero
2022-04-10Add select_all() to RichTextLabelConteZero
2022-04-06Fix some issues found by cppcheck.bruvzg
2022-04-06[RTL] Improve table cell selection.bruvzg
2022-04-04Add deselect() to RichTextLabelConteZero
2022-03-31Fix typos with codespellRémi Verschelde
Using codespell 2.2-dev from current git. Fix a couple incorrect uses of gendered pronouns.
2022-03-18Merge pull request #58394 from bruvzg/rtl_hintRémi Verschelde
2022-03-13Fix RichTextLabel shadow color when text has transparencyHaoyu Qiu
2022-03-08Add support to align to left to bbcodeCésar Izurieta
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-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.