I just noticed the following bug when typing class/interface javadoc
comments.

The problem seems to occur in combination of the folded import statements
and the presence
of the javadoc comment above 'm1()'. When either unfolding the imports or
removing the comment
for m1() the problem does not occur.

The following example shows what happens:

package a;

import {...}          <--- folded import

|                     <--- cursor is here
public interface Test {

    /**
     * another javadoc comment
     */
    void m1();
    void m2();
}


Starting a JavaDoc comment with '/**' at the above position produces this:

package a;

imp|ort {...}          <--- cursor between p and o



Further typing produces:

package a;

impInort java.io.*;     <--- note the typed characters 'In' here
import java.util.*;

/**                     <--- comment start is placed correctly
public interface Test {

    /**
     * another javadoc comment
     */
    void m1();
    void m2();
}


Hope this helps,

Sascha Weinreuter


_______________________________________________
Eap-bugs mailing list
[EMAIL PROTECTED]
http://lists.jetbrains.com/mailman/listinfo/eap-bugs

Reply via email to