Page 1 of 1

[FIXED] Tab character handling in User Buttons script

Posted: 06 May 2014 10:13
by bdeshi
Hello, if User button Left Click script has a tab, the part of code following the tab is sent to right click field.
Test with the following dummy code:
In a user button paste this into Left-Click script:

Code: Select all

 msg("Hello	I come after tab");
It has a tab and this part is moved to Right click script (save and reopen the dialog to test):

Code: Select all

I come after tab");

Re: Tab character handling in User Buttons script

Posted: 06 May 2014 10:14
by admin
Well, TABs are not allowed. :biggrin: How did you get the TAB into this? Not by using XY...

Re: Tab character handling in User Buttons script

Posted: 06 May 2014 10:22
by bdeshi
pasting. That's allowed!

EDIT: And CTRL+TAB in multi-line edit box is also allowed!

I generally write scripts in an external editor and paste the whole thing in. Because I (and undoubtedly many others) generally indent with tabs, this is a problem. :whistle:

Re: Tab character handling in User Buttons script

Posted: 06 May 2014 10:46
by admin
OK; I'll check...

Re: Tab character handling in User Buttons script

Posted: 06 May 2014 18:36
by bdeshi
v14.00.0102 - 2014-05-06 17:42
Many thanks! :beer: