+ void setFormatOnSelection(const QTextCharFormat &format);
+
+ bool _perChatHistory;
+ struct HistoryState {
+ QStringList history;
+ QHash<int, QString> tempHistory;
+ qint32 idx;
+ QString inputLine;
+ inline HistoryState() : idx(0) {};
+ };
+
+ QMap<BufferId, HistoryState> historyMap;