Tab Characters Don't Format Correctly

Suggestions, feature requests and bug reports.
Post Reply
traughber
Posts: 3
Joined: May 23rd, ’17, 20:43

Post by traughber » May 23rd, ’17, 20:20

When I try to use the following as a Text Expander replacement

Code: Select all

SELECT 
	Field1
	,Field2
	,Field3
FROM Table
WHERE 1=1
I get the following:

Code: Select all

SELECT 
	Field1
		,Field2
			,Field3
			FROM Table
			WHERE 1=1


So it's not handling the tabs correctly. I also tried using spaces in the replacement instead of tabs and I get the same result.
traughber
Posts: 3
Joined: May 23rd, ’17, 20:43

Post by traughber » May 23rd, ’17, 21:20

I also tried using {Tab} as well. Same result.
User avatar
Marko
Posts: 1719
Joined: Mar 2nd, ’13, 21:02

Post by Marko » May 23rd, ’17, 23:53

This depends on you editor settings. FastKeys sends text exactly as you would type it. If your editor is set to use auto indents, the result can be different. To avoid this you may send text using clipboard - set option Text Expander/Advanced/Use clipboard if text length exceeds... to lower value (1).
traughber
Posts: 3
Joined: May 23rd, ’17, 20:43

Post by traughber » May 24th, ’17, 00:07

Ok. Thanks.
Post Reply