This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Running the daily build from 2007-09-06 using JDK6u2 on Ubuntu 7.04
Accidentally hit Submit without finishing the bug description.... :-) ALT+SHIFT+Period does not seem to work in Java or Ruby source files. The first time I press it the current element gets selected but subsequent presses do not select additional elements in the source file.
I can reproduce (in Java) - when the caret is at the end of an identifier, A-S-. does not extend the selection. Also, A-S-, does not work at all for me. Not sure about Ruby - probably belongs to Ruby editor.
> Also, A-S-, does not work at all for me. The same for Ruby. Should we file a separate issue for Ruby or it is a bug in some general editing infrastructure?
Reproducible. In 20070905 it is working. I will investigate what changed.
It was caused by the fix of issue #114649. The rescheduling of state change events to the tail of events queue results in broken caret events fired by JTextComponent. dot and mark values of all caret events caused by the running AWT task are set according to the last caret modification. Reassigning to editor.
Rescheduling was done to prevent firing events when holding document's lock (in atomicUnlocked). I'll try to fix issue #114649 in a different way.
I changed the BaseCaret to fire asynchronously only when holding the doc's lock. If no lock is held and the thread is AWT it fires the change synchronously. Checking in BaseCaret.java; /cvs/editor/libsrc/org/netbeans/editor/BaseCaret.java,v <-- BaseCaret.java new revision: 1.136; previous revision: 1.135 done