summaryrefslogtreecommitdiffstats
path: root/editor/editor_help.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* show parametric setters and getters in editor helpLakshay Angrish2020-01-171-2/+5
|
* i18n: Sync translation template with current sourceRémi Verschelde2020-01-161-5/+5
|
* doc: Move the class description to be just below the brief descriptionHugo Locurcio2020-01-151-70/+62
| | | | | | | | | - Drop the "Brief description" header as it became redundant with this change. - Fix a bug in the editor help where an extraneous newline was added after the header if the class isn't inherited by any others. - Remove the Category line in the rST markup as it's not useful for API users.
* Update copyright statements to 2020Rémi Verschelde2020-01-011-2/+2
| | | | | | | | | | | Happy new year to the wonderful Godot community! We're starting a new decade with a well-established, non-profit, free and open source game engine, and tons of further improvements in the pipeline from hundreds of contributors. Godot will keep getting better, and we're looking forward to all the games that the community will keep developing and releasing with it.
* Cleans up headers included in editor_node.hHaoyu Qiu2019-12-241-0/+1
|
* Show enum class name when not on the same doc pageHaoyu Qiu2019-12-141-1/+1
| | | | | Variant.Type and Variant.Operator are listed on GlobalScope page instead of Variant. The `Variant` prefix should not be omitted on that page.
* Makes int and bool clickable in documentationHaoyu Qiu2019-12-131-4/+4
| | | | Also adjusted the way to check empty strings.
* Fix incorrect error label color when switching from light to dark themeYuri Roubinsky2019-11-141-0/+1
|
* Fix "matches" label color in light themeYuri Roubinsky2019-11-141-1/+1
|
* Code sections improvements in editor helpPouleyKetchoupp2019-10-311-3/+16
| | | | | - Removed extra new lines around code blocks - Different color for code and code blocks to make them more visible
* Recalculate margin based on help source font sizevolzhs2019-10-251-1/+3
|
* Prevents segfault on _class_desc_resized at exit Yuri Roubinsky2019-10-221-2/+3
|
* Fix incorrect coloring of in-editor documentation when theme changedYuri Roubinsky2019-10-151-0/+4
|
* Add shortcut Shift + F3 to search pervious in the built-in docsMarqus2019-10-101-4/+7
| | | | | | | | | | | | | | | | | When using the built-in docs, Godot would not support the shortcut "Shift + F3" to search for the previous occurrence of the search entry text, thus causing an inconsistent behaviour when using shortcuts in the "ScriptEditor" compared to using them in the "ScriptTextEditor". The previous parameter of the function "EditorHelp::_search()" in the class "editor_help" seems to be unused, thus replaced with a bool representing to search for previous search entry text or not. By adding the shortcut to Godot's "ScriptEditor", this commit now improves Godot's consistensy when using shortcuts. Fixes #31147. Co-Authored-By: Oscar Ferm <oscfer-6@student.ltu.se>
* Applied the same kind of ordering to methods descriptionHanif Bin Ariffin2019-10-031-24/+34
| | | | | | Previously, the ordering did not match. This could be improved by doing the filtering behorehand, then we simply access them. This will make sure that future changes to one is reflected to the other (because we are only doing it once)
* Merge pull request #31925 from bojidar-bg/31855-overriden-properties-docsRémi Verschelde2019-09-241-1/+8
|\ | | | | Add overriden properties to the documentation
| * Add overriden properties to the documentationBojidar Marinov2019-09-041-1/+8
| | | | | | | | Fixes #31855
* | Merge pull request #32225 from Calinou/improve-editor-help-displayRémi Verschelde2019-09-241-19/+21
|\ \ | | | | | | Improve the editor help display
| * | Improve the editor help displayHugo Locurcio2019-09-201-19/+21
| |/ | | | | | | | | | | | | | | | | - Write the type after the parameter name for consistency with the GDScript static typing syntax. - Remove ":" after headers since they're already distinguished by their size. - Remove spaces before/aftere parentheses in method/signal argument lists.
* / Find the previous match in the editor help when pressing Shift + EnterHugo Locurcio2019-09-081-1/+6
|/
* Increase line spacing in the editor help and asset library descriptionsHugo Locurcio2019-08-301-0/+1
| | | | This makes for more readable text.
* Add horizontal margins to the editor help based on widthHugo Locurcio2019-08-231-0/+15
| | | | | This decreases the number of characters per line, and therefore helps make the editor help more readable.
* Make the script search have a proper matches counterMichael Alexsander Silva Dias2019-08-131-9/+3
|
* Show matches found when searching the docsMichael Alexsander Silva Dias2019-08-091-29/+62
|
* Fixed editor_doc properties font alignment bugunknown2019-07-151-0/+2
|
* Use base `Color()` constructors instead of `Color::html()`Hugo Locurcio2019-07-081-17/+17
| | | | | This results in slightly smaller binaries (-17 KB for an editor binary) as no strings need to be allocated.
* Merge pull request #29815 from NilsIrl/plus_file_1Rémi Verschelde2019-07-011-2/+2
|\ | | | | Replace ` + "/" + ` with `String::file_add()`
| * Replace ` + "/" + ` with `String::file_add()`Nils ANDRÉ-CHANG2019-06-231-2/+2
| |
* | Add default values to the editor help, docs, and generated RSTBojidar Marinov2019-06-271-11/+55
| | | | | | | | | | Also, make spacing of "=" in the editor help a bit more consistent. Closes #16086
* | Merge pull request #29941 from qarmin/redundant_code_and_othersRémi Verschelde2019-06-271-2/+0
|\ \ | | | | | | Remove redundant code, possible NULL pointers and others
| * | Some code changed with Clang-Tidyqarmin2019-06-261-2/+0
| | |
* | | Fix for #29810Elia Sarti2019-06-201-2/+10
|/ / | | | | | | | | | | Ensure indentation works properly in rich text Fix formatting
* / Add support for bold fonts in the editor helpHugo Locurcio2019-06-151-7/+7
|/ | | | | This also makes it possible to use the strikethrough tag (`[s]`) in the editor help.
* Use uppercase for all hexadecimal constants in the editor helpHugo Locurcio2019-06-051-1/+2
|
* Fix the unclickable links inside the docDaw112019-04-271-7/+12
| | | Fixes #27384
* Merge pull request #27465 from ↵Rémi Verschelde2019-04-051-10/+39
|\ | | | | | | | | neikeq/road-to-lang-agnostic-docs-is-going-to-be-tough EditorHelp: Improve enum ref resolving and add constant ref support
| * EditorHelp, makerst: Improve enum ref resolving and constant ref supportIgnacio Etcheverry2019-03-291-10/+39
| | | | | | | | | | Enum reference resolving will now search in the @GlobalScope if no class is specified and the enum cannot be resolved in the current class. Added support for constant references in EditorHelp, e.g.: [constant KEY_ENTER] or [constant Control.FOCUS_CLICK]. It supports enum constants (the enum name must not be included).
* | Use the accent color to highlight selected textHugo Locurcio2019-03-271-15/+8
|/ | | | | | | This makes selections easier to see, while making them fit better within the editor theme. This closes #22552.
* Fix description size in "New Node" dialogMichael Alexsander Silva Dias2019-02-171-0/+1
|
* General cleanup of script and doc search barsMichael Alexsander Silva Dias2019-02-101-31/+7
|
* Moved script editor search bar to the bottom, so it doesn't shift everything ↵Marc Gilleron2019-01-311-4/+4
| | | | down
* Update copyright statements to 2019Rémi Verschelde2019-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Unify editor class and reference searchRay Koopa2018-11-201-478/+0
| | | | Co-authored-by: Michael Alexsander Silva Dias <michaelalexsander@protonmail.com>
* Add more places to hide guides if relationship lines are enabledMichael Alexsander Silva Dias2018-11-191-0/+2
|
* Merge pull request #23518 from volzhs/confirmed_already_connectedRémi Verschelde2018-11-051-0/+2
|\ | | | | Fix error with a specific dock layout
| * Fix error with a specific dock layoutvolzhs2018-11-051-0/+2
| |
* | doc: Use HTTPS for docs.godotengine.org and point to latest branchRémi Verschelde2018-11-051-1/+1
|/ | | | Fixes #23509.
* Fix warnings on virtual methods [-Woverloaded-virtual] ↵Rémi Verschelde2018-10-021-4/+5
| | | | | | | | | | | | | | | | | | | | | | | [-Wdelete-non-virtual-dtor] Fixes the following Clang 7 warnings: ``` editor/editor_help.h:123:7: warning: 'EditorHelpIndex::popup' hides overloaded virtual function [-Woverloaded-virtual] editor/editor_help.h:95:7: warning: 'EditorHelpSearch::popup' hides overloaded virtual function [-Woverloaded-virtual] editor/editor_help.h:96:7: warning: 'EditorHelpSearch::popup' hides overloaded virtual function [-Woverloaded-virtual] editor/plugins/curve_editor_plugin.h:141:15: warning: 'CurvePreviewGenerator::generate' hides overloaded virtual function [-Woverloaded-virtual] editor/plugins/script_editor_plugin.h:70:7: warning: 'ScriptEditorQuickOpen::popup' hides overloaded virtual function [-Woverloaded-virtual] editor/quick_open.h:69:7: warning: 'EditorQuickOpen::popup' hides overloaded virtual function [-Woverloaded-virtual] main/tests/test_io.cpp:53:15: warning: 'TestIO::TestMainLoop::input_event' hides overloaded virtual function [-Woverloaded-virtual] servers/audio/effects/audio_effect_record.h:69:15: warning: 'AudioEffectRecordInstance::process_silence' hides overloaded virtual function [-Woverloaded-virtual] core/os/memory.h:119:2: warning: destructor called on non-final 'ContextGL_X11' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] core/os/memory.h:119:2: warning: destructor called on non-final 'EditorScriptCodeCompletionCache' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] core/os/memory.h:119:2: warning: destructor called on non-final 'Engine' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] core/os/memory.h:119:2: warning: destructor called on non-final 'PhysicalBone::JointData' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] core/os/memory.h:119:2: warning: destructor called on non-final 'VisualServerScene' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] core/os/memory.h:119:2: warning: destructor called on non-final 'VisualServerViewport' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] ```
* Fixed empty item slipping into Search Classes dialogDualMatrix2018-09-171-0/+2
| | | | | | Fixed empty item slipping into Search Classes dialog. Phew tracking this down was weird.
* Refactor editor icon retrievalwillnationsdev2018-09-141-13/+5
|