From b9eddfa525c24eaf435800b192e23b0e692d9dcf Mon Sep 17 00:00:00 2001 From: Neil Date: Sat, 2 May 2020 07:55:30 +1000 Subject: Backport: Feature [feature-requests:1349] Define CopyAllowLine only on Editor, not subclass. Backport of changeset 8223:a81895285b46. --- win32/ScintillaWin.cxx | 7 ------- 1 file changed, 7 deletions(-) (limited to 'win32') diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx index 1c854a19a..0b7f6f77e 100644 --- a/win32/ScintillaWin.cxx +++ b/win32/ScintillaWin.cxx @@ -382,7 +382,6 @@ class ScintillaWin : CaseFolder *CaseFolderForEncoding() override; std::string CaseMapString(const std::string &s, int caseMapping) override; void Copy() override; - void CopyAllowLine() override; bool CanPaste() override; void Paste() override; void CreateCallTipWindow(PRectangle rc) override; @@ -2338,12 +2337,6 @@ void ScintillaWin::Copy() { } } -void ScintillaWin::CopyAllowLine() { - SelectionText selectedText; - CopySelectionRange(&selectedText, true); - CopyToClipboard(selectedText); -} - bool ScintillaWin::CanPaste() { if (!Editor::CanPaste()) return false; -- cgit v1.2.3