Tools__CodeView2.st
changeset 13062 caed0c14f32c
parent 13057 c3a27ef337d6
child 13072 390ebcd412f8
equal deleted inserted replaced
13061:6b7adfdd7773 13062:caed0c14f32c
  1917     "Created: / 14-02-2010 / 15:21:18 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  1917     "Created: / 14-02-2010 / 15:21:18 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  1918 ! !
  1918 ! !
  1919 
  1919 
  1920 !CodeView2 methodsFor:'realization'!
  1920 !CodeView2 methodsFor:'realization'!
  1921 
  1921 
       
  1922 disableAllServices
       
  1923 
       
  1924     services do:[:service|
       
  1925         service enabled:false.
       
  1926     ]
       
  1927 !
       
  1928 
       
  1929 enableAllServices
       
  1930 
       
  1931     services do:[:service|
       
  1932         service enabled:true.
       
  1933     ]
       
  1934 !
       
  1935 
  1922 postRealize
  1936 postRealize
  1923 
  1937 
  1924     services do:[:service|
  1938     services do:[:service|
  1925         service viewRealized.
  1939         service viewRealized.
  1926     ]
  1940     ]
  2420     numberOfLines := (textView list size max:textView cursorLine).
  2434     numberOfLines := (textView list size max:textView cursorLine).
  2421     firstLineShown := textView firstLineShown.
  2435     firstLineShown := textView firstLineShown.
  2422     lastLineShown := textView lastLineShown - 1 min: numberOfLines.
  2436     lastLineShown := textView lastLineShown - 1 min: numberOfLines.
  2423 
  2437 
  2424     firstLineShown to:lastLineShown do: [:line | 
  2438     firstLineShown to:lastLineShown do: [:line | 
  2425         self redrawLine:line cleared:true drawServices:false
  2439         self redrawLine:line cleared:true drawServices:true
  2426     ].
  2440     ].
  2427 ! !
  2441 ! !
  2428 
  2442 
  2429 !CodeView2::TextView methodsFor:'accessing'!
  2443 !CodeView2::TextView methodsFor:'accessing'!
  2430 
  2444 
  3540 ! !
  3554 ! !
  3541 
  3555 
  3542 !CodeView2 class methodsFor:'documentation'!
  3556 !CodeView2 class methodsFor:'documentation'!
  3543 
  3557 
  3544 version
  3558 version
  3545     ^ '$Header: /cvs/stx/stx/libtool/Tools__CodeView2.st,v 1.91 2013-06-27 20:53:18 cg Exp $'
  3559     ^ '$Header: /cvs/stx/stx/libtool/Tools__CodeView2.st,v 1.92 2013-06-28 08:34:09 cg Exp $'
  3546 !
  3560 !
  3547 
  3561 
  3548 version_CVS
  3562 version_CVS
  3549     ^ '$Header: /cvs/stx/stx/libtool/Tools__CodeView2.st,v 1.91 2013-06-27 20:53:18 cg Exp $'
  3563     ^ '$Header: /cvs/stx/stx/libtool/Tools__CodeView2.st,v 1.92 2013-06-28 08:34:09 cg Exp $'
  3550 !
  3564 !
  3551 
  3565 
  3552 version_SVN
  3566 version_SVN
  3553     ^ '$Id: Tools__CodeView2.st,v 1.91 2013-06-27 20:53:18 cg Exp $'
  3567     ^ '$Id: Tools__CodeView2.st,v 1.92 2013-06-28 08:34:09 cg Exp $'
  3554 ! !
  3568 ! !
  3555 
  3569 
  3556 
  3570 
  3557 CodeView2 initialize!
  3571 CodeView2 initialize!