diff options
author | Martijn Laan <1092369+martijnlaan@users.noreply.github.com> | 2024-06-20 08:23:46 +1000 |
---|---|---|
committer | Martijn Laan <1092369+martijnlaan@users.noreply.github.com> | 2024-06-20 08:23:46 +1000 |
commit | 4040c66fc31c7e537d063c65ed1e734e974250c2 (patch) | |
tree | a19d212bcf90ba998d282f047741bc214598c64e /src/Editor.h | |
parent | eee34c2c5053450ec48aea8a9cbff4d5dd140b55 (diff) | |
download | scintilla-mirror-4040c66fc31c7e537d063c65ed1e734e974250c2.tar.gz |
Feature [feature-requests:#1518]. Cherry pick SCI_CUTALLOWLINE from isscint.
Diffstat (limited to 'src/Editor.h')
-rw-r--r-- | src/Editor.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Editor.h b/src/Editor.h index dfc25d72d..50aa9a660 100644 --- a/src/Editor.h +++ b/src/Editor.h @@ -436,6 +436,7 @@ protected: // ScintillaBase subclass needs access to much of Editor void PasteRectangular(SelectionPosition pos, const char *ptr, Sci::Position len); virtual void Copy() = 0; void CopyAllowLine(); + void CutAllowLine(); virtual bool CanPaste(); virtual void Paste() = 0; void Clear(); @@ -481,6 +482,7 @@ protected: // ScintillaBase subclass needs access to much of Editor enum class CaseMapping { same, upper, lower }; virtual std::string CaseMapString(const std::string &s, CaseMapping caseMapping); void ChangeCaseOfSelection(CaseMapping caseMapping); + void LineDelete(); void LineTranspose(); void LineReverse(); void Duplicate(bool forLine); @@ -515,6 +517,7 @@ protected: // ScintillaBase subclass needs access to much of Editor virtual void CopyToClipboard(const SelectionText &selectedText) = 0; std::string RangeText(Sci::Position start, Sci::Position end) const; + bool CopyLineRange(SelectionText *ss, bool allowProtected=true); void CopySelectionRange(SelectionText *ss, bool allowLineCopy=false); void CopyRangeToClipboard(Sci::Position start, Sci::Position end); void CopyText(size_t length, const char *text); |