diff options
-rw-r--r-- | doc/ScintillaDoc.html | 6 | ||||
-rwxr-xr-x | gtk/PlatGTK.cxx | 2 | ||||
-rwxr-xr-x | gtk/ScintillaGTK.cxx | 2 | ||||
-rw-r--r-- | src/CellBuffer.cxx | 2 | ||||
-rw-r--r-- | src/ChangeHistory.cxx | 2 | ||||
-rw-r--r-- | test/simpleTests.py | 4 |
6 files changed, 9 insertions, 9 deletions
diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index 54da5193f..ae1e5a942 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -1347,7 +1347,7 @@ struct Sci_TextToFindFull { Coalescing treats coalescible container actions as transparent so will still only group together insertions that look like typing or deletions that look like multiple uses of the Backspace or Delete keys. </p> - + <h2 id="ChangeHistory">Change history</h2> <p>Scintilla can display document changes (modified, saved, ...) in the margin or in the text.</p> @@ -4979,7 +4979,7 @@ struct Sci_TextToFindFull { </p> <p>Opaque selection drawing (<a class="seealso" href="#SCI_SETSELECTIONLAYER">SCI_SETSELECTIONLAYER(SC_LAYER_BASE)</a>) is not supported in bidirectional mode. - Use <code>SC_LAYER_UNDER_TEXT</code> or <code>SC_LAYER_OVER_TEXT</code> instead. + Use <code>SC_LAYER_UNDER_TEXT</code> or <code>SC_LAYER_OVER_TEXT</code> instead. </p> </div> @@ -9683,7 +9683,7 @@ for line = lineStart to lineEnd do SCI_ENSUREVISIBLE(line) next <td align="center">6</td> - <td>There was only a single choice in the list and 'choose single' mode was active as set by + <td>There was only a single choice in the list and 'choose single' mode was active as set by <code> <a class="seealso" href="#SCI_AUTOCSETCHOOSESINGLE">SCI_AUTOCSETCHOOSESINGLE</a></code>. ch is 0.</td> diff --git a/gtk/PlatGTK.cxx b/gtk/PlatGTK.cxx index e939b87fb..0ff571369 100755 --- a/gtk/PlatGTK.cxx +++ b/gtk/PlatGTK.cxx @@ -370,7 +370,7 @@ UniquePangoContext SurfaceImpl::MeasuringContext() { pango_context_set_base_dir(contextMeasure.get(), direction); pango_cairo_context_set_font_options(contextMeasure.get(), fontOptions); pango_context_set_language(contextMeasure.get(), language); - + return contextMeasure; } diff --git a/gtk/ScintillaGTK.cxx b/gtk/ScintillaGTK.cxx index ab415e743..003cc5ba8 100755 --- a/gtk/ScintillaGTK.cxx +++ b/gtk/ScintillaGTK.cxx @@ -1168,7 +1168,7 @@ void ScintillaGTK::SetScrollBars() { // On GTK, unlike other platforms, modifying scrollbars inside some events including // resizes causes problems. Deferring the modification to a lower priority (125) idle // event avoids the problems. This code did not always work when the priority was - // higher than GTK's resize (GTK_PRIORITY_RESIZE=110) or redraw + // higher than GTK's resize (GTK_PRIORITY_RESIZE=110) or redraw // (GDK_PRIORITY_REDRAW=120) idle tasks. scrollBarIdleID = gdk_threads_add_idle_full(priorityScrollBar, [](gpointer pSci) -> gboolean { diff --git a/src/CellBuffer.cxx b/src/CellBuffer.cxx index 14b2e3212..ba11f1391 100644 --- a/src/CellBuffer.cxx +++ b/src/CellBuffer.cxx @@ -170,7 +170,7 @@ class LineVector : public ILineVector { return static_cast<POS>(pos); } - // line_from_pos_cast(): return 32-bit or 64-bit value as Sci::Line + // line_from_pos_cast(): return 32-bit or 64-bit value as Sci::Line // This avoids warnings from Visual C++ Code Analysis and shortens code static constexpr Sci::Line line_from_pos_cast(POS line) noexcept { return static_cast<Sci::Line>(line); diff --git a/src/ChangeHistory.cxx b/src/ChangeHistory.cxx index 09eb51b73..7295f89af 100644 --- a/src/ChangeHistory.cxx +++ b/src/ChangeHistory.cxx @@ -209,7 +209,7 @@ void ChangeLog::SetSavePoint() { } startRun = endRun; } - + for (Sci::Position positionDeletion = 0; positionDeletion <= length;) { const EditionSetOwned &editions = deleteEdition.ValueAt(positionDeletion); if (editions) { diff --git a/test/simpleTests.py b/test/simpleTests.py index 485147d6a..7c6331715 100644 --- a/test/simpleTests.py +++ b/test/simpleTests.py @@ -598,7 +598,7 @@ class TestSimple(unittest.TestCase): self.ed.SetSel(3, 3) # Duplicates the second line containing 'b' self.ed.LineDuplicate() - # Same as above but end of duplicated line is \r\n + # Same as above but end of duplicated line is \r\n self.assertEquals(self.ed.Contents(), b"1\nb\r\nb\n2") def testTransposeLines(self): @@ -2419,7 +2419,7 @@ class TestElements(unittest.TestCase): self.assertEquals(self.ed.SelectionHidden, True) self.ed.HideSelection(False) # Restore self.assertEquals(self.ed.SelectionHidden, False) - + class TestIndices(unittest.TestCase): def setUp(self): self.xite = Xite.xiteFrame |