package test.comments.line; public class X06 { String foo() { // // Move cursor on to the left if the proposal ends with '}' String str; // XXX: currently there's no smartness: position the cursor after the // proposal // if (relativeOffset > 0 && proposal.charAt(relativeOffset - 1) == '}') // relativeOffset--; str = toString(); return str; } }