From 351b9b6bff1d9ce9c40d1f1792b76d0aa0eedeac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20J=C3=B6nsson?= Date: Sat, 9 May 2015 10:05:45 +0200 Subject: [PATCH] Rename quickSortLines -> sortLines. --- PowerEditor/src/NppCommands.cpp | 2 +- PowerEditor/src/ScitillaComponent/ScintillaEditView.cpp | 2 +- PowerEditor/src/ScitillaComponent/ScintillaEditView.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/PowerEditor/src/NppCommands.cpp b/PowerEditor/src/NppCommands.cpp index f852e7fd..0dbd252c 100644 --- a/PowerEditor/src/NppCommands.cpp +++ b/PowerEditor/src/NppCommands.cpp @@ -375,7 +375,7 @@ void Notepad_plus::command(int id) } _pEditView->execute(SCI_BEGINUNDOACTION); - _pEditView->quickSortLines(fromLine, toLine, id == IDM_EDIT_SORTLINES_DESCENDING); + _pEditView->sortLines(fromLine, toLine, id == IDM_EDIT_SORTLINES_DESCENDING); _pEditView->execute(SCI_ENDUNDOACTION); if (hasSelection) // there was 1 selection, so we restore it diff --git a/PowerEditor/src/ScitillaComponent/ScintillaEditView.cpp b/PowerEditor/src/ScitillaComponent/ScintillaEditView.cpp index b93814c3..a81f837c 100644 --- a/PowerEditor/src/ScitillaComponent/ScintillaEditView.cpp +++ b/PowerEditor/src/ScitillaComponent/ScintillaEditView.cpp @@ -2947,7 +2947,7 @@ void ScintillaEditView::insertNewLineBelowCurrentLine() execute(SCI_SETEMPTYSELECTION, execute(SCI_POSITIONFROMLINE, current_line + 1)); } -void ScintillaEditView::quickSortLines(size_t fromLine, size_t toLine, bool isDescending) +void ScintillaEditView::sortLines(size_t fromLine, size_t toLine, bool isDescending) { if (fromLine >= toLine) { diff --git a/PowerEditor/src/ScitillaComponent/ScintillaEditView.h b/PowerEditor/src/ScitillaComponent/ScintillaEditView.h index e296ba64..0dcf90ae 100644 --- a/PowerEditor/src/ScitillaComponent/ScintillaEditView.h +++ b/PowerEditor/src/ScitillaComponent/ScintillaEditView.h @@ -636,7 +636,7 @@ public: }; void scrollPosToCenter(int pos); generic_string getEOLString(); - void quickSortLines(size_t fromLine, size_t toLine, bool isDescending); + void sortLines(size_t fromLine, size_t toLine, bool isDescending); void changeTextDirection(bool isRTL); bool isTextDirectionRTL() const;