~adamreichold/qpdfview/trunk

« back to all changes in this revision

Viewing changes to sources/documentview.h

  • Committer: Adam Reichold
  • Date: 2015-01-24 16:32:08 UTC
  • Revision ID: adam.reichold@t-online.de-20150124163208-1zzjw9tun3e4igiy
Try to decouple highlighted matched text from the matching itself done by the backends.

Show diffs side-by-side

added added

removed removed

Lines of Context:
134
134
    bool searchMatchCase() const;
135
135
    bool searchWholeWords() const;
136
136
 
137
 
    QString surroundingText(int page, const QRectF& rect) const;
 
137
    QPair< QString, QString > searchContext(int page, const QRectF& rect) const;
138
138
 
139
139
signals:
140
140
    void documentChanged();