summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib
diff options
context:
space:
mode:
authorSteven M. Gava <elguavas@python.net>2002-03-12 02:33:52 (GMT)
committerSteven M. Gava <elguavas@python.net>2002-03-12 02:33:52 (GMT)
commit9d142adfce027096a5c80dcaf7193b510cf7f984 (patch)
tree0794311396a78f2083f9ed044cda0db09d416067 /Lib/idlelib
parent63f6714c3ab713767dc35abc2b1129a1d264d858 (diff)
downloadcpython-9d142adfce027096a5c80dcaf7193b510cf7f984.zip
cpython-9d142adfce027096a5c80dcaf7193b510cf7f984.tar.gz
cpython-9d142adfce027096a5c80dcaf7193b510cf7f984.tar.bz2
fixes to tabwidth code removal
Diffstat (limited to 'Lib/idlelib')
-rw-r--r--Lib/idlelib/configDialog.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/Lib/idlelib/configDialog.py b/Lib/idlelib/configDialog.py
index 53f3e1a..a7ad530 100644
--- a/Lib/idlelib/configDialog.py
+++ b/Lib/idlelib/configDialog.py
@@ -82,7 +82,7 @@ class ConfigDialog(Toplevel):
self.fontBold=BooleanVar(self)
self.fontName=StringVar(self)
self.spaceNum=IntVar(self)
- self.tabCols=IntVar(self)
+ #self.tabCols=IntVar(self)
self.indentBySpaces=BooleanVar(self)
self.editFont=tkFont.Font(self,('courier',12,'normal'))
##widget creation
@@ -127,7 +127,7 @@ class ConfigDialog(Toplevel):
labelSpaceNumTitle=Label(frameIndentSize,justify=LEFT,
text='when tab key inserts spaces,\nspaces per indent')
self.scaleSpaceNum=Scale(frameIndentSize,variable=self.spaceNum,
- orient='horizontal',tickinterval=2,from_=2,to=8)
+ orient='horizontal',tickinterval=2,from_=2,to=10)
#labeltabColsTitle=Label(frameIndentSize,justify=LEFT,
# text='when tab key inserts tabs,\ncolumns per tab')
#self.scaleTabCols=Scale(frameIndentSize,variable=self.tabCols,
@@ -407,7 +407,7 @@ class ConfigDialog(Toplevel):
self.fontName.trace_variable('w',self.VarChanged_fontName)
self.fontBold.trace_variable('w',self.VarChanged_fontBold)
self.spaceNum.trace_variable('w',self.VarChanged_spaceNum)
- self.tabCols.trace_variable('w',self.VarChanged_tabCols)
+ #self.tabCols.trace_variable('w',self.VarChanged_tabCols)
self.indentBySpaces.trace_variable('w',self.VarChanged_indentBySpaces)
self.colour.trace_variable('w',self.VarChanged_colour)
self.builtinTheme.trace_variable('w',self.VarChanged_builtinTheme)
@@ -442,9 +442,9 @@ class ConfigDialog(Toplevel):
value=self.spaceNum.get()
self.AddChangedItem('main','Indent','num-spaces',value)
- def VarChanged_tabCols(self,*params):
- value=self.tabCols.get()
- self.AddChangedItem('main','Indent','tab-cols',value)
+ #def VarChanged_tabCols(self,*params):
+ # value=self.tabCols.get()
+ # self.AddChangedItem('main','Indent','tab-cols',value)
def VarChanged_colour(self,*params):
self.OnNewColourSet()