editors/DataTypeEditor.py
changeset 1782 5b6ad7a7fd9d
parent 1768 691083b5682a
child 1812 8626a4948d5e
--- a/editors/DataTypeEditor.py	Sat Aug 19 21:06:54 2017 +0300
+++ b/editors/DataTypeEditor.py	Mon Aug 21 21:55:18 2017 +0300
@@ -37,9 +37,9 @@
 from util.BitmapLibrary import GetBitmap
 from util.TranslationCatalogs import NoTranslate
 
-#-------------------------------------------------------------------------------
+# -------------------------------------------------------------------------------
 #                                    Helpers
-#-------------------------------------------------------------------------------
+# -------------------------------------------------------------------------------
 
 DIMENSION_MODEL = re.compile("([0-9]+)\.\.([0-9]+)$")
 
@@ -60,9 +60,9 @@
 
 DATATYPE_TYPES_DICT = dict([(_(datatype), datatype) for datatype in GetDatatypeTypes()])
 
-#-------------------------------------------------------------------------------
+# -------------------------------------------------------------------------------
 #                            Structure Elements Table
-#-------------------------------------------------------------------------------
+# -------------------------------------------------------------------------------
 
 
 class ElementsTable(CustomTable):
@@ -140,9 +140,9 @@
             col_highlights = row_highlights.setdefault(infos[1], [])
         col_highlights.append(highlight_type)
 
-#-------------------------------------------------------------------------------
+# -------------------------------------------------------------------------------
 #                          Datatype Editor class
-#-------------------------------------------------------------------------------
+# -------------------------------------------------------------------------------
 
 
 class DataTypeEditor(EditorPanel):
@@ -777,9 +777,9 @@
         self.ParentWindow.RefreshFileMenu()
         self.ParentWindow.RefreshEditMenu()
 
-#-------------------------------------------------------------------------------
-#                        Highlights showing functions
-#-------------------------------------------------------------------------------
+    # -------------------------------------------------------------------------------
+    #                        Highlights showing functions
+    # -------------------------------------------------------------------------------
 
     def OnRefreshHighlightsTimer(self, event):
         self.RefreshView()