--- a/eric6/Preferences/__init__.py Fri Jan 22 14:14:15 2021 +0100 +++ b/eric6/Preferences/__init__.py Fri Jan 22 16:48:43 2021 +0100 @@ -502,6 +502,8 @@ "SourceOutlineStepSize": 50, "SourceOutlineShowCoding": True, + "DocstringType": "ericdoc", + # All (most) lexers "AllFoldCompact": True, @@ -2084,7 +2086,8 @@ if key in ["DefaultEncoding", "DefaultOpenFilter", "DefaultSaveFilter", "SpellCheckingDefaultLanguage", "SpellCheckingPersonalWordList", "SpellCheckingPersonalExcludeList", - "PreviewMarkdownHTMLFormat", "PreviewRestDocutilsHTMLFormat"]: + "PreviewMarkdownHTMLFormat", "PreviewRestDocutilsHTMLFormat", + "DocstringType"]: return prefClass.settings.value( "Editor/" + key, prefClass.editorDefaults[key]) elif key in ["AutosaveInterval", "TabWidth", "IndentWidth",