How to disable weird cursor "cursor" and selection behavior in Netbeans?

I have weird behavior in Netbeans. I guess I accidentally entered a key combination that messed up the cursor and selection behavior. In the image you will see what I mean: usually, if you select the text in several lines, you will see the behavior in the screenshot on the right.

But I have the behavior in the screenshot on the left. In addition, trying to insert text at a specific position using Shift, inserts some positions to the right into it (= not where the cursor is). In addition, when the cursor is blinking, it is displayed with a dotted line.

Netbeans comparison

The fact that the selection in the left screenshot is drawn beautifully does not make me think about the error, but rather about the function. I can't seem to find a key combination to turn it off again.

So my question is: what is this function? Why does it exist and with which key combination do I turn it on?

+74
netbeans
Jan 26 '13 at 9:15
source share
3 answers

One possibility is that you have the Rectangular Selection plugin installed.

However, a more likely candidate is the rectangular selection function in the editor core. Find the button on the editing toolbar and turn it off. According to the helpful comments below, this can be accidentally turned on (and turned off again) using:

  • On Windows and Linux: Ctrl + Shift + R
  • On Mac: Shift + Meta + R
  • On Mac, if the above doesn't work: some people reported that Shift + Command + R worked for them
+151
Jan 26 '13 at 9:32
source share

This key combination (Ctrl + Shift + R) is used to open types, etc. In Eclipse, so when switching to NetBeans, many people get stuck with this.

+9
Oct 02 '14 at 19:11
source share

You can use it to write multiple lines with the same content as sublime text

See examples:

https://blogs.oracle.com/netbeansphp/entry/rectangular_selection

+1
Mar 23 '17 at 20:03
source share



All Articles