Hi,
I don't know if this is configurable. I will go through the manual but I didn't see it at a glance. Can someone else test on Mac?
Anyway
You have a string of text, "Hello, World and all who inhabit it."
You select some text. I'll simulate that with a block for the cursor and use red for the selected text. (There is no bbcode for background-color)
"Hello, World and all who▒ inhabit it."
If you hit the right arrow key, where do you think the cursor should be?
Repeat the experiment. This time, hit the left arrow key. Where should the cursor be?
you should do both a backwards and a forward selection experiment.
"Hello, World and all wh▒o inhabit it."
Tested with PL/SQL Developer 16, Windows 10. (I'll upgrade to 11 eventually).I don't think we have any custom settings, unless the previous developer left some ini file somewhere that I never saw, hehe.
Now, the behavior on Windows Notepad, and Edge Browser, is as follows:
"Hello, World and all who▒ inhabit it."
Left arrow key result puts the cursor at the leftmost side of the selected region.
Right arrow key result puts the cursor at the rightmost side of the selected region.
"Hello, World ▒and all who inhabit it."
"Hello, World and all who▒ inhabit it."
Similarly, right arrow key puts the cursor at the rightmost side of the selected region.
select backwards for this one,
"Hello, World ▒and all who inhabit it."
"Hello, World ▒and all who inhabit it."
"Hello, World and all who▒ inhabit it."
In PLSQL Developer 16, actually it seems arrow key always moves cursor, instead of respecting region borders. Hmm
"Hello, World ▒and all who inhabit it."
"Hello, World▒ and all who inhabit it."
"Hello, World a▒nd all who inhabit it."
Why this matters?
Well, I just wanted to select a long SQL chain of CTEs (almost 1k lines), I am putting select * from this_cte after each one and doing C-S-Home, F8 to run, but I want to be able to press right arrow key to go to end of selected region after it runs. Or, if you have file with multiple SQL script in it, then i assume it would have similar issue when you click tab of result set and it selects the script in question. But this is how i discover that it behaves a little differently than I expect. Well, I can use bookmark, but it is very inconvienent in comparison to selecting a block of text and hit arrow key
But more generally, it's good to know how the editor works. usually i just use notepad++ because it kept feeling weird
P.s. if this happens to nobody else my install is just bugged.
-Thomas
I don't know if this is configurable. I will go through the manual but I didn't see it at a glance. Can someone else test on Mac?
Anyway
You have a string of text, "Hello, World and all who inhabit it."
You select some text. I'll simulate that with a block for the cursor and use red for the selected text. (There is no bbcode for background-color)
"Hello, World and all who▒ inhabit it."
If you hit the right arrow key, where do you think the cursor should be?
Repeat the experiment. This time, hit the left arrow key. Where should the cursor be?
you should do both a backwards and a forward selection experiment.
"Hello, World and all wh▒o inhabit it."
Tested with PL/SQL Developer 16, Windows 10. (I'll upgrade to 11 eventually).I don't think we have any custom settings, unless the previous developer left some ini file somewhere that I never saw, hehe.
Now, the behavior on Windows Notepad, and Edge Browser, is as follows:
"Hello, World and all who▒ inhabit it."
Left arrow key result puts the cursor at the leftmost side of the selected region.
Right arrow key result puts the cursor at the rightmost side of the selected region.
"Hello, World ▒and all who inhabit it."
"Hello, World and all who▒ inhabit it."
Similarly, right arrow key puts the cursor at the rightmost side of the selected region.
select backwards for this one,
"Hello, World ▒and all who inhabit it."
"Hello, World ▒and all who inhabit it."
"Hello, World and all who▒ inhabit it."
In PLSQL Developer 16, actually it seems arrow key always moves cursor, instead of respecting region borders. Hmm
"Hello, World ▒and all who inhabit it."
"Hello, World▒ and all who inhabit it."
"Hello, World a▒nd all who inhabit it."
Why this matters?
Well, I just wanted to select a long SQL chain of CTEs (almost 1k lines), I am putting select * from this_cte after each one and doing C-S-Home, F8 to run, but I want to be able to press right arrow key to go to end of selected region after it runs. Or, if you have file with multiple SQL script in it, then i assume it would have similar issue when you click tab of result set and it selects the script in question. But this is how i discover that it behaves a little differently than I expect. Well, I can use bookmark, but it is very inconvienent in comparison to selecting a block of text and hit arrow key
But more generally, it's good to know how the editor works. usually i just use notepad++ because it kept feeling weird
P.s. if this happens to nobody else my install is just bugged.
-Thomas
Last edited: