how to access the editor configuration from the cppsupportpart.cpp
Andreas Wuest
AndreasWuest at gmx.de
Wed Dec 18 18:22:06 UTC 2002
> if the bug is related to qeditor you can fix it in kdevelop/part/qeditor
> or if
> it is a kate's bug you must look in kdelibs/kate/part
the problem cannot be solved in qeditor or the kate part because the
problem is the following one : creating a new method in the cppsupportpart
inserts the method definition into the header file. The string that will
be inserted is created in the cppsupportpart and unfortunately the
there the indention is hardcoded ("\t"). The correct solution would be
to look up in the configuration what indention has been configured.
depending on that configuration we have to use spaces or tabs to
indent the header definition and for this you need access to the
editor (indention) configuration. So how can i get the configuration
in the cppsupportpart ?
sorry, if the previous mail was a little bit confusing.
Thanks,
Andreas
--
+++ GMX - Mail, Messaging & more http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!
More information about the KDevelop-devel
mailing list