TextView.st
changeset 3315 1b42d2f8dcbc
parent 3308 4c2c30b357c6
child 3316 1ef036eee59f
equal deleted inserted replaced
3314:c486911eea21 3315:1b42d2f8dcbc
  3575 hasSelectionWithinSingleLine
  3575 hasSelectionWithinSingleLine
  3576     "return true, if there is a selection and it is within a line"
  3576     "return true, if there is a selection and it is within a line"
  3577 
  3577 
  3578     ^ selectionStartLine notNil
  3578     ^ selectionStartLine notNil
  3579       and:[ selectionStartLine == selectionEndLine ]
  3579       and:[ selectionStartLine == selectionEndLine ]
       
  3580 
       
  3581     "Modified: / 04-07-2006 / 18:42:59 / fm"
  3580 !
  3582 !
  3581 
  3583 
  3582 isInSelection:line col:aColNr
  3584 isInSelection:line col:aColNr
  3583     "returns true, if the line, and column is in the selection
  3585     "returns true, if the line, and column is in the selection
  3584     "
  3586     "
  3878 ! !
  3880 ! !
  3879 
  3881 
  3880 !TextView class methodsFor:'documentation'!
  3882 !TextView class methodsFor:'documentation'!
  3881 
  3883 
  3882 version
  3884 version
  3883     ^ '$Header: /cvs/stx/stx/libwidg/TextView.st,v 1.267 2006-07-03 14:32:03 cg Exp $'
  3885     ^ '$Header: /cvs/stx/stx/libwidg/TextView.st,v 1.268 2006-07-05 09:57:02 fm Exp $'
  3884 ! !
  3886 ! !
  3885 
  3887 
  3886 TextView initialize!
  3888 TextView initialize!