Tools__CodeView2.st
changeset 14959 b92ba3696c7f
parent 14927 b109a354435c
child 14963 7247ac7242bf
equal deleted inserted replaced
14958:7012d57bddc6 14959:b92ba3696c7f
  3563 
  3563 
  3564 insertLines:someText from:start to:end before:lineNr
  3564 insertLines:someText from:start to:end before:lineNr
  3565 
  3565 
  3566     "/JV@2011-12-20: HACK, the super implementation should
  3566     "/JV@2011-12-20: HACK, the super implementation should
  3567     "/not use leftIndent...when pasting. Following is a workaround"
  3567     "/not use leftIndent...when pasting. Following is a workaround"
  3568     | wasAutoIndent |
  3568     self withAutoIndent:false do:[
  3569 
       
  3570     wasAutoIndent := autoIndent.
       
  3571     autoIndent := false.
       
  3572     [
       
  3573         super insertLines:someText from:start to:end before:lineNr.
  3569         super insertLines:someText from:start to:end before:lineNr.
  3574     ] ensure:[
       
  3575         autoIndent := wasAutoIndent
       
  3576     ]
  3570     ]
  3577 
  3571 
  3578     "Created: / 20-12-2011 / 15:32:35 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  3572     "Created: / 20-12-2011 / 15:32:35 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  3579 ! !
  3573 ! !
  3580 
  3574 
  4107 ! !
  4101 ! !
  4108 
  4102 
  4109 !CodeView2 class methodsFor:'documentation'!
  4103 !CodeView2 class methodsFor:'documentation'!
  4110 
  4104 
  4111 version
  4105 version
  4112     ^ '$Header: /cvs/stx/stx/libtool/Tools__CodeView2.st,v 1.174 2014-11-27 15:45:28 vrany Exp $'
  4106     ^ '$Header: /cvs/stx/stx/libtool/Tools__CodeView2.st,v 1.175 2014-12-01 12:47:51 cg Exp $'
  4113 !
  4107 !
  4114 
  4108 
  4115 version_CVS
  4109 version_CVS
  4116     ^ '$Header: /cvs/stx/stx/libtool/Tools__CodeView2.st,v 1.174 2014-11-27 15:45:28 vrany Exp $'
  4110     ^ '$Header: /cvs/stx/stx/libtool/Tools__CodeView2.st,v 1.175 2014-12-01 12:47:51 cg Exp $'
  4117 !
  4111 !
  4118 
  4112 
  4119 version_SVN
  4113 version_SVN
  4120     ^ '$Id: Tools__CodeView2.st,v 1.174 2014-11-27 15:45:28 vrany Exp $'
  4114     ^ '$Id: Tools__CodeView2.st,v 1.175 2014-12-01 12:47:51 cg Exp $'
  4121 ! !
  4115 ! !
  4122 
  4116 
  4123 
  4117 
  4124 CodeView2 initialize!
  4118 CodeView2 initialize!