Skip to content

Commit

Permalink
rename method
Browse files Browse the repository at this point in the history
  • Loading branch information
scheffle committed Dec 31, 2024
1 parent ce7b6fa commit db752c1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vstgui/lib/ctexteditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ struct TextEditorView : public CView,
CRect calculateLineRect (size_t index) const;
CRect calculateLineRect (Lines::const_iterator it) const;
CCoord calculateMaxWidth () const;
CRect calculateSelectionRect () const;
CRect calculateSelectedLinesRect () const;
void updateLineNumbersView () const;
void layoutRows () const;
void onCursorChanged (int oldCursorPos, int newCursorPos) const;
Expand Down Expand Up @@ -1195,7 +1195,7 @@ void TextEditorView::invalidSelectedLines () const
{
if (md.selectedLines.length == 0 && (md.style->flags & Style::Flags::HighlightCursorLine))
invalidLine (md.selectedLines.start, true);
invalidateRect (calculateSelectionRect ());
invalidateRect (calculateSelectedLinesRect ());
}

//------------------------------------------------------------------------
Expand All @@ -1219,7 +1219,7 @@ CRect TextEditorView::calculateLineRect (Lines::const_iterator it) const
}

//------------------------------------------------------------------------
CRect TextEditorView::calculateSelectionRect () const
CRect TextEditorView::calculateSelectedLinesRect () const
{
CRect result;
for (auto index = md.selectedLines.start; index < md.selectedLines.end (); ++index)
Expand Down

0 comments on commit db752c1

Please sign in to comment.