okular: typos

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2022-04-24 11:57:20 +03:00
parent cda1d2ba56
commit 173adc2e7a
2 changed files with 2 additions and 2 deletions

View file

@ -38,7 +38,7 @@ class RegularAreaRect;
* But also it can provide information only about positions of every word on the page (not the character).
* Furthermore it can provide information only about the position of the whole page's text on the page.
*
* Also some document types have glyphes - sets of characters rendered as one, so in search they should
* Also some document types have glyphs - sets of characters rendered as one, so in search they should
* appear as a text but are only one character when drawn on screen. We need to allow this.
*/
class OKULAR_EXPORT TextEntity

View file

@ -1965,7 +1965,7 @@ void PageView::mouseMoveEvent( QMouseEvent * e )
break;
case Okular::Settings::EnumMouseMode::TextSelect:
// if mouse moves 5 px away from the press point and the document soupports text extraction, do 'textselection'
// if mouse moves 5 px away from the press point and the document supports text extraction, do 'textselection'
if ( !d->mouseTextSelecting && !d->mousePressPos.isNull() && d->document->supportsSearching() && ( ( eventPos - d->mouseSelectPos ).manhattanLength() > 5 ) )
{
d->mouseTextSelecting = true;