mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-23 13:54:54 +02:00
Rename quickSortLines -> sortLines.
This commit is contained in:
parent
01c1667b09
commit
351b9b6bff
@ -375,7 +375,7 @@ void Notepad_plus::command(int id)
|
|||||||
}
|
}
|
||||||
|
|
||||||
_pEditView->execute(SCI_BEGINUNDOACTION);
|
_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);
|
_pEditView->execute(SCI_ENDUNDOACTION);
|
||||||
|
|
||||||
if (hasSelection) // there was 1 selection, so we restore it
|
if (hasSelection) // there was 1 selection, so we restore it
|
||||||
|
@ -2947,7 +2947,7 @@ void ScintillaEditView::insertNewLineBelowCurrentLine()
|
|||||||
execute(SCI_SETEMPTYSELECTION, execute(SCI_POSITIONFROMLINE, current_line + 1));
|
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)
|
if (fromLine >= toLine)
|
||||||
{
|
{
|
||||||
|
@ -636,7 +636,7 @@ public:
|
|||||||
};
|
};
|
||||||
void scrollPosToCenter(int pos);
|
void scrollPosToCenter(int pos);
|
||||||
generic_string getEOLString();
|
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);
|
void changeTextDirection(bool isRTL);
|
||||||
bool isTextDirectionRTL() const;
|
bool isTextDirectionRTL() const;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user