diff options
Diffstat (limited to 'src/Editor.h')
-rw-r--r-- | src/Editor.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Editor.h b/src/Editor.h index 0cfdaf64e..d95f552ad 100644 --- a/src/Editor.h +++ b/src/Editor.h @@ -355,6 +355,7 @@ protected: // ScintillaBase subclass needs access to much of Editor enum class AddNumber { one, each }; void MultipleSelectAdd(AddNumber addNumber); bool RangeContainsProtected(Sci::Position start, Sci::Position end) const noexcept; + bool RangeContainsProtected(const SelectionRange &range) const noexcept; bool SelectionContainsProtected() const noexcept; Sci::Position MovePositionOutsideChar(Sci::Position pos, Sci::Position moveDir, bool checkLineEnd=true) const; SelectionPosition MovePositionOutsideChar(SelectionPosition pos, Sci::Position moveDir, bool checkLineEnd=true) const; @@ -425,6 +426,7 @@ protected: // ScintillaBase subclass needs access to much of Editor SelectionPosition RealizeVirtualSpace(const SelectionPosition &position); void AddChar(char ch); virtual void InsertCharacter(std::string_view sv, Scintilla::CharacterSource charSource); + void ClearSelectionRange(SelectionRange &range); void ClearBeforeTentativeStart(); void InsertPaste(const char *text, Sci::Position len); enum class PasteShape { stream=0, rectangular = 1, line = 2 }; |