Commit 4bb6f3a
Improve lambda breakpoint toggle (#146)
When not selecting the whole lambda expression, the codeSelect fails to
find the lambda method element. So instead of using the document
selection, we use the breakpoint locator location if that provides more
wider range.
Signed-off-by: Gayan Perera <[email protected]>1 parent ddf0a0a commit 4bb6f3a
File tree
1 file changed
+2
-1
lines changed- org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/actions
1 file changed
+2
-1
lines changedorg.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/actions/ToggleBreakpointAdapter.java
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
338 | 338 | | |
339 | 339 | | |
340 | 340 | | |
341 | | - | |
| 341 | + | |
| 342 | + | |
342 | 343 | | |
343 | 344 | | |
344 | 345 | | |
| |||
0 commit comments