Preferences/ConfigurationPages/EditorStylesPage.py

branch
Py2 comp.
changeset 3484
645c12de6b0c
parent 3178
f25fc1364c88
parent 3341
7c015811fc4d
child 3656
441956d8fce5
diff -r 96232974dcdb -r 645c12de6b0c Preferences/ConfigurationPages/EditorStylesPage.py
--- a/Preferences/ConfigurationPages/EditorStylesPage.py	Sun Mar 30 22:00:14 2014 +0200
+++ b/Preferences/ConfigurationPages/EditorStylesPage.py	Thu Apr 03 23:05:31 2014 +0200
@@ -50,20 +50,20 @@
         ]
         
         self.wrapModeComboBox.addItem(
-            self.trUtf8("Disabled"), QsciScintilla.WrapNone)
+            self.tr("Disabled"), QsciScintilla.WrapNone)
         self.wrapModeComboBox.addItem(
-            self.trUtf8("Word Boundary"), QsciScintilla.WrapWord)
+            self.tr("Word Boundary"), QsciScintilla.WrapWord)
         self.wrapModeComboBox.addItem(
-            self.trUtf8("Character Boundary"), QsciScintilla.WrapCharacter)
+            self.tr("Character Boundary"), QsciScintilla.WrapCharacter)
         self.wrapVisualComboBox.addItem(
-            self.trUtf8("No Indicator"), QsciScintilla.WrapFlagNone)
+            self.tr("No Indicator"), QsciScintilla.WrapFlagNone)
         self.wrapVisualComboBox.addItem(
-            self.trUtf8("Indicator by Text"), QsciScintilla.WrapFlagByText)
+            self.tr("Indicator by Text"), QsciScintilla.WrapFlagByText)
         self.wrapVisualComboBox.addItem(
-            self.trUtf8("Indicator by Margin"), QsciScintilla.WrapFlagByBorder)
+            self.tr("Indicator by Margin"), QsciScintilla.WrapFlagByBorder)
         if QSCINTILLA_VERSION() >= 0x020700:
             self.wrapVisualComboBox.addItem(
-                self.trUtf8("Indicator in Line Number Margin"),
+                self.tr("Indicator in Line Number Margin"),
                 QsciScintilla.WrapFlagInMargin)
         
         if QSCINTILLA_VERSION() < 0x020800:
@@ -213,6 +213,34 @@
         self.initColour("OnlineChangeTraceMarkerSaved",
                         self.changeMarkerSavedColorButton,
                         Preferences.getEditorColour)
+        
+        self.initColour("BookmarksMap",
+                        self.bookmarksMapButton,
+                        Preferences.getEditorColour)
+        self.initColour("ErrorsMap",
+                        self.errorsMapButton,
+                        Preferences.getEditorColour)
+        self.initColour("WarningsMap",
+                        self.warningsMapButton,
+                        Preferences.getEditorColour)
+        self.initColour("BreakpointsMap",
+                        self.breakpointsMapButton,
+                        Preferences.getEditorColour)
+        self.initColour("TasksMap",
+                        self.tasksMapButton,
+                        Preferences.getEditorColour)
+        self.initColour("CoverageMap",
+                        self.coverageMapButton,
+                        Preferences.getEditorColour)
+        self.initColour("ChangesMap",
+                        self.changesMapButton,
+                        Preferences.getEditorColour)
+        self.initColour("CurrentMap",
+                        self.currentMapButton,
+                        Preferences.getEditorColour)
+        self.initColour("MarkerMapBackground",
+                        self.markerMapBackgroundButton,
+                        Preferences.getEditorColour)
     
     def save(self):
         """

eric ide

mercurial