Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Tab Width

org.eclipse.cdt.internal.corext.util.CodeFormatterUtil.getTabWidth(ICProject)

That's no public API, but you can simply clone the implementation.

HTH,
Toni

-----Original Message-----
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Sten Gruener
Sent: Wednesday, June 01, 2011 16:02
To: CDT General developers list.
Subject: [cdt-dev] Tab Width

Hello,

I got desperate while trying to find out the current user set tab width in CDT.

Background is that I have my own editor implemented that us used to edit files with .xyz extension inside of CDT projects. How do I find out the current tab width for the CDT project from inside of this plugin?

Regards
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev


Back to the top