summaryrefslogtreecommitdiff
path: root/editor/editor_help.cpp
AgeCommit message (Collapse)Author
2019-10-25Recalculate margin based on help source font sizevolzhs
2019-10-22Prevents segfault on _class_desc_resized at exit Yuri Roubinsky
2019-10-15Fix incorrect coloring of in-editor documentation when theme changedYuri Roubinsky
2019-10-10Add shortcut Shift + F3 to search pervious in the built-in docsMarqus
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>
2019-10-03Applied the same kind of ordering to methods descriptionHanif Bin Ariffin
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)
2019-09-24Merge pull request #31925 from bojidar-bg/31855-overriden-properties-docsRémi Verschelde
Add overriden properties to the documentation
2019-09-24Merge pull request #32225 from Calinou/improve-editor-help-displayRémi Verschelde
Improve the editor help display
2019-09-20Improve the editor help displayHugo Locurcio
- 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.
2019-09-08Find the previous match in the editor help when pressing Shift + EnterHugo Locurcio
2019-09-04Add overriden properties to the documentationBojidar Marinov
Fixes #31855
2019-08-30Increase line spacing in the editor help and asset library descriptionsHugo Locurcio
This makes for more readable text.
2019-08-23Add horizontal margins to the editor help based on widthHugo Locurcio
This decreases the number of characters per line, and therefore helps make the editor help more readable.
2019-08-13Make the script search have a proper matches counterMichael Alexsander Silva Dias
2019-08-09Show matches found when searching the docsMichael Alexsander Silva Dias
2019-07-15Fixed editor_doc properties font alignment bugunknown
2019-07-08Use base `Color()` constructors instead of `Color::html()`Hugo Locurcio
This results in slightly smaller binaries (-17 KB for an editor binary) as no strings need to be allocated.
2019-07-01Merge pull request #29815 from NilsIrl/plus_file_1Rémi Verschelde
Replace ` + "/" + ` with `String::file_add()`
2019-06-27Add default values to the editor help, docs, and generated RSTBojidar Marinov
Also, make spacing of "=" in the editor help a bit more consistent. Closes #16086
2019-06-27Merge pull request #29941 from qarmin/redundant_code_and_othersRémi Verschelde
Remove redundant code, possible NULL pointers and others
2019-06-26Some code changed with Clang-Tidyqarmin
2019-06-23Replace ` + "/" + ` with `String::file_add()`Nils ANDRÉ-CHANG
2019-06-20Fix for #29810Elia Sarti
Ensure indentation works properly in rich text Fix formatting
2019-06-15Add support for bold fonts in the editor helpHugo Locurcio
This also makes it possible to use the strikethrough tag (`[s]`) in the editor help.
2019-06-05Use uppercase for all hexadecimal constants in the editor helpHugo Locurcio
2019-04-27Fix the unclickable links inside the docDaw11
Fixes #27384
2019-04-05Merge pull request #27465 from ↵Rémi Verschelde
neikeq/road-to-lang-agnostic-docs-is-going-to-be-tough EditorHelp: Improve enum ref resolving and add constant ref support
2019-03-29EditorHelp, makerst: Improve enum ref resolving and constant ref supportIgnacio Etcheverry
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).
2019-03-27Use the accent color to highlight selected textHugo Locurcio
This makes selections easier to see, while making them fit better within the editor theme. This closes #22552.
2019-02-17Fix description size in "New Node" dialogMichael Alexsander Silva Dias
2019-02-10General cleanup of script and doc search barsMichael Alexsander Silva Dias
2019-01-31Moved script editor search bar to the bottom, so it doesn't shift everything ↵Marc Gilleron
down
2019-01-01Update copyright statements to 2019Rémi Verschelde
Happy new year to the wonderful Godot community!
2018-11-20Unify editor class and reference searchRay Koopa
Co-authored-by: Michael Alexsander Silva Dias <michaelalexsander@protonmail.com>
2018-11-19Add more places to hide guides if relationship lines are enabledMichael Alexsander Silva Dias
2018-11-05Merge pull request #23518 from volzhs/confirmed_already_connectedRémi Verschelde
Fix error with a specific dock layout
2018-11-05doc: Use HTTPS for docs.godotengine.org and point to latest branchRémi Verschelde
Fixes #23509.
2018-11-05Fix error with a specific dock layoutvolzhs
2018-10-02Fix warnings on virtual methods [-Woverloaded-virtual] ↵Rémi Verschelde
[-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] ```
2018-09-17Fixed empty item slipping into Search Classes dialogDualMatrix
Fixed empty item slipping into Search Classes dialog. Phew tracking this down was weird.
2018-09-14Refactor editor icon retrievalwillnationsdev
2018-09-12Doc: Use same headers and order in-editor and onlineRémi Verschelde
2018-09-12Make core/ includes absolute, remove subfolders from include pathRémi Verschelde
This allows more consistency in the manner we include core headers, where previously there would be a mix of absolute, relative and include path-dependent includes.
2018-08-31Make "Search Classes" dialog have relationship lines if the setting is enabledMichael Alexsander Silva Dias
2018-08-24Make some debug prints verbose-only, remove othersRémi Verschelde
2018-08-21display some constants as hexJuan Linietsky
2018-08-19changed search help selection colorAlexander Holland
2018-08-13Merge pull request #20956 from volzhs/update-helpRémi Verschelde
Update help doc when changing font size
2018-08-13Merge pull request #20155 from Tunous/line-edit-clearRémi Verschelde
Add clear button to search fields
2018-08-13Merge pull request #20668 from SaracenOne/enum_help_fixRémi Verschelde
Fixes the hyperlinks for enumerators inside classes in the editor help.
2018-08-13Update help doc when changing font sizevolzhs