Page 1 of 1

Tab rules not followed when adding a code module

Posted: Tue Dec 09, 2014 10:48 pm
by dragonax
In Ranorex Studio I have found that if you use click the "Add Code Module" button in the toolbar, it uses the tab spacing rules as expected.
But if you right click on a folder and click Add>New Item>Code Module>Create, it uses spaces instead of tabs.

Potentially Relevant Settings:
Text Editor>Behavior>Tab Size 2
Text Editor>Behavior>Indentation size 2
Text Editor>Behavior>Indentation Smart
Text Editor>Behavior>Convert Tabs to Spaces disabled
Text Editor>Behavior>Automatic template insertion disabled
General>Ranorex Code Generation>Indent generated code (using the text editor tab settings) enabled

OS: Windows 7 64bit
Ranorex Studio: 5.1.3.19973

Re: Tab rules not followed when adding a code module

Posted: Wed Dec 10, 2014 2:31 pm
by krstcs
Concur, this is present on 5.2.1. This has "bugged" me for a while. 8)

It has been present in all versions of Ranorex for as long as I've used it. SD 3.2 works correctly so it's something in the Ranorex templates.



Dragonax, please try the newest version before posting a bug report to make sure that it has not already been fixed. Current version is 5.2.1, and most recent bug patch for 5.1 is 5.1.4.

Re: Tab rules not followed when adding a code module

Posted: Wed Dec 10, 2014 9:28 pm
by dragonax
krstcs wrote: Dragonax, please try the newest version before posting a bug report to make sure that it has not already been fixed. Current version is 5.2.1, and most recent bug patch for 5.1 is 5.1.4.
Ok will do next time :D thanks for trying it for me this time...

Re: Tab rules not followed when adding a code module

Posted: Wed Dec 10, 2014 9:49 pm
by krstcs
No worries! :D

I should have put this in a long time ago, so thanks for doing it!

Re: Tab rules not followed when adding a code module

Posted: Thu Dec 11, 2014 9:26 am
by Support Team
Hello guys,

Thank you for reporting this issue. I have already added it to our internal bug-tracking system.

Regards,
Robert