From 71c65add45ca50d6fc8eff8c4c3c5a5ab2e65b8c Mon Sep 17 00:00:00 2001 From: Fabio Zadrozny Date: Sun, 1 Sep 2024 10:16:21 -0300 Subject: [PATCH] Fixed issue where maxCols were not being properly used. --- .../src/org/python/pydev/ast/sort_imports/ImportArranger.java | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/org.python.pydev.ast/src/org/python/pydev/ast/sort_imports/ImportArranger.java b/plugins/org.python.pydev.ast/src/org/python/pydev/ast/sort_imports/ImportArranger.java index 3360a64c2c..8e623e311c 100644 --- a/plugins/org.python.pydev.ast/src/org/python/pydev/ast/sort_imports/ImportArranger.java +++ b/plugins/org.python.pydev.ast/src/org/python/pydev/ast/sort_imports/ImportArranger.java @@ -211,6 +211,7 @@ public ImportArranger(IDocument doc, boolean removeUnusedImports, String endLine this.removeUnusedImports = removeUnusedImports; this.automatic = automatic; this.edit = edit; + this.maxCols = maxCols; multilineImports = ImportPreferences.getMultilineImports(edit); sortNamesGrouped = ImportPreferences.getSortNamesGrouped(edit); breakWithParenthesis = getBreakImportsWithParenthesis(edit);