From eeb78374523313ccb55b55ca54985fb3483615a4 Mon Sep 17 00:00:00 2001 From: Neil Date: Sat, 2 May 2020 07:55:30 +1000 Subject: Feature [feature-requests:1349] Define CopyAllowLine only on Editor, not subclass. --- win32/ScintillaWin.cxx | 7 ------- 1 file changed, 7 deletions(-) (limited to 'win32') diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx index 51563f494..9f6066cb9 100644 --- a/win32/ScintillaWin.cxx +++ b/win32/ScintillaWin.cxx @@ -385,7 +385,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; @@ -2357,12 +2356,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