From 173adc2e7a6753a5d749c83e0a2737e155313b2c Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Sun, 24 Apr 2022 11:57:20 +0300 Subject: [PATCH] okular: typos Signed-off-by: Ivailo Monev --- okular/core/textpage.h | 2 +- okular/ui/pageview.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/okular/core/textpage.h b/okular/core/textpage.h index af76c009..e8a24337 100644 --- a/okular/core/textpage.h +++ b/okular/core/textpage.h @@ -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 diff --git a/okular/ui/pageview.cpp b/okular/ui/pageview.cpp index 7b44f4e6..cf942904 100644 --- a/okular/ui/pageview.cpp +++ b/okular/ui/pageview.cpp @@ -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;