Wed, 27 Jan 2021 18:29:52 +0100
Added TODO markers for JSON file handlers still to do.
--- a/eric6/Preferences/ConfigurationPages/EditorHighlightingStylesPage.py Wed Jan 27 18:29:25 2021 +0100 +++ b/eric6/Preferences/ConfigurationPages/EditorHighlightingStylesPage.py Wed Jan 27 18:29:52 2021 +0100 @@ -517,6 +517,7 @@ """ self.__exportStyles(list(self.lexers.values())) + # TODO: do the JSON styles def __exportStyles(self, lexers): """ Private method to export the styles of the given lexers. @@ -558,6 +559,7 @@ .format(fn, f.errorString()) ) + # TODO: do the JSON styles def __importStyles(self, lexers): """ Private method to import the styles of the given lexers.
--- a/eric6/Preferences/Shortcuts.py Wed Jan 27 18:29:25 2021 +0100 +++ b/eric6/Preferences/Shortcuts.py Wed Jan 27 18:29:52 2021 +0100 @@ -196,6 +196,7 @@ __saveShortcut(act, helpViewerCategory, prefClass) +# TODO: do the JSON shortcuts def exportShortcuts(fn, helpViewer=None): """ Module function to export the keyboard shortcuts for the defined QActions. @@ -224,6 +225,7 @@ .format(fn)) +# TODO: do the JSON shortcuts def importShortcuts(fn, helpViewer=None): """ Module function to import the keyboard shortcuts for the defined E5Actions.
--- a/eric6/Templates/TemplateViewer.py Wed Jan 27 18:29:25 2021 +0100 +++ b/eric6/Templates/TemplateViewer.py Wed Jan 27 18:29:52 2021 +0100 @@ -948,7 +948,8 @@ tmpl.setDescription(description) tmpl.setTemplateText(template) self.__resort() - + + # TODO: do the JSON templates def writeTemplates(self, filename=None): """ Public method to write the templates data to an XML file (.e4c). @@ -977,6 +978,7 @@ return True + # TODO: do the JSON templates def readTemplates(self, filename=None): """ Public method to read in the templates file (.e4c).