[Idle-dev] CVS: idle configDialog.py,1.41,1.42 config-main.def,1.9,1.10
Stephen M. Gava
elguavas@users.sourceforge.net
Mon, 11 Mar 2002 16:52:45 -0800
Update of /cvsroot/idlefork/idle
In directory usw-pr-cvs1:/tmp/cvs-serv23349
Modified Files:
configDialog.py config-main.def
Log Message:
remove tabwidth (for tabs) config stuff,
because of the way the tk text widget handles
tabs they must remain a fixed size in idle
Index: configDialog.py
===================================================================
RCS file: /cvsroot/idlefork/idle/configDialog.py,v
retrieving revision 1.41
retrieving revision 1.42
diff -C2 -r1.41 -r1.42
*** configDialog.py 12 Mar 2002 00:21:23 -0000 1.41
--- configDialog.py 12 Mar 2002 00:52:42 -0000 1.42
***************
*** 126,136 ****
text='Choose indentation size :')
labelSpaceNumTitle=Label(frameIndentSize,justify=LEFT,
! text='when tab key inserts spaces,\nspaces per tab')
self.scaleSpaceNum=Scale(frameIndentSize,variable=self.spaceNum,
orient='horizontal',tickinterval=2,from_=2,to=8)
! labeltabColsTitle=Label(frameIndentSize,justify=LEFT,
! text='when tab key inserts tabs,\ncolumns per tab')
! self.scaleTabCols=Scale(frameIndentSize,variable=self.tabCols,
! orient='horizontal',tickinterval=2,from_=2,to=8)
#widget packing
#body
--- 126,136 ----
text='Choose indentation size :')
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)
! #labeltabColsTitle=Label(frameIndentSize,justify=LEFT,
! # text='when tab key inserts tabs,\ncolumns per tab')
! #self.scaleTabCols=Scale(frameIndentSize,variable=self.tabCols,
! # orient='horizontal',tickinterval=2,from_=2,to=8)
#widget packing
#body
***************
*** 159,164 ****
labelSpaceNumTitle.pack(side=TOP,anchor=W,padx=5)
self.scaleSpaceNum.pack(side=TOP,padx=5,fill=X)
! labeltabColsTitle.pack(side=TOP,anchor=W,padx=5)
! self.scaleTabCols.pack(side=TOP,padx=5,fill=X)
return frame
--- 159,164 ----
labelSpaceNumTitle.pack(side=TOP,anchor=W,padx=5)
self.scaleSpaceNum.pack(side=TOP,padx=5,fill=X)
! #labeltabColsTitle.pack(side=TOP,anchor=W,padx=5)
! #self.scaleTabCols.pack(side=TOP,padx=5,fill=X)
return frame
***************
*** 922,926 ****
def LoadTabCfg(self):
! ##indent type radibuttons
spaceIndent=idleConf.GetOption('main','Indent','use-spaces',
default=1,type='bool')
--- 922,926 ----
def LoadTabCfg(self):
! ##indent type radiobuttons
spaceIndent=idleConf.GetOption('main','Indent','use-spaces',
default=1,type='bool')
***************
*** 929,936 ****
spaceNum=idleConf.GetOption('main','Indent','num-spaces',
default=4,type='int')
! tabCols=idleConf.GetOption('main','Indent','tab-cols',
! default=4,type='int')
self.spaceNum.set(spaceNum)
! self.tabCols.set(tabCols)
def LoadThemeCfg(self):
--- 929,936 ----
spaceNum=idleConf.GetOption('main','Indent','num-spaces',
default=4,type='int')
! #tabCols=idleConf.GetOption('main','Indent','tab-cols',
! # default=4,type='int')
self.spaceNum.set(spaceNum)
! #self.tabCols.set(tabCols)
def LoadThemeCfg(self):
Index: config-main.def
===================================================================
RCS file: /cvsroot/idlefork/idle/config-main.def,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** config-main.def 5 Feb 2002 04:51:35 -0000 1.9
--- config-main.def 12 Mar 2002 00:52:42 -0000 1.10
***************
*** 42,46 ****
use-spaces= 1
num-spaces= 4
- tab-cols= 4
[Theme]
--- 42,45 ----