yes, you are right, the problem is that when I try to input the { at
the cursor there, the { will automatically move to the begin of the
line, but it doesn't work when the xptemplate is installed.
do you think it is a problem or do you know how can i fix it?
how to reproduce:
A: without: xptemplate:
void foo() //step 1: enter
//cursor here, step 2: then input the '{', the '{' will go to the
begin of the line.
like:
void foo()
{
B: with xptemplate installed:
void foo() //step 1: enter
//cursor here, step 2: then input the '{', the '{' will keep them
with the '}' added.
like:
void foo()
{}
Johnny