24 #include <kcompletion.h>
27 #include <tqstringlist.h>
29 class KATEPARTINTERFACES_EXPORT KateCmd
37 static KateCmd *
self ();
44 void appendHistory(
const TQString &cmd );
45 const TQString fromHistory( uint i )
const;
46 uint historyLength()
const {
return m_history.count(); }
49 static KateCmd *s_self;
50 TQDict<Kate::Command> m_dict;
52 TQStringList m_history;
72 TQString makeCompletion(
const TQString &text);
76 void postProcessMatch( TQString *match )
const;
77 void postProcessMatches( TQStringList *matches )
const;
87 void splitText(
const TQString &text, TQString &text_start, TQString &text_compl )
const;
89 TQChar m_word_break_char;
94 TQString m_text_start;
95 TQString m_text_compl;
A TDECompletion object that completes last ?unquoted? word in the string passed.