SQL Window Cursor Moves When Enter Key Pressed

phocai

Member²
Hello.

Sometimes, when I'm editing a query in a SQL Window and press ENTER from the end of a line, the cursor jumps left and the carriage return sends one or more characters to the new line.

For example:

select * from my_table[cursor]

turns into:

select * from my_tabl
e

It's intermittent but frequent.

Thanks.
 
I've seen this, but it was a long time ago so I may be remembering wrong. I'll let you know what I thought it was though just in case I am remembering correctly.

I think it had something to do with the TexType plug-in. Do you have it? If so, you might try upgrading it.

Also, there is a "space, return" option for when it replaces text. I stopped using that and just entered a space when I configured it. There's no drop down in the list for just a space, but just type a space in the window and it works. (I think that was the real cure for me.)

If those 2 things don't work, you might temporarily disable that plug-in to see if the problem goes away.

Of course if you don't have that plug-in or if those things don't work, then I obviously don't know what I'm talking about, I have forgotten the cure and I need to apologize for wasting your time and talking bad about the cool TexType plug-in.

Mike
 
I think that the shortcuts Plug-In can also cause problems. If you are using it, disable it and try again.
 
I also have that problem frequently.
I've gotten into the habit of typing a space before hitting Enter.

The plug-ins I use are Customized Syntax Highlighting and Easy Bookmarks. I have suspected that one of them is the cause, but I like to have them.

Another possibly related problem I have sometimes is the editor doesn't re-position when I search. Hitting the up or down arrow then jumps me to the right position.

Can we isolate this to one of these plug-ins?
 
Can we isolate this to one of these plug-ins?
I'm not aware of these problems, but you can of course disable these Plug-Ins to determine which one (if any) is causing this.

Go to Tools > Configure Plug-Ins to disable/enable a Plug-In. Please restart PL/SQL Developer to ensure that the Plug-In is no longer loaded.
 
Until recently, the only plug-in I used was FindAll. I've used FindAll for a couple years now but only noticed the jumping cursor behaviour since installing PSD v7. So in my case it doesn't seem to be plug-in related.

Many thanks.
 
I thought of something last night. It might be another goose chase, but it seemed like I had an issue with version 5 when I had the "Allow cursor after end of line" preference checked in the editor preferences.

I can't remember if it was this or not - maybe I need more vitamins or something? Anyway, I have it unchecked now because of that and it never really mattered to me anyway.

If you have that checked, it may be worth unchecking it to see if it goes away.

Mike
 
Back
Top