Community
Participate
Working Groups
When I collapse everything in the java editor and start to type between two (collapsed) methods something like 'public static' and then rest for a second and then want to go on typing the code behind the cursor is expanded for some reason which I could accept even though I collapsed the code for a reason. But the cursor then is positioned between the javadoc block of the first method behind my typing and that method.
This only happens if you type on a collapsed line. The behavior is intended, so that what you type ends on that visible line. Please reopen with an example if you see this when typing on a line which is not itself collapsed i.e. has no (+) in front of it.
Created attachment 228850 [details] this is what it looks like When I started typing there was no plus nor minus in front of the line. The comment of the following method is simply ognored, that is what happens. It is valid in terms of compilability but it is probably not desired.
Thanks Jochim. The picture explains it. The key is really, that you typed one of the keywords correctly. This is the same as bug 185665. *** This bug has been marked as a duplicate of bug 185665 ***
*** This bug has been marked as a duplicate of bug 104373 ***