Commit Graph

412 Commits

Author SHA1 Message Date
Rémi Verschelde
7c4f2b6588 EditorHelpBit: Workaround crash renaming named class inheriting @tool class
This only addresses the symptom, not the root cause of the problem.

In the MRP of the linked issue, the parent class seems to not be found in DocData
after renaming its child class, which seems weird. Force opening the docs of the
parent class can work it around, so we seem to have inconsistent state.

Changed the same code in EditorHelp for good measure.

Fixes #102718.
2025-02-12 15:59:57 +01:00
Marius Hanl
4d488e8cc9 Fix Escape does not work the first time when pressed at the Find(Replace)Bar 2025-02-02 18:31:12 +01:00
Lars Pettersson
e813d3021b Show tooltips for res:// and uid:// strings in ScriptEditor 2025-01-14 15:29:41 +01:00
Rémi Verschelde
adab1518a5 Merge pull request #99451 from Mickeon/doc-help-copy-to-clipboard
Show editor toaster when copying `[codeblock]` in class reference
2025-01-12 18:07:02 +01:00
ydeltastar
64788069a0
Fix scroll to symbol's documentation 2024-12-27 17:12:05 -03:00
Micky
d35d1fcf60 Show editor toaster when copying [codeblock] in class reference 2024-12-20 00:09:37 +01:00
Danil Alexeev
80d11500b5
Code Editor: Add documentation tooltips 2024-12-15 10:51:33 +03:00
Hilderin
4e19ab8afe
Fix connecting a signal with a double click is too difficult
Co-authored-by: Danil Alexeev <dalexeev12@yandex.ru>
2024-12-14 16:18:34 +03:00
Lukas Tenbrink
b5c31ebb41 Add contains_char() for single-character 'contains' calls. 2024-12-06 20:23:35 +01:00
Micky
b22bb4d75f Improve appearance of external links in built-in docs 2024-12-02 17:13:20 +01:00
A Thousand Ships
af56d6e8e8
Use SceneStringName in more places 2024-12-02 14:39:16 +01:00
Rémi Verschelde
05b80ae0a1
Merge pull request #96449 from Maran23/editor-help-scroll-fix
Fix jumping to editor help does not scroll correctly sometimes
2024-11-29 22:45:51 +01:00
Thaddeus Crews
91bd80de51
Merge pull request #98160 from Rindbee/change-the-parent-node-of-EditorHelpBitTooltip
Add `EditorHelpBitTooltip` as a child of `p_target` to avoid jitter
2024-11-18 09:23:52 -06:00
A Thousand Ships
68f638cf02
Use (r)find_char instead of (r)find for single characters 2024-11-17 10:02:18 +01:00
Aaron Franke
562c666e3d
Rename internal Button icon to button_icon to match exposed methods 2024-10-29 16:23:03 -07:00
Marius Hanl
af92685445 Fix jumping to editor help does not scroll correctly sometimes 2024-10-18 18:50:21 +02:00
风青山
bc30bb4fc0
Add EditorHelpBitTooltip as a child of p_target to avoid jitter
Previously the tooltip popup was added as a child of the `p_target`'s
viewport (usually the root window), which caused the root window to
recalculate the window size, that could cause jitter issues on i3wm
if the actual width of the root window was less than `1024`.
2024-10-14 11:17:08 +08:00
A Thousand Ships
dd6443193c
[Editor] Expose more editor settings to documentation
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2024-09-12 15:34:49 +02:00
kit
5e1c9d68aa Extract editor main screen 2024-09-09 11:06:18 -04:00
Rémi Verschelde
0b4ae20156
Merge pull request #78656 from Repiteo/typed-dictionary
Implement typed dictionaries
2024-09-06 22:38:13 +02:00
Thaddeus Crews
9853a69144
Implement typed dictionaries 2024-09-04 10:27:26 -05:00
Danil Alexeev
2dd043d1f6
Docs: Add missing deprecated/experimental tag support for theme items 2024-09-04 17:49:05 +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
Mikael Hermansson
6435112e97 Fix use-after-free in EditorHelp 2024-08-09 02:42:58 +02:00
Hugo Locurcio
789f3135ad
Split editor documentation cache by minor version
This avoids conflicts with other editor versions and ensures the
cache remains valid if you regularly switch between editor versions.
2024-07-31 17:17:45 +02:00
Danil Alexeev
ec2f9355f5
Editor: Fix EditorHelpBitTooltip for Signals dock 2024-07-05 16:08:35 +03:00
A Thousand Ships
fbb879debd
[Scene] Add SceneStringNames::text/value_changed 2024-06-19 09:44:38 +02:00
A Thousand Ships
d519715d94
[Scene] Add SceneStringNames::font(_size/_color) 2024-06-18 17:24:27 +02:00
Danil Alexeev
794099217e
Editor: Fix EditorHelpBit title height is wrong on initialization 2024-06-12 11:08:28 +03:00
A Thousand Ships
cade5b88d9
Use CoreStringNames::normal in more places 2024-05-30 22:57:54 +02:00
Rémi Verschelde
21810cad38
Merge pull request #92457 from YeldhamDev/extreme_corner_case_but_still
Set `doc_name` even when categories are hidden in the inspector
2024-05-29 11:19:57 +02:00
Rémi Verschelde
4d255a1b50
Merge pull request #92454 from jsjtxietian/multi-connect
Prevent connect `scroll_to_paragraph` multiple times to `class_desc`
2024-05-29 11:19:54 +02:00
jsjtxietian
b33811d46b Prevent connect scroll_to_paragraph multiple times to class_desc 2024-05-29 12:58:08 +08:00
Michael Alexsander
1bfcb6ee65
Set doc_name even when categories are hidden in the inspector
Otherwise, tooltips will fail to fetch descriptions.
2024-05-28 15:44:22 -03:00
A Thousand Ships
4ed62665a2
Replace .bind(...).call_deferred() with .call_deferred(...) 2024-05-27 13:29:57 +02:00
Rémi Verschelde
6761923f4f
Merge pull request #90716 from dalexeev/gds-fix-export-annotation-issues
GDScript: Fix some export annotation issues
2024-05-19 11:21:00 +02:00
A Thousand Ships
ee79386f7b
[Scene] Add SceneStringNames::pressed 2024-05-14 15:51:28 +02:00
Rémi Verschelde
3c26cddcfa
Merge pull request #91932 from dalexeev/editor-fix-tileset-categories-and-tooltips
Editor: Fix categories and tooltips in `TileSet` editor
2024-05-14 12:07:27 +02:00
Danil Alexeev
5a5b18c2fc
Editor: Fix categories and tooltips in TileSet editor 2024-05-14 10:23:14 +03:00
kobewi
413c11357d Use Core/Scene stringnames consistently 2024-05-13 23:41:07 +02:00
Danil Alexeev
76b2d85c9f
GDScript: Fix some export annotation issues 2024-05-13 17:49:06 +03:00
Danil Alexeev
18fca3c294
Editor: Fix EditorHelpBitTooltip + ProgressDialog causes crash 2024-05-08 17:39:33 +03:00
K. S. Ernest (iFire) Lee
f9b488508c
Add PackedVector4Array Variant type
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2024-05-03 00:58:27 +02:00
kobewi
3a1246c198 Store line change in script navigation history 2024-04-25 23:22:47 +02:00
Danil Alexeev
a714cb9f65
Editor: Display deprecated/experimental messages in tooltips 2024-04-18 14:32:04 +03:00
Rémi Verschelde
9b0b7afe28
Merge pull request #90035 from KoBeWi/SUPER_CALL_DEFERRED
Fix scroll to description
2024-04-14 14:39:07 +02:00
Rémi Verschelde
b091162a90
Merge pull request #90488 from dalexeev/editor-fix-enum-detect-unnamed-classes
Editor: Fix enum detection for unnamed classes
2024-04-10 17:49:59 +02:00
Danil Alexeev
fc6c1d6363
Editor: Fix enum detection for unnamed classes 2024-04-10 16:10:55 +03:00
Rémi Verschelde
22299f83f1
Merge pull request #89704 from dalexeev/editor-help-fix-text-color
Editor: Fix text color in `EditorHelpHighlighter`
2024-04-10 14:21:51 +02:00