1
0
Fork 0
Commit Graph

213 Commits

Author SHA1 Message Date
Thaddeus Crews 45509c284c
Merge pull request #108029 from Joy-less/clarify-visible_characters
Clarify `visible_characters`
2025-08-03 10:51:18 -05:00
Joyless 4be5de05ab Clarify `visible_characters`
Includes updates by @AThousandShips.

Co-Authored-By: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2025-07-31 16:15:56 +01:00
Thaddeus Crews d36f394714
Merge pull request #108399 from bruvzg/rtl_vflscr
[RTL] Add option to scroll follow visible characters.
2025-07-10 11:39:31 -05:00
Pāvels Nadtočajevs 45a564f4f8
[RTL] Add option to scroll follow visible characters. 2025-07-10 17:30:09 +03:00
Pāvels Nadtočajevs 406a22d0da
[RTL] Add method to get visible content bounding box. 2025-07-10 15:49:35 +03:00
Rémi Verschelde 95e72a36f3
Merge pull request #107347 from bruvzg/hr_hr_hr
[RTL] Decouple image width/height "in percent" properties. Add [hr] tag support.
2025-06-13 01:30:47 +02:00
Pāvels Nadtočajevs cbd1e1cfe9
Partially revert 107110, process all lines in VC_CHARS_BEFORE_SHAPING mode to return correct line count. 2025-06-10 20:44:28 +03:00
Pāvels Nadtočajevs a262747cdf
[RTL] Decouple image width/height "in percent" properties. Add [hr] tag support. 2025-06-10 12:22:02 +03:00
Pāvels Nadtočajevs 1e2fc9bcad
[RTL] Add paragraph separation theme property. 2025-06-10 12:13:48 +03:00
Rémi Verschelde 63578eae68
Merge pull request #107110 from bruvzg/rtl_vis_line
Unify `get_[_visible]paragraph/line_count` behavior.
2025-06-09 00:44:37 +02:00
kobewi 13f642d959
Replace XML codeblock spaces with tabs 2025-06-06 14:35:38 +02:00
Rémi Verschelde 8e0c258408
Merge pull request #106300 from bruvzg/rtl_ualp
[RTL] Add options to override underline color and default alpha.
2025-06-05 13:11:39 +02:00
Pāvels Nadtočajevs 332352d37f
[RTL] Add options to override underline color and default alpha. 2025-06-05 12:39:25 +03:00
Pāvels Nadtočajevs f4f26e6edc
Unify `get_[_visible]paragraph/line_count` behavior. 2025-06-04 09:39:01 +03:00
Haoyu Qiu 1e82bafa3a Remove redundant info on the enum types used 2025-06-04 08:21:47 +08:00
Thaddeus Crews ec5a771d62
Merge pull request #104999 from RobProductions/patch-1
[Docs] Update RichTextLabel alignment documentation
2025-06-02 18:51:35 -05:00
ExEago 4115b813fe Add two methods to compute the height and width of an individual line in a RichTextLabel 2025-04-21 10:25:47 +02:00
Pāvels Nadtočajevs b106dfd4f9
Base accessibility API. 2025-04-08 20:14:28 +03:00
Matt Enad 4fd95613a4 Update RichTextLabel alignment documentation 2025-04-04 16:44:31 -04:00
Thaddeus Crews b7eda9dbc1
Merge pull request #104230 from bruvzg/start_clip
Add properties to configure space trimming on line break.
2025-03-18 14:42:44 -05:00
Hugo Locurcio 0b4cda7db3
Document RichTextLabel `fgcolor` and `bgcolor` padding behavior (and risk of overlap) 2025-03-17 19:53:24 +01:00
Pāvels Nadtočajevs 2bbf0f2317
Add properties to configure space trimming on line break. 2025-03-16 16:15:37 +02:00
Pāvels Nadtočajevs 9f8d8b7c4e
[RTL] Fix custom effects not updating. 2025-03-14 16:35:35 +02:00
Pāvels Nadtočajevs b983b9d9f4 [RTL] Add cell option to control if cell is shrinked to its contents width. 2025-01-13 21:44:06 +02:00
Rémi Verschelde 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
ydeltastar 64788069a0
Fix scroll to symbol's documentation 2024-12-27 17:12:05 -03:00
Mark DiBarry 53a1be61a1 Add get_line_range to RTL 2024-12-15 19:09:42 -05:00
Robin Ward 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
Pāvels Nadtočajevs 2210dd1126 [RTL] Parse "\r\n" as a single paragraph break, add some documentation notes. 2024-12-02 17:50:04 +02:00
Pāvels Nadtočajevs dc71fbacc5 [RTL] Add tooltip support to meta/url tag. 2024-12-02 15:26:14 +02:00
Rémi Verschelde 5d74c5370b
Merge pull request #97963 from bruvzg/rtl_valign
[RTL] Add support for vertical alignment.
2024-11-29 22:46:14 +01:00
Thaddeus Crews 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
Micky 932b1c434c Clean up more `[b]Example:[/b]` lines from the class reference 2024-11-11 12:05:34 +01:00
bruvzg 309712551c
[TextParagraph/Button] Add support for line spacing. 2024-10-10 12:49:24 +03:00
bruvzg 7ed90a4f07
[RTL] Add support for vertical alignment. 2024-10-08 09:58:54 +03:00
bruvzg 94ad663c0f
[RTL] Expose missing default properties, ensure bbcode is reparserd when these are changed. 2024-08-28 08:43:30 +03:00
Rémi Verschelde 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
Micky edb3d99942 Add RichTextLabel `is_finished()`, deprecate `is_ready()` 2024-08-16 20:08:38 +02:00
Micky 847766689a Add `push_url` as a keyword for `push_meta` 2024-07-09 12:39:30 +02:00
bruvzg b8bb382115
[RTL] Adds references to cell and column configuration methods. 2024-05-29 12:15:01 +03:00
bruvzg 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
skyace65 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
Michael Alexsander d6917d2206
Fix issues with text clearing in `RichTextLabel` 2024-03-02 21:38:32 -03:00
bruvzg 2a3de7adc3
[RTL] Add optional `push_meta` argument to control how meta underline is drawn. 2024-03-01 12:07:06 +02:00
Rémi Verschelde 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
Rémi Verschelde 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
Hugo Locurcio 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
Rémi Verschelde 4a1397b58c
RTL: Clarify that line, paragraph, and character numbers are zero-indexed
Closes #82885.
2024-02-28 13:46:23 +01:00
Hugo Locurcio ea03154a27
Document using RichTextLabel's `meta_clicked` to handle clickable URLs 2024-02-27 20:22:32 +01:00
Hugo Locurcio 78fff7292c
Improve RichTextLabel `install_effect()` documentation 2023-12-19 17:29:49 +01:00