summaryrefslogtreecommitdiff
path: root/scene/gui
AgeCommit message (Collapse)Author
2021-08-22Replace BIND_VMETHOD by new GDVIRTUAL syntaxreduz
* New syntax is type safe. * New syntax allows for type safe virtuals in native extensions. * New syntax permits extremely fast calling. Note: Everything was replaced where possible except for `_gui_input` `_input` and `_unhandled_input`. These will require API rework on a separate PR as they work different than the rest of the functions. Added a new method flag METHOD_FLAG_OBJECT_CORE, used internally. Allows to not dump the core virtuals like `_notification` to the json API, since each language will implement those as it is best fits.
2021-08-22Merge pull request #51965 from theoway/fix_node_arranger_origin_bugK. S. Ernest (iFire) Lee
Fixes position offset of node groups set by arrange_nodes() in GraphEdit
2021-08-22Fixes position offset of node groups set by arrange_nodes() in GraphEditUmang Kalra
2021-08-21Refactor GraphEdit connectionsJummit
Remove duplicate bezier code and use Curve instead. Add an overridable method for retrieving the points of a connection line, which makes it posible to create custom connections lines.
2021-08-21Fix line_separation working incorrectly in find_click of RichTextLabelMenderes
Apply suggestions from code review Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2021-08-20Merge pull request #51866 from requizm/fix/49455Hugo Locurcio
Fix `line_separation` working incorrectly in `RichTextLabel`
2021-08-20Fix line_separation constant working incorrectly in RichTextLabelrequizm
2021-08-19Merge pull request #51804 from ThreeRhinosInAnElephantCostume/fixundoredoRémi Verschelde
2021-08-19fixed popup_menu buttons getting triggered by lmb press instead of release.ThreeRhinosInAnElephantCostume
2021-08-18Minor tweaks/fixes for the Command PaletteMichael Alexsander
2021-08-18Merge pull request #50752 from Phischermen/indeterminate_checkmark_apiRémi Verschelde
Added icons and API for indeterminate checkmarks for the Tree class.
2021-08-17Improve Undo/Redo menu itemsHaoyu Qiu
* Make Undo/Redo menu items disabled when clicking it does nothing. * Context menu of `TextEdit` * Context menu of `LineEdit` * Editor's Scene menu * Script editor's Edit menu and context menu (for Script and Text) * Make editor undo/redo log messages translatable. * Mark `UndoRedo`'s `has_{un,re}do()` methods as `const`. * Expose `TextEdit`'s `has_{un,re}do()` to scripts since `{un,re}do()` are already available.
2021-08-17Merge pull request #51760 from requizm/fix/deleteallselectionRémi Verschelde
Deletion occurs when all text is selected
2021-08-17We can delete all text on TextEditrequizm
While all text of TextEdit was selected, deletion with backspace did not occur. It can now be deleted.
2021-08-16Added icons and API for indeterminate checkmarks for the Tree class.Kevin Fischer
2021-08-16Merge pull request #51698 from Paulb23/text-editor-settingsRémi Verschelde
Reorganise text editor settings
2021-08-16Reorganise text editor settingsPaulb23
2021-08-16Fix MenuButton not emitting about_to_popup signalHaoyu Qiu
2021-08-16Fixed crash executing TextEdit.new().set_draw_control_chars(true)Vignesh1-art
Fixes #51613.
2021-08-16Merge pull request #51249 from kleonc/tab_container-fix-disconnecting-errorsRémi Verschelde
TabContainer: Fix error on removing top-level Control child, Remove _get_tab method
2021-08-15Merge pull request #51512 from Bhu1-V/PR/cmd-fixRémi Verschelde
command palette improvements
2021-08-15command palette improvementsBhuvan Vemula
2021-08-13Merge pull request #51642 from akien-mga/cleanup-use_single_quotesRémi Verschelde
2021-08-13Merge pull request #51585 from Paulb23/theme-update-optimisationRémi Verschelde
2021-08-13Merge pull request #50609 from bruvzg/te_block_caretRémi Verschelde
[TextEdit] Improve block/insert caret drawing.
2021-08-13Style: Cleanup code using `text_editor/completion/use_single_quotes`Rémi Verschelde
2021-08-13Only update TextEdit text cache when dirtyPaulb23
2021-08-13Move CodeEdit theme overrides into EditorThemePaulb23
2021-08-13Fix incorrect completion popup size of `CodeEdit`Yuri Roubinsky
2021-08-13[TextEdit] Improve block/insert caret drawing.bruvzg
2021-08-13Add bulk theme overrides to ControlPaulb23
2021-08-13Fix some unnecessary includesAaron Franke
2021-08-12Fix breakpoint toggle signal not firing when expectedPaulb23
2021-08-12Merge pull request #50371 from Paulb23/text_edit_cleanupRémi Verschelde
2021-08-12Cleanup and complete TextEdit inspector and docsPaulb23
2021-08-12Cleanup and bind remaing methods in TextEditPaulb23
2021-08-12Merge pull request #51517 from Chaosus/precise_graphedit_port_handlingYuri Roubinsky
Better port handling connection for `GraphEdit`
2021-08-12Cleanup and expose viewport / scrolling methodsPaulb23
2021-08-12Rename readonly to editablePaulb23
2021-08-12Rename insert mode to overtype modePaulb23
2021-08-12Protect internal CodeEdit --> TextEdit APIPaulb23
2021-08-12Cleanup TextEdit selection methodsPaulb23
2021-08-12Expose and cleanup TextEdit line wrap APIPaulb23
2021-08-12Cleanup and rename caret operationsPaulb23
2021-08-12Make TextEdit cut, copy and paste overridablePaulb23
2021-08-12Remove dead code from TextEditPaulb23
2021-08-12Merge pull request #51502 from codecat/fix-caret-selectionRémi Verschelde
Move cursor to edge of selection when moving caret left/right
2021-08-12Better port handling connection for `GraphEdit`Yuri Roubinsky
2021-08-11Triple click in text editor now uses last mouse position for validityMelissa Geels
Previously, you would be able to double click a word, followed by single-clicking another word on the same line, which would select the entire line. Now, it will only select the whole line if the mouse position has remained the same after the double click. This mimicks the behavior in most third party text editors. Fixes #51312.
2021-08-11Move cursor to edge of selection when moving caret left/rightMelissa Geels
This is to mimic the behavior of many third party text editors. The reason it's not doing it when moving by word is due to that behavior being mostly the same on other editors.