[PATCH] Re: how to access the editor configuration from the cppsupportpart.cpp

Roberto Raggi raggi at cli.di.unipi.it
Sat Dec 21 00:13:05 UTC 2002


On Friday 20 December 2002 19:26, Andreas Wuest wrote:
> attached you will find a patch that indents the method definition in the
> header file according to the "code style configuration". At the moment
> the header definition is always indented with a tab, which i do not
> like.
>
> The solution in the patch is however only suboptimal. the best solution
> would be in imho :
>
> 1. create the code that will be inserted into the editor.
> 2. Pass that code along to a Formatter (ASFormatter, ASBeautifier ??) to
> format the code according to the code style configuration.
> 3. inserted the formatted code into the editor.

nice ;) i've just applied it 

thanks and
ciao robe





More information about the KDevelop-devel mailing list