Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 improper tabbing in else {} block
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

swinefeaster
Tomato Guru

310 Posts

Posted - Apr 23 2015 :  9:04:04 PM  Show Profile  Reply with Quote

installed the new build 10.9.2062.0 and if I type an else and then hit enter to expand the braces, I get the following


    else
    {
\\t\\t        
    }


the \\t denotes tabs, but I have selected spaces. This is a bad regression for me since our coding convention requires spaces and this will litter files.

swinefeaster
Tomato Guru

310 Posts

Posted - Apr 23 2015 :  9:05:22 PM  Show Profile  Reply with Quote
oh wait, my bad... when I save the file it becomes spaces... really strange... sorry about the noise
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18988 Posts

Posted - Apr 23 2015 :  9:41:59 PM  Show Profile  Reply with Quote
If you turn on visible white space:

IDE Edit menu -> Advanced -> View White Space

what do you see when the closing curly brace is inserted? Are there actual tab characters before the caret, or just empty space? Normally you just get empty space until you type something, at which point the indent is filled in with either tabs or spaces.

This should not have changed, but regressions do happen.

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000