This commit is contained in:
fourtf
2018-08-16 00:16:33 +02:00
parent 5068c9a64e
commit 8bcc9c487b
7 changed files with 42 additions and 26 deletions
@@ -5,6 +5,7 @@
#include <memory>
#include <vector>
#include "common/Common.hpp"
#include "common/FlagsEnum.hpp"
#include "messages/Selection.hpp"
#include "messages/layouts/MessageLayoutElement.hpp"
@@ -74,7 +75,7 @@ struct MessageLayoutContainer {
// selection
int getSelectionIndex(QPoint point);
int getLastCharacterIndex() const;
void addSelectionText(QString &str, int from, int to);
void addSelectionText(QString &str, int from, int to, CopyMode copymode);
bool isCollapsed();