02bb8e948f
Merge pull request #60261 from fire-forge/theme-prop-renames
2022-04-25 16:20:19 +02:00
3073b85de9
Rename theme properties to include underscores
...
- check_vadjust -> check_v_adjust
- close_h_ofs -> close_h_offset
- close_v_ofs -> close_v_offset
- commentfocus -> comment_focus
- hseparation -> h_separation
- ofs -> offset
- selectedframe -> selected_frame
- state_machine_selectedframe -> state_machine_selected_frame
- table_hseparation -> table_h_separation
- table_vseparation -> table_v_separation
- vseparation -> v_separation
2022-04-23 11:16:18 -05:00
be611c1c05
Implement Label3D node.
...
Add "generate_mipmap" font import option.
Add some missing features to the Sprite3D.
Move BiDi override code from Control to TextServer.
Add functions to access TextServer font cache textures.
Add MSDF related flags and shader to the standard material.
Change standard material cache to use HashMap instead of Vector.
2022-04-22 12:08:46 +03:00
6530e55f2d
Fix select_all() crash in RichTextLabel
2022-04-13 15:41:34 +02:00
645aded7e9
Add context menu to RichTextLabel
2022-04-12 16:28:38 +02:00
addadaaa24
Add select_all() to RichTextLabel
2022-04-10 18:03:10 +02:00
f851c4aa33
Fix some issues found by cppcheck.
2022-04-06 14:34:37 +03:00
9c61fa7ad8
[RTL] Improve table cell selection.
2022-04-06 09:03:08 +03:00
45159e88e1
Add deselect() to RichTextLabel
2022-04-04 16:06:57 +02:00
a647fb3e62
Fix typos with codespell
...
Using codespell 2.2-dev from current git.
Fix a couple incorrect uses of gendered pronouns.
2022-03-31 14:07:29 +02:00
19950076b1
Merge pull request #58394 from bruvzg/rtl_hint
2022-03-18 14:49:13 +01:00
d62e8bbc74
Fix RichTextLabel shadow color when text has transparency
2022-03-13 19:57:56 +08:00
42f1697857
Add support to align to left to bbcode
2022-03-08 01:36:19 -05:00
a06f82ca4d
Add optional constructor arguments to more Control nodes
...
This can be used to make editor code more compact.
However, as of writing, these constructor arguments cannot be used
from the scripting API.
This was already provided for Label and CheckBox, but it was missing
for other Control nodes where it made sense to provide a default value.
2022-03-04 09:48:41 +01:00
7385c3602d
Add RichTextLabel "hint" tag.
2022-02-21 19:34:16 +02:00
eeda603355
Merge pull request #58055 from markdibarry/add_get_line_offset
2022-02-16 14:07:23 +01:00
fe8f4cebce
Merge pull request #58154 from markdibarry/fix_scroll_to_line
2022-02-16 14:07:06 +01:00
4d53c086ff
Fix scroll_to_line ignoring line separation
2022-02-15 12:52:11 -05:00
0f5455230c
Use switch consistently in _notification (scene folder)
2022-02-15 18:44:55 +01:00
89996be091
Merge pull request #57988 from markdibarry/add_get_last_visible_character_line
2022-02-14 15:22:03 +01:00
c0caafe960
Add offset methods for lines and paragraphs in RichTextLabel
...
Adds `get_line_offset` and `get_paragraph_offset` methods to `RichTextLabel`
Fix arg mismatch
2022-02-13 13:15:21 -05:00
ae7eec53c0
Add get_character_line method for RichTextLabel
...
Adds the ability to get the line number of provided character position
Fix arg name
Add get_character_paragraph
Replaced glyph logic with code suggestions, added get_character_paragraph method
Run doctool
Use built-in method
Replace TS access with built in method
2022-02-13 11:12:12 -05:00
d7f6a4853a
[RTL] Fix "img" tag not setting image size.
2022-02-12 11:48:56 +02:00
2e01a0d7a3
[RTL / Label] Reorganize property order to ensure "visible_characters" / "percent_visible" are set after the "text".
2022-02-11 12:31:13 +02:00
9abf5f01fd
Merge pull request #55207 from ConteZero/rich_text_label_drag
2022-02-10 22:14:08 +01:00
cb222f6c9d
Add drag to RichTextLabel
2022-02-10 20:24:28 +01:00
29c21ac590
Add get_content_width method
...
Adds a get_content_width method to RichTextLabel
2022-02-10 10:56:11 -05:00
ead6f67670
Add auto-wrap mode property to the RichTextLabel, set default auto-wrap mode to AUTOWRAP_WORD_SMART to match 3.x behavior.
2022-02-03 16:04:07 +02:00
215bede6ff
[TextServer] Add function to change font, font size, and OpenType features without invalidating line break points, justification points, or recreating shaped text buffer.
2022-02-02 11:20:44 +02:00
38c6611b91
Merge pull request #57344 from bruvzg/rtl_fix_tab_offset
2022-01-28 14:04:33 +01:00
a2f5f7cccf
Fix RTL table offset, if indent is set.
2022-01-28 12:27:47 +02:00
978f2edeea
[RTL] Fix calculation of the last line height.
2022-01-28 10:13:23 +02:00
0014f0233a
[RTL] Fix min. height calculation when fit_content_height is enabled.
2022-01-27 12:05:21 +02:00
cf3d3a6ffa
Fix RichTextLabel [ol type=1] tag closing.
2022-01-26 13:52:24 +02:00
268bab077f
[RTL] Fix missing line separation in the paragraph offset and click calculation.
2022-01-23 19:09:14 +02:00
82efb1d262
Merge pull request #53923 from KoBeWi/RichBugLabel
2022-01-19 15:23:13 +01:00
42c79161c2
Fix bottom line in editor log
2022-01-19 14:26:31 +01:00
3f5ed098bb
Fix RichTextLabel tables shrinking expanded columns when there is not enough space
2022-01-19 00:44:19 +03:00
3b1c02a139
Fix RichTextLabel not respecting line separation in several cases
2022-01-18 23:01:01 +03:00
40c56ed410
Improve locale detection.
...
Use separate language, script and country lists.
Add locale selection dialog and property hint.
2022-01-18 14:30:00 +02:00
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