SlickEdit Community
SlickEdit Product Discussion => SlickEdit® => Topic started by: GWLindberg on April 11, 2011, 10:59:47 PM
-
I'm using SlickEdit 15.0.1.3 and I have global Expand tabs to spaces set FALSE and C/C++ Expand tabs to spaces set to TRUE. SlickEdit is expanding the tabs, but to 8 spaces, even though I have C/C++ Indent Indent Style set to Syntax indent @ 4 and Tabs to +4.
Anybody know how I can get SlickEdit to expand the tabs to 4 spaces instead of 8? The files I'm working with are also being edited with an IDE that is inserting tabs every 4 spaces, which results in some annoying formatting problems.
-
I seem to recall something like this - and it had to do with adaptive formatting back when it was first introduced.
You might try turning it off temporarily to see if that will fix it.
-
Good suggestion, but I'm still getting 8 spaces for each tab.
:(
-
Are you sure the file is in the correct document mode? What mode is listed in the main menu under Documents > Select Mode (cur lang )...? Is it C/C++?
-
Lee,
The Documents drop down menu has the line:
Select Mode (C/C++)...
That would imply to me that the mode that it is in is C/C++.
I've also had this problem with files that are open in the editor, have been edited in another editor that uses tabs by default at 4 spaces per tab and when the file is copied back and re-read by SlickEdit it inserts 8 spaces for each tab.
-
I have reproduced the issue on my end. I'm filing a defect for this, I will let you know what I find out.
-
Thanks you
-
Found it, issue has been addressed in the latest hotfix for 15.0.1.3, available here: www.slickedit.com/hotfix (https://customer.slickedit.com/support/product-updates/hotfixes).
-
That seems to have fixed it.
Thanks for your speed, I wasn't expecting it.