Pressing tab key indents whole line (v 10.0.1.1694)

Cloink

Member
Hi,

Apologies, my work are on an old version of the software, this may be a fixed bug, but I could not find anything in the forums searching for "tab indent".

This behaviour has started after I have been given a new laptop, so a recent install on Windows 10. Although, I should point out I copied my user settings from my previous machine, which had the same version installed - but the problem did not occur on the old machine.

I have tried changing all the tab-related settings and it still persists.

If I type...

SQL:
SELECT[tab]

in a SQL window, instead of inserting 2 spaces and positioning the cursor to column 8, the word SELECT indents by 4 and the cursor stays after the 'T'.

The same behaviour happens in a Test window and a program window.

I have closed it down, and renamed my settings folder and reinstated the 'vanilla' one. This stops the errant behaviour, but I have a LOT of settings/db-connections I do not want to lose.

Can anyone advise on this?

Many thanks,
Clark
 
Aww, man, I just worked it out. Someone else had a problem where they had somehow changed a shortcut to the tab key. That's what had happened to me -- I had tab key as shortcut for indent line!!!

Well that's an hour of my life I won't get back :o
 
I used to map the tab key to indent. However that does mean there is no key for adding multiple spaces at once within a line, if that's something anyone needs, and also trying to indent from the start of a new line does nothing (bug?) though that's to do with the indent function rather than the choice of key.

Now that I check, not setting any key for indent (though keeping Shift-tab as unindent) works pretty well, so long as "use tab character" is unchecked in the editor settings.

By the way, if indent moves 4 spaces but you only want 2, you should probably change it in the editor settings.
 
Back
Top