From 808e00138126f7ce571fd905498dba6614c16278 Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 26 Mar 2020 09:28:15 +1100 Subject: Backport: Fix spelling mistakes. Backport of changeset 8028:78a688809e75. --- src/Document.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Document.cxx') diff --git a/src/Document.cxx b/src/Document.cxx index 4dd2f9fd6..d85b71106 100644 --- a/src/Document.cxx +++ b/src/Document.cxx @@ -1776,7 +1776,7 @@ CharClassify::cc Document::WordCharacterClass(unsigned int ch) const { } /** - * Used by commmands that want to select whole words. + * Used by commands that want to select whole words. * Finds the start of word at pos when delta < 0 or the end of the word when delta >= 0. */ Sci::Position Document::ExtendWordSelect(Sci::Position pos, int delta, bool onlyWordCharacters) const { @@ -3066,7 +3066,7 @@ Sci::Position Cxx11RegexFindText(const Document *doc, Sci::Position minPos, Sci: try { //ElapsedPeriod ep; std::regex::flag_type flagsRe = std::regex::ECMAScript; - // Flags that apper to have no effect: + // Flags that appear to have no effect: // | std::regex::collate | std::regex::extended; if (!caseSensitive) flagsRe = flagsRe | std::regex::icase; -- cgit v1.2.3