| Summary: | Strange behavior when double clicking on closing curly brace | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Marc-André Laperle <malaperle> |
| Component: | Text | Assignee: | JDT-Text-Inbox <jdt-text-inbox> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | deepakazad |
| Version: | 3.8 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows Vista | ||
| Whiteboard: | |||
The underlying cause is same as bug 372516. *** This bug has been marked as a duplicate of bug 372516 *** |
public class TestDoubleClick { public void bar() { /* double click after the next bracket*/} public void foo() { } } 1. Create a project with the code above 2. Double click right after the curly brace that closes the foo method 3. The next line and 'public' from the foo method gets selected I would expect it to either do nothing or select the content of the bar method (CDT does the latter). I'm using JDT 3.8.0.v20111130 (from 4.2 I20120307-2200) but it's probably like that in previous versions too.