Marcel Admiraal
f38fe846f4
Move default values from definition to declaration in GraphEdit
2021-06-10 17:22:56 +01:00
Rémi Verschelde
fbe53a7064
Merge pull request #49155 from winterpixelgames/button-pressed-during-button-up-signal
...
Emit button_up signal after setting pressed to false.
2021-06-09 13:46:39 +02:00
Rémi Verschelde
0cbb19a246
Merge pull request #47280 from winterpixelgames/focus_doesnt_change_hover
...
Dont Change Hovering during Control Focus Events
2021-06-09 09:18:26 +02:00
Rémi Verschelde
3041becc64
Merge pull request #49307 from pycbouh/tabs-update-on-theme-changes
...
Make sure `Tabs` reflect theme changes
2021-06-07 13:29:34 +02:00
Rémi Verschelde
c1c76850cb
Style: Cleanup uses of double spaces between words
...
Or after punctuation. Tried to leave third-party stuff alone, unless it has
been heavily modified for Godot.
2021-06-07 11:03:08 +02:00
Yuri Sizov
f7da0698d0
Make sure Tabs reflect theme changes
2021-06-04 16:22:09 +03:00
Aaron Franke
bc5c10e0f8
Use a more specific type for AcceptDialog register_text_enter
2021-06-03 19:57:03 -04:00
Rémi Verschelde
d7f1718742
Merge pull request #46482 from KoBeWi/size_warning_the_sequel
...
Warn about changing size only when it's relevant
2021-06-03 11:21:33 +02:00
reduz
d95bc3fa67
Use bold fonts in editor
...
* Labels are now bold
* Categories in trees are bold
* Main editor buttons are bold
* Fixed section folding arrows in inspector
2021-06-02 12:47:57 -03:00
Rémi Verschelde
c5f237eaf8
Merge pull request #45393 from Paulb23/code_edit_autocomplete
2021-06-01 17:58:19 +02:00
Paulb23
c1b9971ad8
Move and expose Code Hint in CodeEdit
2021-06-01 15:38:45 +01:00
Paulb23
1c16673798
Move and expose AutoComplete in CodeEdit
2021-06-01 15:38:45 +01:00
Paulb23
680dc9e81a
Add comment and string tracking to CodeEdit
2021-06-01 15:38:45 +01:00
Rémi Verschelde
cb4635f260
Merge pull request #49241 from floppyhammer/fix-tree-item-dragging
...
Make tree item dragging not affected by touch dragging
2021-06-01 15:29:35 +02:00
floppyhammer
d202cf6899
fix-tree-item-dragging
2021-06-01 20:46:17 +08:00
Paulb23
5f66dfa371
Fix TextEdit selection drawing behing minimap
2021-06-01 13:09:39 +01:00
Rémi Verschelde
4c1d555b9a
Merge pull request #48770 from LightningAA/scrollcontainer-ensure-item-visible-4.0
...
ScrollContainer: Expose `_ensure_focused_visible` to the scripting API and rename it to `ensure_control_visible`
2021-06-01 11:01:40 +02:00
Lightning_A
6d5b5ba89f
ScrollContainer: Expose _ensure_focused_visible
to the API
...
Was renamed to `ensure_control_visible`
2021-05-31 17:14:57 -10:00
Jason Knight
4c6ad8abcd
Emit button_up signal after setting pressed to false.
2021-05-27 15:06:53 -06:00
Eric M
471f7f1a75
Fixed implementation of RTL remove_line(), which fixed issues in EditorLog.
...
There were some issues in RichTextLabel `remove_line()` method, where items were not correctly removed, and line decremending for items in later lines was not correctly done.
This also fixed several headaches with EditorLog, which relied on the `remove_line()` method for collapsing of duplicate messages. The fix to RTL also fixed the issues with EditorLog.
Fixes #49030
2021-05-26 15:08:13 +10:00
Yuri Sizov
231daa6025
Fix disappearing relationship lines in Tree when item is out of view
2021-05-26 00:44:04 +03:00
Rémi Verschelde
6a64a98039
Merge pull request #48546 from pycbouh/tree-highlight-selected-relationships
2021-05-25 19:42:55 +02:00
Rémi Verschelde
f1abfbbeb1
Merge pull request #48837 from Soupstraw/shader-pi
...
Added constants PI, TAU and E to the shader language
2021-05-25 18:07:15 +02:00
Yuri Sizov
9c92e9d849
Add highlight to the relationship lines of selected Tree items
2021-05-25 18:56:06 +03:00
Rémi Verschelde
9bc2ba3b64
Merge pull request #48955 from Calinou/editor-tweak-property-hints
...
Tweak dozens of editor property hints for consistency
2021-05-25 11:44:43 +02:00
Joosep Jääger
16567321ba
Added constants PI, TAU and E to the shader language
2021-05-25 12:15:08 +03:00
Hugo Locurcio
87f503310b
Tweak dozens of editor property hints for consistency
...
- Update Viewport MSAA property hints to match the currently
exposed values.
- Add some performance hints to property hints.
2021-05-25 02:50:35 +02:00
Hugo Locurcio
80f4e407b2
Add a keyboard shortcut to select the word under cursor in TextEdit
...
This also acts as a general-purpose "deselect" shortcut since pressing
it a second time will deselect text.
This is available both in the script editor and in TextEdit fields
in use, both in the editor and projects.
The Duplicate Line script editor shortcut was moved to Ctrl + Shift + D
since it conflicts with the new shortcut (Ctrl + D). The rationale for
doing so is that Duplicate Line is a less commonly used action, and
its behavior can be replicated by copying and pasting the current line
anyway. (With no selection active, the whole line will be copied.)
2021-05-22 23:47:43 +02:00
Paulb23
00e10a842f
Add custom background line colour to TextEdit and remove marked lines
2021-05-22 14:41:55 +01:00
Rémi Verschelde
4219a4cb6f
Fix typos with codespell
...
Using codespell 2.0.0.
Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
curvelinear
dof
doubleclick
fave
findn
GIRD
leapyear
lod
merchantibility
nd
numer
ois
ony
que
seeked
synching
te
uint
unselect
webp
EOF
$ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"
$ git diff // undo unwanted changes
```
2021-05-20 12:38:56 +02:00
Rémi Verschelde
66dac8bda0
Merge pull request #47544 from pycbouh/control-expose-theme-type
2021-05-18 10:52:51 +02:00
Rémi Verschelde
95bb7207f3
Merge pull request #46773 from trollodel/TreeItem+
...
Improve TreeItem API and allow to move nodes
2021-05-18 10:49:45 +02:00
Rémi Verschelde
510030fedc
Merge pull request #48528 from sent44/textedit
...
Expose get_total_visible_rows method to GDScript
2021-05-18 09:06:24 +02:00
trollodel
bca0d36fe6
Improve TreeItem API and allow to move nodes
2021-05-17 22:06:46 +02:00
Rémi Verschelde
92c04fa727
Fix build after mismatch between #48168 and #48599
2021-05-17 17:50:42 +02:00
Rémi Verschelde
b3e3f0e34c
Merge pull request #48599 from Calinou/textedit-alt-scroll-faster
...
Scroll faster when holding Alt in TextEdit (and script editor)
2021-05-17 17:38:18 +02:00
Rémi Verschelde
6c367f8e0d
Merge pull request #48168 from LightningAA/control-to-ctrl-4.0
2021-05-17 17:38:02 +02:00
Yuri Sizov
9eaa139c1f
Add theme_custom_type property to Control and Window
2021-05-17 17:20:42 +03:00
Rémi Verschelde
9cc17a8439
Merge pull request #48690 from KoBeWi/static_shader_picker
...
Create ColorPicker shaders statically
2021-05-17 14:51:12 +02:00
kobewi
877dbda209
Create ColorPicker shaders statically
2021-05-17 11:39:20 +02:00
Rémi Verschelde
2dadcde361
Merge pull request #48760 from timothyqiu/tree-crash
...
Fix Tree::get_column_at_position crash
2021-05-16 23:05:37 +02:00
Rémi Verschelde
8e7b17429e
Merge pull request #48650 from AnilBK/graph-node-setters
...
Added GraphNode missing setters.
2021-05-16 17:37:12 +02:00
Haoyu Qiu
c8efcf81d2
Fix Tree::get_column_at_position crash
2021-05-16 19:42:28 +08:00
Eoin O'Neill
c4f976b38b
Attempt to fix rich text label effects processing even when
...
the node is invisible.
ISSUE:47687
2021-05-13 19:59:08 -07:00
Anilforextra
2c3c3b2829
-Added missing setters to GraphNode.
...
-Improved various GraphNode documentation.
2021-05-13 17:45:07 +05:45
Andrii Doroshenko (Xrayez)
c9a3d13bd9
Fix variable names for "usage" flags in Control::_get_property_list()
...
Renamed incorrect "hint" variable names to "usage" in
`_get_property_list()`, as "hint" implies one of the PROPERTY_HINT_*
values, which is not the case here.
2021-05-13 12:51:38 +03:00
Hugo Locurcio
1e063595c3
Implement reverting to the old color when clicking it in ColorPicker
2021-05-10 18:13:33 +02:00
Hugo Locurcio
cf1cf6c6eb
Scroll faster when holding Alt in TextEdit (and script editor)
...
This feature is inspired by a similar feature found in
Visual Studio Code.
2021-05-10 01:27:54 +02:00
Rémi Verschelde
726715b1e1
Merge pull request #48579 from Calinou/tree-fix-bg-focus-section-overlap
...
Fix Tree's background focus outline displaying behind section headings
2021-05-09 14:40:50 +02:00
Rémi Verschelde
73e5f6f673
Merge pull request #48539 from KoBeWi/cant_edit_this
...
Display arrow cursor if text is not editable
2021-05-09 14:18:56 +02:00