fixed ctrl+c to copy text
This commit is contained in:
@@ -15,7 +15,8 @@ public:
|
||||
bool allowTrailingSpace = true);
|
||||
|
||||
WordPart(Word &getWord, int getX, int getY, int getWidth, int getHeight, int _lineNumber,
|
||||
const QString &getCopyText, const QString &customText, bool allowTrailingSpace = true);
|
||||
const QString &getCopyText, const QString &customText, bool allowTrailingSpace = true,
|
||||
int wordCharOffset = 0);
|
||||
|
||||
const Word &getWord() const;
|
||||
int getWidth() const;
|
||||
@@ -32,6 +33,7 @@ public:
|
||||
const QString &getText() const;
|
||||
int getLineNumber() const;
|
||||
int getCharacterLength() const;
|
||||
short getCharacterWidth(int index) const;
|
||||
|
||||
private:
|
||||
Word &_word;
|
||||
@@ -47,6 +49,7 @@ private:
|
||||
int _lineNumber;
|
||||
|
||||
bool _trailingSpace;
|
||||
int wordCharOffset;
|
||||
};
|
||||
|
||||
} // namespace messages
|
||||
|
||||
Reference in New Issue
Block a user