diff -r c114e9476034 -r 2f6df822e3b9 src/eric7/QScintilla/Editor.py --- a/src/eric7/QScintilla/Editor.py Sun Jun 30 15:37:49 2024 +0200 +++ b/src/eric7/QScintilla/Editor.py Sun Jun 30 17:58:31 2024 +0200 @@ -57,7 +57,7 @@ QToolTip, ) -from eric7 import Globals, Preferences, Utilities +from eric7 import EricUtilities, Globals, Preferences, Utilities from eric7.CodeFormatting.BlackFormattingAction import BlackFormattingAction from eric7.CodeFormatting.BlackUtilities import aboutBlack from eric7.CodeFormatting.IsortFormattingAction import IsortFormattingAction @@ -2843,7 +2843,7 @@ # get recently used breakpoint conditions rs = Preferences.Prefs.rsettings.value(recentNameBreakpointConditions) condHistory = ( - Preferences.toList(rs)[: Preferences.getDebugger("RecentNumber")] + EricUtilities.toList(rs)[: Preferences.getDebugger("RecentNumber")] if rs is not None else [] ) @@ -9994,9 +9994,9 @@ elif option == "DefaultEncoding": value = config["charset"] elif option == "InsertFinalNewline": - value = Globals.toBool(config["insert_final_newline"]) + value = EricUtilities.toBool(config["insert_final_newline"]) elif option == "StripTrailingWhitespace": - value = Globals.toBool(config["trim_trailing_whitespace"]) + value = EricUtilities.toBool(config["trim_trailing_whitespace"]) elif option == "TabWidth": value = int(config["tab_width"]) elif option == "IndentWidth":