Press ctrl, and drag you mouse. A segment of code in rectangle area will be choosen, instead of the lines of code. Plz, refer to 4.jpg, where the line number of the code is chosen(the chosen part is highlighted with blue)
Choose a segment of code, a sign of bulb will show to the left of the chosen code.
Click the bulb sign, you enter the sync-edit mode.
In sync-edit mode, all the notations will change simultaniously. Sync-edit mode is different from the rename in the refactor of netbeans, it works only for the choosen code. Plz, refer to 2.jpg where Singleton will be changed to Singleton2.
Attachments:
http://forums.netbeans.org//files/2_109.jpg