Skip to content

Commit

Permalink
Clarify expected return values for EditorSyntaxHighlighter's virtual …
Browse files Browse the repository at this point in the history
…methods
  • Loading branch information
Calinou committed Nov 21, 2024
1 parent 9e60984 commit 381a46f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/classes/EditorSyntaxHighlighter.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@
<method name="_get_name" qualifiers="virtual const">
<return type="String" />
<description>
Virtual method which can be overridden to return the syntax highlighter name.
Virtual method which can be overridden to return the syntax highlighter name. This is a name that is displayed in the editor when selecting between syntax highlighters, e.g. [code]Markdown[/code].
</description>
</method>
<method name="_get_supported_languages" qualifiers="virtual const">
<return type="PackedStringArray" />
<description>
Virtual method which can be overridden to return the supported language names.
Virtual method which can be overridden to return the supported file extensions. This method should return a list of file extensions without the leading period, e.g. [code]PackedStringArray(["md", "markdown"])[/code].
</description>
</method>
</methods>
Expand Down

0 comments on commit 381a46f

Please sign in to comment.