b983b9d9f4
[RTL] Add cell option to control if cell is shrinked to its contents width.
2025-01-13 21:44:06 +02:00
c1f65b429d
Merge pull request #100329 from eviltrout/add-custom-line-offset
...
Add `get_selection_line_offset` to `RichTextLabel`
2025-01-06 22:47:33 +01:00
64788069a0
Fix scroll to symbol's documentation
2024-12-27 17:12:05 -03:00
53a1be61a1
Add get_line_range to RTL
2024-12-15 19:09:42 -05:00
b3e970dde8
Adds get_selection_line_offset to RichTextLabel
...
This new method allow you to get the line offset of the current
selection (returns -1 if nothing is selected.)
This is useful if you want to pop up a control or menu above the
currently selected text. Previously there was no accurate way to get
this information.
The logic is moved from the implementation of `scroll_to_selection`
verbatim, and that method has been adjusted to avoid repetition.
2024-12-12 16:02:21 -05:00
2210dd1126
[RTL] Parse "\r\n" as a single paragraph break, add some documentation notes.
2024-12-02 17:50:04 +02:00
dc71fbacc5
[RTL] Add tooltip support to meta/url tag.
2024-12-02 15:26:14 +02:00
5d74c5370b
Merge pull request #97963 from bruvzg/rtl_valign
...
[RTL] Add support for vertical alignment.
2024-11-29 22:46:14 +01:00
2c31bd767c
Merge pull request #99020 from Mickeon/documentation-example-pruning-2
...
Clean up more `[b]Example:[/b]` lines from the class reference
2024-11-12 09:28:02 -06:00
932b1c434c
Clean up more [b]Example:[/b] lines from the class reference
2024-11-11 12:05:34 +01:00
309712551c
[TextParagraph/Button] Add support for line spacing.
2024-10-10 12:49:24 +03:00
7ed90a4f07
[RTL] Add support for vertical alignment.
2024-10-08 09:58:54 +03:00
94ad663c0f
[RTL] Expose missing default properties, ensure bbcode is reparserd when these are changed.
2024-08-28 08:43:30 +03:00
a041772ecf
Merge pull request #93940 from Mickeon/deprecate_RichTextLabel_is_ready
...
Add RichTextLabel `is_finished()`, deprecate `is_ready()`
2024-08-26 23:28:42 +02:00
edb3d99942
Add RichTextLabel is_finished(), deprecate is_ready()
2024-08-16 20:08:38 +02:00
847766689a
Add push_url as a keyword for push_meta
2024-07-09 12:39:30 +02:00
b8bb382115
[RTL] Adds references to cell and column configuration methods.
2024-05-29 12:15:01 +03:00
360d365b33
[RTL] Adds extra argument to remove_paragraph to skip cache invalidation and a method for manual cache invalidation.
2024-05-02 14:03:21 +03:00
c83718624f
Update links to outdated asset library demos
...
Update links to outdated asset library demos
Co-authored-by: Max Hilbrunner <m.hilbrunner@gmail.com >
2024-04-07 16:59:43 +02:00
d6917d2206
Fix issues with text clearing in RichTextLabel
2024-03-02 21:38:32 -03:00
2a3de7adc3
[RTL] Add optional push_meta argument to control how meta underline is drawn.
2024-03-01 12:07:06 +02:00
cc21871c9a
Merge pull request #88956 from akien-mga/doc-rtl-zero-idx
...
RTL: Clarify that line, paragraph, and character numbers are zero-indexed
2024-02-29 13:54:31 +01:00
5c38b9bcf4
Merge pull request #88255 from Calinou/doc-richtextlabel-meta-clicked
...
Document using RichTextLabel's `meta_clicked` to handle clickable URLs
2024-02-29 13:53:54 +01:00
3fe01226b7
Use black for font outlines by default instead of white
...
This makes font outlines more usable out of the box, as black
is one of the most commonly used colors for font outlines.
2024-02-28 20:25:15 +01:00
4a1397b58c
RTL: Clarify that line, paragraph, and character numbers are zero-indexed
...
Closes #82885 .
2024-02-28 13:46:23 +01:00
ea03154a27
Document using RichTextLabel's meta_clicked to handle clickable URLs
2024-02-27 20:22:32 +01:00
78fff7292c
Improve RichTextLabel install_effect() documentation
2023-12-19 17:29:49 +01:00
fa54bc3eca
Merge pull request #79571 from Calinou/doc-richtextlabel-padding
...
Clarify the purpose of RichTextLabel text highlight padding
2023-10-30 23:16:24 +01:00
cc0eebd9d8
Validate code tags for class and member references
...
This commit also adds means to manually disable warnings
in `code` tags where it's a false positive with the new
`skip-lint` attribute.
Warnings are now enabled on CI to prevent future errors.
2023-10-03 15:48:31 +02:00
bc6585a5a7
[RTL] Add support for image dynamic updating, padding, tooltips and size in percent.
2023-09-26 09:39:51 +03:00
299808cc26
[RTL] Adds "lang" tag to allow overriding language specific text rendering without starting a new paragraph.
2023-08-21 14:56:43 +03:00
cfe98c57b9
Add drag and drop option for line edit and rich text label
2023-07-19 22:18:34 -04:00
823ac214d1
Clarify the purpose of RichTextLabel text highlight padding
2023-07-17 08:53:38 +02:00
5c56206e6c
Merge pull request #79011 from bruvzg/pop_all
...
[RTL] Add `pop_all`, `push_context` and `pop_context` methods, and use it for `print_rich` to avoid unclosed tags.
2023-07-14 18:49:21 +02:00
5167bed9f0
Merge pull request #79053 from Daylily-Zeleen/daylily-zeleen/rich_text_label_missing_default_method_value
...
Bind missing default value for `RichTextLabel` methods.
2023-07-12 15:09:41 +02:00
4029a05fae
Add missing default value for RichTextLabel method
2023-07-11 11:17:45 +08:00
5216a08617
[RTL] Add pop_all, push_context and pop_context methods, and use it for print_rich to avoid unclosed tags.
2023-07-09 19:53:15 +03:00
81064cc239
Doctool: Remove version attribute from XML header
...
We don't use that info for anything, and it generates unnecessary diffs
every time we bump the minor version (and CI failures if we forget to
sync some files from opt-in modules (mono, text_server_fb).
2023-07-06 10:08:21 +02:00
346f1ab86b
Bump version to 4.2-dev
...
Keep on waitin'
2023-07-05 22:07:03 +02:00
eb391d3302
Display BitField[Enum] in docs to distinguish from Enum
2023-06-15 17:23:02 +03:00
630b75be31
Fixed RichTextLabel::clear documentation
2023-06-13 18:42:33 -03:00
151a4ba6a5
Overhaul the top sections of the class reference (GUI classes)
2023-05-28 14:24:54 +02:00
fb78889904
[RichTextLabel] Add support for tab stops.
2023-05-20 22:58:51 +03:00
9163d8c336
Expose TextServer justification flags to Label, Label3D, TextMesh and RTL. Add flags to control last/single line justification.
2023-05-15 19:23:54 +03:00
8106d33d0f
Fixed various typos across the docs
2023-05-02 18:24:32 -04:00
4793b6eee9
[RTL] Add option to customize list bullet, use U+2022 by default.
2023-03-17 09:34:28 +02:00
1c1524a651
Bump version to 4.1-dev
...
Can't stop, won't stop, they said, huh?
2023-03-01 01:44:37 +01:00
22dd621cf9
RichTextLabel fixes
...
- Unexpose ItemType enum, since it is not used in public API.
- Fix documentation for meta tag, since it has no BBCode equivalent.
2023-02-14 17:20:05 +01:00
fb107e04d3
Fix RichTextLabel context menu not customizable
2023-02-03 12:07:36 +03:00
8cebd0a2ce
Merge pull request #71983 from vmedea/push-customfx
...
Expose RichTextLabel::push_customfx to GDScript
2023-01-25 14:41:01 +01:00