Added a font size setting for the Python editor.

This commit is contained in:
Jeremy Mack Wright 2017-11-16 14:06:20 -05:00
parent 629410f529
commit df93d906ce
2 changed files with 5 additions and 1 deletions

View File

@ -81,6 +81,9 @@ def open(filename):
# Set the margin to be at 119 characters instead of 79
codePane.modes.get(RightMarginMode).position = Settings.max_line_length
# Set the font size of the Python editor
codePane.font_size = Settings.font_size
codePane.setObjectName("cqCodePane_" + os.path.splitext(os.path.basename(filename))[0])
mdi = mw.findChild(QtGui.QMdiArea)

View File

@ -1,3 +1,4 @@
execute_on_save = False # Automatically execute a script every time you save
use_external_editor = False # Automatically reloads and executes a file when an external change is made
max_line_length = 79 # The number of characters per line that is allowed before a warning is given
max_line_length = 79 # The number of characters per line that is allowed before a warning is given
font_size = 10 # Sets the font size of the Python editor