Rename quickSortLines -> sortLines.

This commit is contained in:
Andreas Jönsson 2015-05-09 10:05:45 +02:00
parent 01c1667b09
commit 351b9b6bff
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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)
{

View File

@ -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;