ConteZero
820728aa52
[3.x] Expose get_selected_text in RichTextLabel
2022-04-05 22:38:10 +02:00
ConteZero
5e714051ea
[3.x] Add deselect() to RichTextLabel
2022-04-04 22:46:13 +02:00
Haoyu Qiu
72837b8ecd
Fix RichTextLabel underlining does not respect visible character
2022-03-16 17:54:07 +08:00
Haoyu Qiu
c0bd05762e
Revert "Fixed underlines and striketrough not respecting visible character"
...
This reverts commit 8bbcc624fd
.
2022-03-16 17:40:14 +08:00
Haoyu Qiu
fd968157a4
Revert "Fixed 0 width issue of rich text label"
...
This reverts commit a1155b86e4
.
2022-03-16 17:40:09 +08:00
ConteZero
2ff0735329
Added primary clipboard for Linux
2022-03-14 15:28:36 +01:00
ConteZero
0ffacff998
[3.x] Add option to make selection unique
2022-03-14 09:48:09 +01:00
Rémi Verschelde
08c3e00b95
Merge pull request #55355 from ConteZero/drag_and_drop_3.x
2022-03-14 08:43:22 +01:00
ConteZero
4167e98088
Add drag and drop to TextEdit, LineEdit, RichTextLabel
2022-03-14 08:15:25 +01:00
Haoyu Qiu
7d219b6793
Fix RichTextLabel shadow color when text has transparency
2022-03-12 11:02:27 +08:00
janglee
a1155b86e4
Fixed 0 width issue of rich text label
...
Fixes #37746
(cherry picked from commit 5e64c146bc
)
2022-03-02 11:00:26 +01:00
janglee
8bbcc624fd
Fixed underlines and striketrough not respecting visible character
...
(cherry picked from commit 9c2c2ab2b0
)
2022-03-02 11:00:26 +01:00
bruvzg
f8f83f05f2
Fix RichTextLabel uninitialized content height value.
2022-01-20 13:53:52 +02:00
Rémi Verschelde
a627cdafc5
Update copyright statements to 2022
...
Happy new year to the wonderful Godot community!
2022-01-13 15:54:13 +01:00
Danil Alexeev
458f65171c
Add BBCode escape sequences
...
(cherry picked from commit 884f1acff8
)
2022-01-12 17:40:15 +01:00
LeaoLuciano
57cceb47d1
Fix memory leak in RichTextLabel.remove_line
...
(cherry picked from commit f21b5e4d2f
)
2022-01-12 17:32:19 +01:00
Haoyu Qiu
09397f10c5
Fix BBCode underline prevents strikethrough from rendering
2022-01-11 12:53:51 +08:00
Rémi Verschelde
89574a8258
Merge pull request #54296 from timothyqiu/rtl-fill-underline
...
[3.x] Fix `RichTextLabel` underline appearance when inside fill tag
2022-01-07 09:20:44 +01:00
Rémi Verschelde
df38da84b4
Merge pull request #55440 from bruvzg/fix_cell_width
2021-11-29 15:04:22 +01:00
bruvzg
33b26e5cdc
Fix RTL min/max line width calculation.
2021-11-29 15:36:42 +02:00
kobewi
820f7c9d15
Fix right alignment in RichTextLabel
2021-11-29 14:33:12 +01:00
Rémi Verschelde
6f4858f184
Modules: Make sure to include modules_enabled.gen.h
where needed
...
Fixes #51677 .
Co-authored-by: Arkadiusz Marcin Kołek <aksoftware91@gmail.com>
2021-11-12 13:45:33 +01:00
Rémi Verschelde
42d385b312
clang-format: Disable alignment of operands, too unreliable
...
Sets `AlignOperands` to `DontAlign`.
`clang-format` developers seem to mostly care about space-based indentation and
every other version of clang-format breaks the bad mismatch of tabs and spaces
that it seems to use for operand alignment. So it's better without, so that it
respects our two-tabs `ContinuationIndentWidth`.
2021-10-28 13:23:38 +02:00
Haoyu Qiu
23c64fc43c
Fix RichTextLabel underline appearance when inside fill tag
2021-10-27 21:04:20 +08:00
Haoyu Qiu
5366743454
Fix RichTextLabel meta link detection when used inside a fill tag
2021-10-22 16:20:56 +08:00
Haoyu Qiu
7e6e6c871b
Make RichTextLabel honor content margin when drawing font shadow
2021-10-21 11:30:45 +08:00
Haoyu Qiu
37ef6036d0
Add missing cache clear in RichTextLabel::_process_line
2021-10-20 23:46:57 +08:00
Bartłomiej T. Listwon
903765f94d
Fix RichTextLabel character horizontal offset calculation
2021-09-16 21:44:17 +02:00
Haoyu Qiu
930a1ea746
Make RichTextLabel honour default cursor shape property
...
(cherry picked from commit d12cceadd2
)
2021-09-14 13:41:26 +02:00
Anas Saifi
4874270592
Removed unused variable
2021-08-22 15:58:45 +05:30
Anas Saifi
9b06355488
Update scene/gui/rich_text_label.cpp
...
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2021-08-22 15:18:52 +05:30
anazr9
b8bf2ec3cd
fixed crash with RichTextLabel [fill] tag #51968 by using 3.3 as reference
2021-08-22 14:17:01 +05:30
Rémi Verschelde
1de8f31448
CI: Upgrade Emscripten to 2.0.25
...
That's the version used by current containers for Godot 3.4.
Fixes a couple stray warnings that new Emscripten/LLVM catches.
2021-08-18 11:13:34 +02:00
Rémi Verschelde
875045adde
Use modules_enabled.gen.h to improve inter dependency checks
...
- Fix build with gdscript module disabled. Fixes #31011 .
- Remove unused `gdscript` compile option.
- Fix build with regex module disabled.
- Fix ImageLoaderSVG to forward declare thirdparty structs.
(cherry picked from commit f3726ee994
)
2021-07-14 23:36:38 +02:00
Rémi Verschelde
d84d5a9665
Merge pull request #49332 from megalobyte/doc-prev-search
...
[3.x] Fix previous search for built-in-docs
2021-06-09 11:11:15 +02:00
megalobyte
7408b33895
Fix previous search for built-in-docs
2021-06-08 23:11:42 -07:00
Haoyu Qiu
3a591aaeeb
Fix RichTextLabel auto-wrapping on CJK
2021-06-08 21:04:20 +08:00
Lynx
1b7c2a1428
Fix not updating fonts when parent theme changes
...
Reparsing the bbcode content when we receieve a theme changed
notification just like we already do in ENTER_TREE.
Resolves #49089
2021-05-28 20:44:00 +02:00
Eoin O'Neill
0e7c2ea331
Attempt to fix rich text label effects processing even when
...
the node is invisible.
ISSUE:47687
(cherry picked from commit c4f976b38b
)
2021-05-14 10:17:17 +02:00
Rémi Verschelde
140350d767
Style: Enforce braces around if blocks and loops
...
Using clang-tidy's `readability-braces-around-statements`.
https://clang.llvm.org/extra/clang-tidy/checks/readability-braces-around-statements.html
2021-05-05 15:02:01 +02:00
Rémi Verschelde
a828398655
Style: Replaces uses of 0/NULL by nullptr (C++11)
...
Using clang-tidy's `modernize-use-nullptr`.
https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-nullptr.html
2021-05-04 16:30:23 +02:00
Rémi Verschelde
b5e1e05ef2
Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks
2021-05-04 14:45:16 +02:00
Rémi Verschelde
64a63e0861
Style: clang-format: Disable AllowShortCaseLabelsOnASingleLine
2021-05-04 14:45:15 +02:00
Rémi Verschelde
3d15f04668
Style: clang-format: Disable AllowShortIfStatementsOnASingleLine
2021-05-04 14:45:15 +02:00
bruvzg
d844e72157
RichTextLabel: On custom effect change, parse bbcode only if it's enabled and not empty.
...
(cherry picked from commit 9f73abfa9f
)
2021-04-05 12:01:51 +02:00
jmb462
843eb80039
Fix BBCode tables overlap with bottom text
...
New row height was added only if all the column was full.
(cherry picked from commit 25af026d9e
)
2021-03-19 10:49:36 +01:00
kleonc
e40682c32d
RichTextLabel::add_image Fail if passed image has no area
...
(cherry picked from commit a4afdd4a77
)
2021-02-16 14:27:39 +01:00
Alexander Pech
d73281a350
Keep RichTextLabel visible character properties in sync
...
The RichTextLabel class is inconsistent in how it updates the
visible_characters and percent_visible properties when either is changed.
To keep both properties consistent, update percent_visible when setting the
visible_characters property.
For both properties, when setting one, notify change for the other.
Docs updated for member set_visible_characters on RichTextLabel class.
(cherry picked from commit 463e2002ab
)
2021-01-15 16:49:46 +01:00
Rémi Verschelde
49646383f1
Update copyright statements to 2021
...
Happy new year to the wonderful Godot community!
2020 has been a tough year for most of us personally, but a good year for
Godot development nonetheless with a huge amount of work done towards Godot
4.0 and great improvements backported to the long-lived 3.2 branch.
We've had close to 400 contributors to engine code this year, authoring near
7,000 commit! (And that's only for the `master` branch and for the engine code,
there's a lot more when counting docs, demos and other first-party repos.)
Here's to a great year 2021 for all Godot users 🎆
(cherry picked from commit b5334d14f7
)
2021-01-13 16:17:06 +01:00
Danil Alexeev
44bdd8f16c
Improvement for the Copy button in the Output Log
...
Now if no text is selected, pressing the Copy button copies the entire text.
(cherry picked from commit fb6eb21afc
)
2020-09-29 08:54:45 +02:00