how to access the editor configuration from the cppsupportpart.cpp

Victor Röder victor_roeder at
Thu Dec 19 11:43:38 UTC 2002


 > I wouldn't it like if the cppsupportpart knows about all the editors
 > and how they can be accessed. It results in a huge switch statement
 > for the single editors.
 > Better is to extend the KTextEditor interface with a for instance
 > putStringInFile(const QString& text, int line, int column) method.
 > Then the editor can handle it by itself (or not).

Isn't there a insertText ( line, col, text ) method in the KTextEditor
interface (EditInterface)?

Just my 0,02 Euro Cents


More information about the KDevelop-devel mailing list