UserPreferences.st
changeset 15290 de9c34723d33
parent 15158 073911af23f1
child 15417 13b0cb902059
child 18063 4a8226cd76ab
--- a/UserPreferences.st	Tue May 28 14:44:56 2013 +0200
+++ b/UserPreferences.st	Wed May 29 13:12:32 2013 +0200
@@ -1905,6 +1905,29 @@
     "Modified: / 5.2.2000 / 15:38:20 / cg"
 !
 
+autoIndentInCodeView
+    "return the flag which controls automatic cursor control in editors which
+     show code(autoIndent)"
+
+    ^ self at:#autoIndentInCodeView ifAbsent:false
+
+    "
+     UserPreferences current autoIndentInCodeView
+    "
+!
+
+autoIndentInCodeView:aBoolean
+    "flag which controls automatic cursor control in editors which
+     show code(autoIndent)"
+
+    ^ self at:#autoIndentInCodeView put:aBoolean
+
+    "
+     UserPreferences current autoIndentInCodeView:true
+     UserPreferences current autoIndentInCodeView:false
+    "
+!
+
 enforceCodeStyle
     "return the flag which controls enforcing a certain code style (in some browsers)"
 
@@ -3308,6 +3331,32 @@
 
 !UserPreferences methodsFor:'accessing-prefs-code view'!
 
+codeView2AutoPrettyPrint
+
+    ^self at:#codeView2AutoPrettyPrint ifAbsent: false
+
+    "
+     UserPreferences current codeView2AutoPrettyPrint 
+     UserPreferences current codeView2AutoPrettyPrint:true 
+     UserPreferences current codeView2AutoPrettyPrint:false"
+
+    "Modified: / 15-02-2010 / 09:26:16 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+    "Created: / 07-08-2011 / 12:46:59 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+!
+
+codeView2AutoPrettyPrint: aBoolean
+
+    ^self at:#codeView2AutoPrettyPrint put: aBoolean
+
+    "
+     UserPreferences current codeView2AutoPrettyPrint 
+     UserPreferences current codeView2AutoPrettyPrint:true 
+     UserPreferences current codeView2AutoPrettyPrint:false"
+
+    "Modified: / 15-02-2010 / 09:26:16 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+    "Created: / 07-08-2011 / 12:47:09 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+!
+
 codeView2QuickSendersAndImplementorsOnControl
     "if true, CTRL-click opens the quick senders/implementors menu;
      if false, you have to press ALT"
@@ -4259,14 +4308,14 @@
 !UserPreferences class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/UserPreferences.st,v 1.331 2013-04-25 13:09:18 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/UserPreferences.st,v 1.332 2013-05-29 11:12:32 cg Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libbasic/UserPreferences.st,v 1.331 2013-04-25 13:09:18 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/UserPreferences.st,v 1.332 2013-05-29 11:12:32 cg Exp $'
 !
 
 version_SVN
-    ^ '§ Id: UserPreferences.st 10648 2011-06-23 15:55:10Z vranyj1  §'
+    ^ '$ Id: UserPreferences.st 10648 2011-06-23 15:55:10Z vranyj1  $'
 ! !