aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2020-05-02 07:55:30 +1000
committerNeil <nyamatongwe@gmail.com>2020-05-02 07:55:30 +1000
commitb9eddfa525c24eaf435800b192e23b0e692d9dcf (patch)
tree90899ba5b212c1df4fecad2b65256e7db821b052 /win32
parent6b0a2b81ca2b4054a0598514535780d04b39db5b (diff)
downloadscintilla-mirror-b9eddfa525c24eaf435800b192e23b0e692d9dcf.tar.gz
Backport: Feature [feature-requests:1349] Define CopyAllowLine only on Editor, not subclass.
Backport of changeset 8223:a81895285b46.
Diffstat (limited to 'win32')
-rw-r--r--win32/ScintillaWin.cxx7
1 files changed, 0 insertions, 7 deletions
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;