summaryrefslogtreecommitdiff
path: root/scene/gui/rich_text_label.cpp
AgeCommit message (Collapse)Author
2022-10-31Merge pull request #63590 from golfinq/fbg-paddingRémi Verschelde
Add padding options in theme for fg/bgcolor tags in RichTextLabel
2022-10-26Remove override_selected_font_color propertykobewi
2022-10-13Merge pull request #66337 from EricEzaM/sprite-framesRémi Verschelde
Ensure control built-in shortcuts are matched exactly & add shortcuts for SpriteFrames editor
2022-10-11Add Spritesheet support to RichTextLabel BBCodePetra Baranski
BBCode: [img region=0,0,16,16]res://icon.svg[/img]
2022-10-07Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg
change warnings=all to use /W4.
2022-09-28Fix MSVC warning C4702: unreachable codeRémi Verschelde
Part of #66537.
2022-09-26[RTL] Fix font variations / OpenType features of theme default font not ↵bruvzg
updated when default font is changed.
2022-09-24Ensure all checks of `is_action` in the editor which are for 'shortcut' use, ↵Eric M
check the action exactly.
2022-09-23Merge pull request #65158 from nongvantinh/fixed-infinite-loopRémi Verschelde
Fixes engine runs into an infinite loop when searching using FindBar
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-13RTL Improvementsbruvzg
Do not apply negative line separation to the last line. Ensure all methods immediately update cache in a single thread mode. Fix bbcode_enabled change not being applied until text is changed. Fix crash if line height is zero or less.
2022-09-07[RTL] Stop threaded RTL auto-redrawing as soon as text processing is ↵bruvzg
finished, instead of waiting for first redraw.
2022-09-06Fix theming code in Panel, SplitContainer, RichTextLabelYuri Sizov
2022-09-06Improve naming of theme properties throughout GUI codeYuri Sizov
Rename ItemList's bg -> panel Rename ItemList's bg_focus -> focus Rename ProgressBar's bg -> background Rename ProgressBar's fg -> fill Rename Tree's bg -> panel Rename Tree's bg_focus -> focus Rename ScrollContainer's bg -> panel Rename FileDialog's *_icon_modulate -> *_icon_color Rename FileDialog's files_disabled -> file_disabled_color Rename CheckButton's on/off -> checked/unchecked Rename check_v_adjust -> check_v_offset
2022-09-06Rename `range_lerp` to `remap`Micky
2022-09-02Fix theme propagation in various parts of the editorYuri Sizov
2022-09-01Fix Label & RichTextLabel's visible_ratio not workingMicky
2022-09-01[TextServer] Add support for trimming edge spaces on line break.bruvzg
2022-09-01Fixes #64962 that cause program run into infinite loopNong Van Tinh
2022-08-29Rename `CanvasItem.update()` to `queue_redraw()`Micky
Affects a lot of classes. Very thoroughly checked signal connections and deferred calls to this method, add_do_method/add_undo_method calls, and so on. Also renames the internal `_update_callback()` to `_redraw_callback()` for consistency. Just a few comments have also been changed to say "redraw". In CPUParticles2D, there was a private variable with the same name. It has been renamed to `do_redraw`.
2022-08-28Reorganized Label and RichTextLabel propertiesVolTer
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-24Merge pull request #59226 from Rindbee/better-setters-in-gui-controlsYuri Sizov
Improve the setters in gui, return directly if the value does not change.
2022-08-24Merge pull request #64783 from bruvzg/fix_rtl_min_sizeRémi Verschelde
Fix RTL min. size not triggering text cache update.
2022-08-23Add some codes, returnes directly if the value is not changed.风青山
Avoid executing the following value-changed logics if the value does not really change.
2022-08-23Fix RTL min. size not triggering text cache update.bruvzg
2022-08-23[RTL] Improve meta click position.bruvzg
2022-08-22Clamp Label's `percent_visible` properly between 0 and 1.0Micky
Also applies to RichTextLabel
2022-08-04Fix issue with overlaping text label textiwek
2022-07-31Add padding options in theme for fg/bgcolor tagsgolfinq
2022-07-26[RichTextLabel] Fix theme bold / italics / bold italics and mono font size ↵bruvzg
not applied correctly.
2022-07-24Add error for invalid RichTextLabel.install_effectRedMser
2022-07-15Use BitField hint for the TextServer enums. Add missing parts for BitField ↵bruvzg
support to the GDextension API.
2022-07-13Merge pull request #62774 from Rindbee/make-the-meta-click-area-fitRémi Verschelde
Make the meta click area fit to its visible area
2022-07-13Make the meta click area fitRindbee
Eliminate the click vacuum area, mainly the indentation generated by indent/ul/ol tags
2022-07-07Fix regressions from Font refactorbruvzg
Fixes `p_font.is_null()` errors due to incorrect resource type used. Fixes code editor font not set correctly, and OpenType features applied to the wrong font.
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-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