019474f2b8
Merge pull request #56586 from dalexeev/rtl-bracket-escapes
2022-01-11 16:17:16 +01:00
df1c64feba
Fix BBCode underline prevents strikethrough from rendering
2022-01-11 12:54:04 +08:00
d2772af0d8
Merge pull request #54351 from LeaoLuciano/leak-remove-line-richtextlabel
2022-01-07 15:22:24 +01:00
884f1acff8
Add BBCode escape sequences
2022-01-07 11:40:13 +03:00
fe52458154
Update copyright statements to 2022
...
Happy new year to the wonderful Godot community!
2022-01-03 21:27:34 +01:00
1032c2c434
Merge pull request #55487 from YeldhamDev/scroll_bikeshedding
2022-01-03 14:10:41 +01:00
a124f1effe
Fix various typos
...
Found via ` codespell -q 3 -S ./thirdparty,*.po,./DONORS.md -L ackward,ang,ans,ba,beng,cas,childs,childrens,dof,doubleclick,expct,fave,findn,gird,hist,inout,leapyear,lod,nd,numer,ois,ony,paket,seeked,sinc,switchs,te,uint,varn`
Update editor/import/resource_importer_layered_texture.cpp
Co-authored-by: Raul Santos <raulsntos@gmail.com >
Update doc/classes/TileSetScenesCollectionSource.xml
Co-authored-by: Raul Santos <raulsntos@gmail.com >
Update scene/gui/graph_edit.cpp
Co-authored-by: Raul Santos <raulsntos@gmail.com >
Update scene/resources/animation.cpp
Co-authored-by: Raul Santos <raulsntos@gmail.com >
Update scene/resources/animation.cpp
Co-authored-by: Raul Santos <raulsntos@gmail.com >
Update scene/resources/animation.cpp
Co-authored-by: Raul Santos <raulsntos@gmail.com >
Update scene/gui/rich_text_label.cpp
Co-authored-by: Raul Santos <raulsntos@gmail.com >
Revert previously committed change
2022-01-02 01:03:58 -05:00
1906b59675
Merge pull request #55636 from bruvzg/vis_char_modes
...
Add different "visible characters" behavior modes.
2021-12-23 00:43:33 +01:00
49403cbfa0
Replace String comparisons with "", String() to is_empty()
...
Also:
- Adds two stress tests to test_string.h
- Changes to .empty() on std::strings
2021-12-09 04:48:38 -06:00
41a20171eb
align to horizontal_alignment, valign to vertical_alignment, related
2021-12-09 01:38:46 -06:00
ea7cc1dea9
Rename minimum_size_changed() method
2021-12-06 14:02:34 +01:00
ad4408d413
Add different "visible characters" behavior modes.
2021-12-06 12:14:49 +02:00
ec4f4c6cda
Rename all methods that return ScrollBar nodes to get_*_scroll_bar()
2021-11-30 13:46:36 -03:00
e078f970db
Rename remove() to remove_at() when removing by index
2021-11-23 18:58:57 -07:00
3c0fdcc8ac
Use "enum class" for input enums
2021-11-12 15:37:54 -06:00
88c4380737
Modules: Make sure to include modules_enabled.gen.h where needed
2021-11-12 13:42:58 +01:00
76d42c7b32
Fix RichTextLabel selection copy with table cells.
2021-11-11 12:06:51 +02:00
5f9cd9ccbc
Fix Label and RichTextLabale text shadows and shadow outlines.
2021-11-06 10:22:09 +02:00
f21b5e4d2f
Fix memory leak in RichTextLabel.remove_line
2021-10-28 07:51:48 -03:00
21529c90f8
Merge pull request #54166 from ConteZero/unique_selection
2021-10-27 20:50:54 +02:00
fbee4efa5f
Add option to make selection unique
2021-10-27 19:45:52 +02:00
b2ab5cb504
Merge pull request #54045 from ConteZero/primary_clipboard_linux_fix_warning
2021-10-23 19:13:34 +02:00
8c48b4a7e0
Fix primary clipboard warning
2021-10-23 15:50:01 +02:00
4f8dfa1667
Make RichTextLabel's parse_bbcode and append_text return void
2021-10-23 14:25:39 +08:00
8748247d6f
Merge pull request #53702 from ConteZero/primary_clipboard_linux
2021-10-20 16:35:04 +02:00
94cba835eb
Fix: typo in TextParagraph class and docs
2021-10-19 16:38:58 -03:00
838c9d37b4
Added primary clipboard for Linux
2021-10-18 14:01:06 +02:00
bdbb7b3999
Remove EDSCALE dependency from /scene/gui
2021-10-04 15:25:08 +03:00
0c0b5c84b0
Implement TextServer GDExtension interface, remove TextServer GDNative interface.
2021-10-01 15:13:29 +03:00
cdd912c48e
Construct values only when necessary.
2021-09-25 14:46:45 +05:45
cc51b045da
Construct values only when necessary.
2021-09-23 22:26:07 +05:45
c931906af7
Add flag to connected grapheme. Apply RTL displacement FX only to the whole connected grapheme. Pass more glyph info to the custom RTL FX.
2021-09-21 13:51:38 +03:00
9d0e3cff09
Fix Label and RichTextLabel visible_characters and percent_visible methods.
2021-09-20 09:35:24 +03:00
053b3b946c
Remove bbcode_text from RichTextLabel
...
Also renames:
- append_bbcode -> append_text
- get_bbcode -> get_text
- set_bbcode -> set_text
- get_text -> get_parsed_text
Property text is:
set_text
get_text
2021-09-16 22:27:08 +02:00
39e35ab6ee
Merge pull request #52353 from williamd67/documentation-view-scroll-to-end
...
Documentation view scroll to end
2021-09-14 22:25:58 +02:00
43c896ac6a
Merge pull request #52082 from williamd67/fix-custom-effects-dropdown-menu
...
RichTextLabel returns member (Array) for custom effects for Editor
2021-09-07 21:52:05 +02:00
b54b0bc580
Fix documentation viewer to scroll to end
...
Extra `line separation` height was not taken into account when the offset for
the different paragraphs (lines) was calculated.
2021-09-02 22:11:14 +02:00
a913ae8d56
Add support for internal nodes
2021-08-28 02:07:23 +02:00
4c3f7d1290
Makes FontData importable resource.
...
Adds multi-channel SDF font texture generation and rendering support.
Adds per-font oversampling support.
Adds FontData import plugins (for dynamic fonts, BMFonts and monospaced image fonts), font texture cache pre-generation and loading.
Adds BMFont binary format and outline support.
2021-08-27 15:43:18 +03:00
d875706e01
RichTextLabel returns member (Array) for custom effects for Editor
...
As RichTextLabel returned a copy of the member (Vector) the editor was notified
that the value had changed which caused the dropdown menu to be immediately
closed after opening.
The fix is to return the member (Array) in stead of a copy which is the same
instance and thereby does not notify the editor that the value has changed.
2021-08-24 22:02:24 +02:00
d12cceadd2
Make RichTextLabel honour default cursor shape property
2021-08-24 22:07:42 +08:00
5cecdfa8af
Entirely removes BIND_VMETHOD in favor of GDVIRTUAL
...
* `_gui_input`, `_input`, `_unhandled_input` and `_unhandled_key_input` are now regular C++ virutal functions.
* Everything else converted to GDVIRTUAL
* BIND_VMETHOD is gone, always use the new syntax from now on.
Creating `_gui_input` method and using the binder to register events will no longer work, simply override the virtual function now.
2021-08-23 08:10:13 -03:00
31face36e7
Fix line_separation working incorrectly in find_click of RichTextLabel
...
Apply suggestions from code review
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com >
2021-08-21 00:59:44 +03:00
39b90802d0
Fix line_separation constant working incorrectly in RichTextLabel
2021-08-20 23:03:13 +03:00
84f720966c
Use doubles for time in many other places
2021-08-09 14:05:42 -05:00
7c3c5603d0
[Text Server] Improve object (image/table) inline alignment.
2021-08-08 22:35:47 +03:00
4e6efd1b07
Use C++ iterators for Lists in many situations
2021-07-23 17:38:28 -04:00
6631f66c2a
Optimize StringName usage
...
* Added a new macro SNAME() that constructs and caches a local stringname.
* Subsequent usages use the cached version.
* Since these use a global static variable, a second refcounter of static usages need to be kept for cleanup time.
* Replaced all theme usages by this new macro.
* Replace all signal emission usages by this new macro.
* Replace all call_deferred usages by this new macro.
This is part of ongoing work to optimize GUI and the editor.
2021-07-18 21:20:02 -03:00
cfbdaa2eb7
Fix RichTextLabel custom_effects export to be properly filtered in the Editor
2021-06-25 22:58:46 +10:00
0c1d10d1ca
Rich Text Label now allows for foreground colors and background colors
2021-06-20 11:29:37 -04:00