summaryrefslogtreecommitdiffstats
path: root/editor/editor_help.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [Help] Add simulated slanted font support to the editor help.bruvzg2022-03-221-2/+2
|
* Initialize bools in the headers in editorAaron Franke2022-03-121-2/+0
|
* Use vformat() instead of string concatenation inside TTR()Haoyu Qiu2022-03-031-2/+2
|
* Port existing _notification code to use switch statements (part 1/3)jmb4622022-02-161-4/+5
|
* Improve compilation speed (forward declarations/includes cleanup)Hendrik Brucker2022-02-121-3/+3
|
* Revert "Add missing SNAME macro optimization to all theme methods call"Rémi Verschelde2022-02-081-9/+9
| | | | | | | | This reverts commit a988fad9a092053434545c32afae91ccbdfbe792. As discussed in #57725 and clarified in #57788, `SNAME` is not meant to be used everywhere but only in critical code paths. For theme methods specifically, it was by design that only getters use `SNAME` and not setters.
* Add missing SNAME macro optimization to all theme methods calljmb4622022-02-061-9/+9
|
* Add missing SNAME macro optimization in some function callsjmb4622022-02-061-13/+13
|
* Rework TextureButton stretchkobewi2022-02-051-1/+1
|
* Merge pull request #57562 from AnilBK/string-add-containsRémi Verschelde2022-02-031-9/+9
|\ | | | | String: Add contains().
| * String: Add contains().Anilforextra2022-02-041-9/+9
| |
* | Remove get_focus_owner() from Control, replaced by ↵Gilles Roudière2022-02-031-1/+1
| | | | | | | | get_viewport()->gui_get_focus_owner()
* | EditorHelpBit: Fix content height fit and RTL theme propagationRémi Verschelde2022-02-021-5/+7
|/ | | | | | | | | | | | This reverts #51619 and fixes the issue properly, as well as enabling `fit_content_height` which is necessary following #57304. Fixes #57174. Also adds a placeholder for property and signal tooltips with no description, factoring the code while at it. Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
* Fix theming of doc backgroundYuri Roubinsky2022-01-301-5/+5
|
* [Editor] Do not update editor help theme, if calculated margin hasn't changed.bruvzg2022-01-241-6/+9
|
* Use a fixed-width font for internal references in the editor helpHugo Locurcio2022-01-211-4/+8
| | | | | Since internal references are often written in scripts, it makes sense to use a fixed-width font for them.
* Improve spacing in built-in class referenceYuri Sizov2022-01-181-33/+31
|
* Generate editor docs on a threadreduz2022-01-071-3/+43
| | | | | | | * The main generation could not be moved to a thread, as it instantiates classes to get default values, interacts with ProjectSettings, etc. * Only uncompressing documentation and merging it is threaded. * Seems to improve editor load times by 0.5 seconds.
* Update copyright statements to 2022Rémi Verschelde2022-01-031-2/+2
| | | | Happy new year to the wonderful Godot community!
* Merge pull request #55487 from YeldhamDev/scroll_bikesheddingRémi Verschelde2022-01-031-2/+2
|\
| * Rename all methods that return `ScrollBar` nodes to `get_*_scroll_bar()`Michael Alexsander2021-11-301-2/+2
| |
* | Replace String comparisons with "", String() to is_empty()Nathan Franke2021-12-091-32/+32
| | | | | | | | | | | | Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings
* | align to horizontal_alignment, valign to vertical_alignment, relatedNathan Franke2021-12-091-3/+3
| |
* | Make overridden properties link to parent definitionYuri Sizov2021-12-031-7/+32
| | | | | | | | Co-authored-by: Josh DeGraw <joshmdegraw@gmail.com>
* | Sort and group theme properties in docs, improve formatting for theme and enumsYuri Sizov2021-12-011-31/+64
|/
* Add [theme_item] tag to editor helpkobewi2021-11-181-1/+4
|
* Allow dehardcoding documentation branch and URL in docs linksRémi Verschelde2021-11-151-1/+2
| | | | | | | | | | | | | | This makes it possible to change the branch of the documentation that URLs are pointing to without having to modify all class reference files. In the XML class reference, the `$DOCS_URL` placeholder should be used, and will be replaced automatically in the editor and when generating the RST class reference. The documentation branch string is set in `version.py`. Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
* Use "enum class" for input enumsAaron Franke2021-11-121-2/+2
|
* String: Remove `erase` method, bindings can't mutate StringRémi Verschelde2021-11-111-6/+8
|
* Move the docs for constructors and operators out of methods sectionAaron Franke2021-10-291-139/+195
|
* Fix match counter in help pages not updatingMichael Alexsander2021-10-011-1/+1
|
* Use range iterators for `Map`Lightning_A2021-09-301-9/+9
|
* Merge pull request #52655 from Chaosus/toggle_scripts_panelRémi Verschelde2021-09-171-0/+28
|\
| * Added status bar and toggle scripts panel button to EditorHelp/VScriptsYuri Roubinsky2021-09-151-0/+28
| |
* | Remove bbcode_text from RichTextLabelHaSa10022021-09-161-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | Also renames: - append_bbcode -> append_text - get_bbcode -> get_text - set_bbcode -> set_text - get_text -> get_parsed_text Property text is: set_text get_text
* | Merge pull request #52352 from williamd67/open-help-editor-at-correct-positionRémi Verschelde2021-09-151-3/+3
|\ \ | |/ |/|
| * Symbol lookup jumps to the correct position in help editorWilliam Deurwaarder2021-09-021-3/+3
| | | | | | | | | | | | | | | | | | Commit `e4651a4` introduced `scroll_to_paragraph` and changed the implementation of `scroll_to_line`, which also counts lines within paragraphs. The help editor still used the `scroll_to_line` method while it should use the newly implemented `scroll_to_paragraph' as that is stored in its tables.
* | Show help for built-in functions (@GlobalScope)William Deurwaarder2021-08-301-0/+2
|/
* Implement error return documetationreduz2021-08-241-1/+27
| | | | | | | | | | | | | | Adds ability to add error return documetation to the binder and class reference. Usage example: ```C++ void MyClass::_bind_method() { [..] BIND_METHOD_ERR_RETURN_DOC("load", ERR_FILE_CANT_OPEN, ERR_FILE_UNRECOGNIZED); } ``` One function of ConfigFile was changed as example.
* Implement NativeExtension pointer argumentsreduz2021-08-231-3/+3
| | | | | | | | * Allows calling into native extensions directly with a pointer * Makes it easier to implement some APIs more efficiently * Appears with a "*" in the documentation for the argument. * Implementing the pointer handling is entirely up to the implementation, although the extension API provides some hint. * AudioStream has been implemented as an example, allowing to create NativeExtension based AudioStreams.
* Entirely removes BIND_VMETHOD in favor of GDVIRTUALreduz2021-08-231-3/+1
| | | | | | | | * `_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.
* Add theme item descriptions to the online documentationYuri Sizov2021-08-041-5/+3
|
* Optimize StringName usagereduz2021-07-181-40/+40
| | | | | | | | | | | * 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.
* Rename `is_a_parent_of()` to `is_ancestor_of()`Lightning_A2021-06-211-1/+1
|
* Documentation search fixesGregory Basile2021-06-161-6/+3
| | | | | | Updates rich_text_label so that the built-in documentation can be searched Previously, it would only find the first result and would not select other results Renames "_entered" functions to "_submitted"
* Merge pull request #47791 from Chaosus/fix_doc_themeRémi Verschelde2021-05-241-1/+1
|\ | | | | Fix doc theme not changing when its changed via settings
| * Fix doc theme not changing when its hiddingYuri Roubinsky2021-04-111-1/+1
| |
* | Change behavior of String.rightTomasz Chabora2021-05-201-1/+1
| |
* | Rename LineEdit caret_* properties getters and setters to match propertyMarcel Admiraal2021-04-171-1/+1
|/
* Fix crashes in *_input functionsRafał Mikrut2021-04-051-0/+2
|