class: Tools::BreakpointService
changed: #moveBreakpointsAfterLine:by:
fixed invalid breakpoint movements (lineNr <0 ),
when code was removed.
Should really remove breakpoint with a line,
when a line gets deleted, instead of moving it to
the next/prev line!
--- a/Tools__BreakpointService.st Wed Jun 04 18:37:44 2014 +0200
+++ b/Tools__BreakpointService.st Wed Jun 04 18:38:55 2014 +0200
@@ -301,6 +301,7 @@
bpnt position:nil line:(bpnt line + delta).
]
].
+ breakpoints := breakpoints reject:[:bpnt | bpnt line <= 0].
"/gutterView redrawLinesFrom: line.
@@ -644,14 +645,14 @@
!BreakpointService class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libtool/Tools__BreakpointService.st,v 1.48 2014-06-04 14:38:40 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libtool/Tools__BreakpointService.st,v 1.49 2014-06-04 16:38:55 cg Exp $'
!
version_CVS
- ^ '$Header: /cvs/stx/stx/libtool/Tools__BreakpointService.st,v 1.48 2014-06-04 14:38:40 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libtool/Tools__BreakpointService.st,v 1.49 2014-06-04 16:38:55 cg Exp $'
!
version_SVN
- ^ '$Id: Tools__BreakpointService.st,v 1.48 2014-06-04 14:38:40 cg Exp $'
+ ^ '$Id: Tools__BreakpointService.st,v 1.49 2014-06-04 16:38:55 cg Exp $'
! !