Editor issue with multiline edit

Toad for Oracle Base Edition (64-bit)17.1.717.3711
Issue with multicolumn selection in editor

with a as
(
select 1, from dual union all
select 1, from dual union all
select 1, from dual union all
select 1, from dual
)
select * from a

Now when I select a comma in all 4 lines with Alt+shift and cursor I start typing following characters
,'a'

I end up with
with a as
(
select 1,'a' from dual union all
select 1,'a 'from dual union all
select 1,'a' from dual union all
select 1,'a 'from dual union all
select 1,'a' from dual
)
select * from a

there's some extra space being added in second column of every other line. The best is coming when you continue typing another comma you end up with
with a as
(
select 1,'a', from dual union all
select 1,'a ',from dual union all
select 1,'a', from dual union all
select 1,'a ',from dual union all
select 1,'a', from dual
)
select * from a

then it gets even funnier with
with c as
(
select 1,'a',aaa from dual union all
select 1,'a 'aaa,from dual union all
select 1,'a',aaa from dual union all
select 1,'a 'aaa,from dual union all
select 1,'a',aaa from dual
)
select * from c

Have a look at final position of comma that was typed after initial 'a', it's moving on every other line to proceed or follow next phrase "aaa"

I cannot reproduce this. Is the text actually adding a new space for you or is it just visualizing as if there is a new space there? Copy the text out of the Editor and paste into Notepad and see if there are actually spaces being added. If not, you may be hitting a defect that started in 17.1 when Windows scaling is set above 100% and the default Editor font has been changed to something that is not a multiple of 10pt. See my post here for a deeper explanation and workaround. Cursor moves text on line selection - #3 by mstaszew

If you are seeing that spaces are actually being added please zip and send your User Files folder to me at michael.staszewski@quest.com.

Thanks,
Michael

FYI, I cannot reproduce this either, guys. I'm running the latest 17.1, and didn't check earlier versions.

BTW, curious as to why you are using Alt-Shift and mouse. You should be able to hold down Alt only, and then drag your region for mass-editing. In my environment, Alt-Shift changes my keyboard from English to Spanish, so wondering if this might be the reason for your anomaly?

Gary, I'm not using keyboard, when stated cursor I meant arrow keys on keyboard.
The same combination worked for me in Notepad++ as well.

Ah, you did say "cursor" but took that to mean mouse cursor. Would be interested if Alt-mouse drag gives you no problems.

However, I did test with your Alt-Shift and arrow keys method to highlight the region and enter changes, and I could not reproduce your issue still. You have standard keyboard? Maybe the res/scaling might be causing the issue, as Mike S suggested earlier in the thread?

@fisher_53873 just checking to see if you saw my post or if it got lost in the fray. Let me know what you find there.

This bug is highly dependent on font name and size. Most fonts seem to have sizes that work and sizes that don't work. I've tested various sizes of some popular coding fonts and summarized the results in the table below.

This info assumes that you haven't used CTRL+Mouse wheel to zoom your Editor to something other than the default of 100%. The info below is only accurate at 100% zoom.

Courier New Consolas Fira Code JetBrains Mono Cascadia Code Source Code Pro
5 :white_check_mark: :white_check_mark: :x: :white_check_mark: :white_check_mark: :white_check_mark:
6 :white_check_mark: :x: :x: :white_check_mark: :x: :white_check_mark:
7 :x: :white_check_mark: :x: :x: :white_check_mark: :x:
8 :x: :white_check_mark: :white_check_mark: :x: :x: :x:
9 :white_check_mark: :x: :x: :white_check_mark: :white_check_mark: :white_check_mark:
10 :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark: :x: :white_check_mark:
11 :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark:
12 :x: :white_check_mark: :white_check_mark: :x: :x: :x:
14 :x: :x: :x: :x: :white_check_mark: :x:
16 :x: :x: :white_check_mark: :x: :x: :x:
18 :x: :white_check_mark: :white_check_mark: :x: :white_check_mark: :x:
20 :white_check_mark: :white_check_mark: :x: :white_check_mark: :white_check_mark: :white_check_mark:

You can change your Editor's font in Options|Editor|Font and Styling. On the right hand side, select the "Default" styling and change the font there.

Script output font is in Options|Scripts.
DBMS output font is in Options|Oracle|General.

This will be fixed in the next release.