summaryrefslogtreecommitdiffstats
path: root/scene/gui/code_edit.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Improved breakpoint gutter for CodeEdit.Eric M2021-09-301-6/+13
| | | | Added preview of breakpoint placement on hover. Added override of icon for the Editor to use an SVG so it is no longer blurry.
* Fix incorrect offsets of tooltip content in `CodeEdit`Yuri Roubinsky2021-09-241-3/+3
| | | | | Fix incorrect offsets of tooltip content in `CodeEdit`
* Construct values only when necessary.Anilforextra2021-09-231-2/+2
|
* Change completion prefixes to single char and unnecessary ui_cancel accept_eventPaulb232021-09-201-10/+13
|
* Merge pull request #52583 from e8newallm/52360Rémi Verschelde2021-09-141-1/+3
|\ | | | | Removed updates that caused unnecessary window updates
| * Removed updates that caused unnecessary window updatesMatthew Newall2021-09-131-1/+3
| |
* | Merge pull request #52443 from Paulb23/code-edit-indext-fixesRémi Verschelde2021-09-131-3/+3
|\ \ | | | | | | Fix brace placement with space auto indent
| * | Fix brace placement with space auto indentPaulb232021-09-061-3/+3
| | |
* | | Merge pull request #52346 from Paulb23/string-tracking-fixesRémi Verschelde2021-09-131-4/+13
|\ \ \ | | | | | | | | Fix getting deliminator start over empty lines and blank start keys
| * | | Fix getting deliminator start over empty lines and blank start keysPaulb232021-09-021-4/+13
| |/ /
* | / Fix block deliminator not-folding at end of filePaulb232021-09-091-1/+6
| |/ |/|
* | Merge pull request #52339 from jmb462/fix-fold-function-with-comment-failMax Hilbrunner2021-09-071-4/+18
|\ \ | | | | | | Fix wrong folding behaviour of last block if containing comment
| * | Fix comment causes content of folded methods to not hidejmb4622021-09-051-4/+18
| |/
* | Merge pull request #52359 from williamd67/fix-autocomplete-mergeMax Hilbrunner2021-09-071-1/+1
|\ \ | | | | | | Fix incorrectly removing two characters by auto brace
| * | Fix incorrectly removing two characters by auto braceWilliam Deurwaarder2021-09-031-1/+1
| |/ | | | | | | | | In some situations when there were no braces auto brace still removed two characters. This has been fixed by adding a test that a brace is found.
* / Fix crash during completion lookbackdaniel-mcclintock2021-09-061-1/+1
|/
* Fix misspelled "overriden"Haoyu Qiu2021-08-261-1/+1
| | | | In recent GDVIRTUAL PR and SkeletonModification3DJiggle doc.
* Entirely removes BIND_VMETHOD in favor of GDVIRTUALreduz2021-08-231-3/+3
| | | | | | | | * `_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.
* Replace BIND_VMETHOD by new GDVIRTUAL syntaxreduz2021-08-221-18/+17
| | | | | | | | | | | * 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.
* Merge pull request #51585 from Paulb23/theme-update-optimisationRémi Verschelde2021-08-131-1/+4
|\
| * Move CodeEdit theme overrides into EditorThemePaulb232021-08-131-1/+4
| |
* | Fix incorrect completion popup size of `CodeEdit`Yuri Roubinsky2021-08-131-7/+19
|/
* Fix breakpoint toggle signal not firing when expectedPaulb232021-08-121-10/+34
|
* Cleanup and complete TextEdit inspector and docsPaulb232021-08-121-3/+3
|
* Cleanup and bind remaing methods in TextEditPaulb232021-08-121-54/+66
|
* Rename readonly to editablePaulb232021-08-121-8/+8
|
* Rename insert mode to overtype modePaulb232021-08-121-2/+2
|
* Protect internal CodeEdit --> TextEdit APIPaulb232021-08-121-15/+15
|
* Cleanup TextEdit selection methodsPaulb232021-08-121-10/+10
|
* Expose and cleanup TextEdit line wrap APIPaulb232021-08-121-4/+4
|
* Cleanup and rename caret operationsPaulb232021-08-121-77/+77
|
* Make TextEdit cut, copy and paste overridablePaulb232021-08-121-60/+63
|
* Improve CodeEdit's callhint highlight visibilityHugo Locurcio2021-08-021-2/+9
| | | | | This makes the currently edited parameter more visible in the script editor's code completion hint.
* Clean up and complete CodeEdit inspector and docsPaulb232021-08-011-8/+12
|
* Move symbol lookup into CodeEditPaulb232021-08-011-0/+115
|
* Move line length guidelines into CodeEditPaulb232021-08-011-0/+37
|
* Move brace matching into CodeEditPaulb232021-08-011-0/+13
|
* Move auto brace completion to CodeEditPaulb232021-08-011-53/+243
|
* Merge pull request #50809 from akien-mga/iterators-const-referencesRémi Verschelde2021-07-251-1/+1
|\
| * Use const references where possible for List range iteratorsRémi Verschelde2021-07-251-1/+1
| |
* | Fix various typos with codespellluz paz2021-07-251-2/+2
|/ | | | Found via `codespell -q 3 -S ./thirdparty,*.po,./DONORS.md -L ackward,ang,ans,ba,beng,cas,childs,childrens,dof,doubleclick,fave,findn,hist,inout,leapyear,lod,nd,numer,ois,ony,paket,seeked,sinc,switchs,te,uint`
* Use C++ iterators for Lists in many situationsAaron Franke2021-07-231-12/+9
|
* Merge pull request #50606 from Chaosus/textedit_fix_guttertypeRémi Verschelde2021-07-191-3/+3
|\ | | | | Fixed typos in `TextEdit::GutterType` enum
| * Fixed typos in `TextEdit::GutterType` enumYuri Roubinsky2021-07-191-3/+3
| |
* | Optimize StringName usagereduz2021-07-181-27/+27
|/ | | | | | | | | | | * 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.
* Move indent management to CodeEditPaulb232021-06-201-9/+497
|
* Use mouse and joypad enums instead of plain integersAaron Franke2021-06-201-0/+2
| | | | Also MIDIMessage
* Rename `instance()`->`instantiate()` when it's a verbLightning_A2021-06-191-2/+2
|
* Merge pull request #49238 from Paulb23/code_edit_code_foldingRémi Verschelde2021-06-161-4/+255
|\ | | | | Move code folding into CodeEdit and hide line hiding API
| * Move code folding into CodeEdit and hide line hiding APIPaulb232021-06-011-4/+255
| |