Tools__CodeView2SettingsAppl.st
changeset 10794 854c6d72f257
parent 10524 ceb080812e0d
child 10902 361a19675c61
--- a/Tools__CodeView2SettingsAppl.st	Mon Oct 10 17:51:10 2011 +0200
+++ b/Tools__CodeView2SettingsAppl.st	Mon Oct 10 17:52:24 2011 +0200
@@ -16,7 +16,7 @@
 AbstractSettingsApplication subclass:#CodeView2SettingsAppl
 	instanceVariableNames:'useCodeView2InTools useCodeView2InDebugger useCodeView2InBrowser
 		useCodeView2InToolEnabled useCodeView2InWorkspace
-		codeView2AutoIndent'
+		codeView2AutoIndent codeView2ShowAcceptCancel'
 	classVariableNames:''
 	poolDictionaries:''
 	category:'Interface-CodeView'
@@ -97,7 +97,14 @@
                          (SpecCollection
                             collection: (
                              (CheckBoxSpec
-                                label: 'Auto Indent'
+                                label: 'Show Accept/Cancel Buttons in Gutter'
+                                name: 'CheckBox6'
+                                model: codeView2ShowAcceptCancel
+                                translateLabel: true
+                                extent: (Point 540 22)
+                              )
+                             (CheckBoxSpec
+                                label: 'Auto Indent (EXPERIMENTAL, NOT YET RECCOMENDED)'
                                 name: 'CheckBox5'
                                 model: codeView2AutoIndent
                                 translateLabel: true
@@ -110,7 +117,7 @@
                        )
                      
                     )
-                    extent: (Point 576 59)
+                    extent: (Point 576 90)
                   )
                  (FramedBoxSpec
                     label: 'Tool Support'
@@ -207,6 +214,18 @@
     "Created: / 07-08-2011 / 12:52:20 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
+codeView2ShowAcceptCancel
+    "return/create the 'codeView2ShowAcceptCancel' value holder (automatically generated)"
+
+    codeView2ShowAcceptCancel isNil ifTrue:[
+        codeView2ShowAcceptCancel := ValueHolder new.
+        codeView2ShowAcceptCancel onChangeSend:#updateModifiedChannel to:self
+    ].
+    ^ codeView2ShowAcceptCancel
+
+    "Modified: / 10-10-2011 / 16:43:22 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+!
+
 useCodeView2InBrowser
     "return/create the 'useCodeView2InTools' value holder (automatically generated)"
 
@@ -290,9 +309,10 @@
         #useCodeView2InWorkspace
         "/Editing support
         #codeView2AutoIndent
+        #codeView2ShowAcceptCancel
     )
 
-    "Modified: / 07-08-2011 / 12:48:11 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+    "Modified: / 10-10-2011 / 16:43:36 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
 basicReadSettings
@@ -333,11 +353,11 @@
 !CodeView2SettingsAppl class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libtool/Tools__CodeView2SettingsAppl.st,v 1.3 2011-08-07 11:59:11 vrany Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/Tools__CodeView2SettingsAppl.st,v 1.4 2011-10-10 15:52:24 vrany Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libtool/Tools__CodeView2SettingsAppl.st,v 1.3 2011-08-07 11:59:11 vrany Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/Tools__CodeView2SettingsAppl.st,v 1.4 2011-10-10 15:52:24 vrany Exp $'
 !
 
 version_SVN