We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0faef87 commit 05c7443Copy full SHA for 05c7443
scripts/Samples/UserStartupWrapConsole.py
@@ -0,0 +1,11 @@
1
+# -*- coding: utf-8 -*-
2
+# From https://github.com/bruderstein/PythonScript/issues/330
3
+# Wrap text in console pythonscript window by putting the following (or an adapted version) in user startup.py:
4
+
5
6
+console.editor.setWrapMode(WRAP.WORD)
7
+console.editor.setWrapIndentMode(WRAPINDENTMODE.SAME)
8
+console.editor.setWrapStartIndent(0)
9
+console.editor.setWrapVisualFlags(WRAPVISUALFLAG.END)
10
11
+console.editor.setWrapVisualFlagsLocation(WRAPVISUALLOCATION.END_BY_TEXT)
0 commit comments