| Summary: | java editor: Caret positioning not right anymore (3.1) | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Johan Compagner <jcompagner> |
| Component: | Text | Assignee: | JDT-Text-Inbox <jdt-text-inbox> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 3.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
Java editor is JDT/Text. Moving. Might be a dup of bug 71016 if build id < 20040804. Johan, please provide your build id. |
I have smart caret positioning enabled in the preferences of the java editor (without it it is even worse) i have this line: String[] tmp = (String[])al.toArray(tmp2); if i start completely at front i get these places (|) when i use CTRL- ARROW_RIGHT | String|Buffer[] |tmp |= |(String|Buffer[])|al.|toArray|(tmp2|); i excpect something like this: | |String|Buffer|[] |tmp| |= (|String|Buffer|[])|al|.|to|Array|(|tmp2|); it seems to me that somehow it always ignores one. because if the starting position is different for example at front of the string buffer itself: |StringBuffer|[] tmp |= (|StringBuffer|[])|al.to|Array(|tmp2); Is this a setting somehow? Or is one events seen as 2 things and it jumps directly 2 places?