geany
1.38
About: Geany is a text editor (using GTK2) with basic features of an integrated development environment (syntax highlighting, code folding, symbol name auto-completion, ...). F: office T: editor programming GTK+ IDE
![]() ![]() |
#include <Selection.h>
Public Member Functions | |
SelectionPosition (Sci::Position position_=INVALID_POSITION, Sci::Position virtualSpace_=0) noexcept | |
void | Reset () noexcept |
void | MoveForInsertDelete (bool insertion, Sci::Position startChange, Sci::Position length, bool moveForEqual) noexcept |
bool | operator== (const SelectionPosition &other) const noexcept |
bool | operator< (const SelectionPosition &other) const noexcept |
bool | operator> (const SelectionPosition &other) const noexcept |
bool | operator<= (const SelectionPosition &other) const noexcept |
bool | operator>= (const SelectionPosition &other) const noexcept |
Sci::Position | Position () const noexcept |
void | SetPosition (Sci::Position position_) noexcept |
Sci::Position | VirtualSpace () const noexcept |
void | SetVirtualSpace (Sci::Position virtualSpace_) noexcept |
void | Add (Sci::Position increment) noexcept |
bool | IsValid () const noexcept |
Private Attributes | |
Sci::Position | position |
Sci::Position | virtualSpace |
Definition at line 13 of file Selection.h.
|
inlineexplicitnoexcept |
Definition at line 17 of file Selection.h.
References PLATFORM_ASSERT, and virtualSpace.
|
inlinenoexcept |
Definition at line 49 of file Selection.h.
References position.
Referenced by Scintilla::Editor::ButtonUpWithModifiers(), Scintilla::Editor::ChangeCaseOfSelection(), Scintilla::ScintillaGTK::DragDataGet(), Scintilla::Editor::DropAt(), Scintilla::Editor::LinesJoin(), Scintilla::Editor::LinesSplit(), Scintilla::Editor::PasteRectangular(), and Scintilla::Editor::PositionUpOrDown().
|
inlinenoexcept |
Definition at line 52 of file Selection.h.
References position.
Referenced by Scintilla::BreakFinder::BreakFinder(), Scintilla::Editor::ButtonMoveWithModifiers(), Scintilla::EditView::DrawCarets(), Scintilla::Editor::EnsureCaretVisible(), Scintilla::Editor::InvalidateCaret(), Scintilla::Editor::MovedCaret(), Scintilla::EditView::PaintText(), and Scintilla::Editor::WndProc().
|
noexcept |
Definition at line 25 of file Selection.cxx.
References position.
|
noexcept |
Definition at line 55 of file Selection.cxx.
References position.
|
noexcept |
Definition at line 69 of file Selection.cxx.
References position.
|
inlinenoexcept |
Definition at line 27 of file Selection.h.
References position, and virtualSpace.
|
noexcept |
Definition at line 62 of file Selection.cxx.
References position.
|
noexcept |
Definition at line 76 of file Selection.cxx.
References position.
|
inlinenoexcept |
Definition at line 34 of file Selection.h.
References position.
Referenced by Scintilla::ScintillaBase::AutoCompleteInsert(), Scintilla::BreakFinder::BreakFinder(), Scintilla::Editor::ButtonDownWithModifiers(), Scintilla::Editor::ButtonMoveWithModifiers(), Scintilla::Editor::ButtonUpWithModifiers(), Scintilla::Editor::ChangeCaseOfSelection(), Scintilla::Editor::ClampPositionIntoDocument(), Scintilla::Editor::Clear(), Scintilla::Editor::ClearBeforeTentativeStart(), Scintilla::Editor::ClearSelection(), Scintilla::Editor::DelCharBack(), Scintilla::Editor::DelWordOrLine(), Scintilla::EditView::DrawCarets(), Scintilla::EditView::DrawEOL(), Scintilla::ScintillaGTK::DrawImeIndicator(), DrawTranslucentSelection(), Scintilla::Editor::Duplicate(), Scintilla::ScintillaGTKAccessible::GetSelection(), Scintilla::Editor::HorizontalMove(), Scintilla::Editor::Indent(), Scintilla::Editor::InsertCharacter(), Scintilla::Editor::InsertPaste(), Scintilla::Editor::InvalidateCaret(), Scintilla::Editor::InvalidateSelection(), Scintilla::SelectionSegment::Length(), Scintilla::SelectionRange::Length(), Scintilla::Editor::LineReverse(), Scintilla::Editor::LineSelectionRange(), Scintilla::Editor::LinesJoin(), Scintilla::Editor::LinesSplit(), Scintilla::SelectionRange::MinimizeVirtualSpace(), Scintilla::Editor::MovedCaret(), Scintilla::ScintillaGTK::MoveImeCarets(), Scintilla::Editor::MovePositionTo(), Scintilla::Editor::MoveSelectedLines(), Scintilla::Editor::MultipleSelectAdd(), Scintilla::Editor::NewLine(), Scintilla::EditView::PaintText(), Scintilla::Editor::PositionFromLineX(), Scintilla::Editor::PositionFromLocation(), Scintilla::Editor::PositionUpOrDown(), Scintilla::Editor::ReplaceTarget(), Scintilla::Editor::SearchAnchor(), Scintilla::Editor::SearchInTarget(), Scintilla::Editor::SelectionContainsProtected(), Scintilla::Editor::SetDragPosition(), Scintilla::Editor::SetEmptySelection(), Scintilla::Editor::SetRectangularRange(), Scintilla::Editor::SetSelection(), Scintilla::Editor::SetSelectionNMessage(), Scintilla::ScintillaGTK::TargetAsUTF8(), Scintilla::Editor::VerticalCentreCaret(), Scintilla::Editor::WndProc(), and Scintilla::Editor::XYScrollToMakeVisible().
|
inlinenoexcept |
Definition at line 22 of file Selection.h.
References position, and virtualSpace.
Referenced by Scintilla::SelectionRange::Reset().
|
inlinenoexcept |
Definition at line 37 of file Selection.h.
References position, and virtualSpace.
Referenced by Scintilla::ScintillaBase::AutoCompleteInsert(), Scintilla::EditView::DrawCarets(), Scintilla::Editor::InsertCharacter(), Scintilla::Editor::InsertPaste(), Scintilla::ScintillaGTK::MoveImeCarets(), Scintilla::Editor::PasteRectangular(), Scintilla::Editor::ReplaceTarget(), Scintilla::Editor::SearchInTarget(), Scintilla::Editor::SetSelectionNMessage(), and Scintilla::Editor::WndProc().
|
inlinenoexcept |
Definition at line 44 of file Selection.h.
References PLATFORM_ASSERT, and virtualSpace.
Referenced by Scintilla::Editor::ClampPositionIntoDocument(), Scintilla::SelectionRange::ClearVirtualSpace(), Scintilla::Editor::DelCharBack(), Scintilla::EditView::DrawCarets(), Scintilla::Editor::HorizontalMove(), Scintilla::SelectionRange::MinimizeVirtualSpace(), Scintilla::Editor::PositionUpOrDown(), Scintilla::Editor::SetSelectionNMessage(), and Scintilla::Editor::WndProc().
|
inlinenoexcept |
Definition at line 41 of file Selection.h.
References virtualSpace.
Referenced by Scintilla::ScintillaBase::AutoCompleteInsert(), Scintilla::Editor::Clear(), Scintilla::Editor::ClearBeforeTentativeStart(), Scintilla::Editor::DelCharBack(), Scintilla::EditView::DrawCarets(), Scintilla::EditView::DrawEOL(), DrawTranslucentSelection(), Scintilla::Editor::HorizontalMove(), Scintilla::Editor::InsertCharacter(), Scintilla::Editor::InsertPaste(), Scintilla::SelectionRange::MinimizeVirtualSpace(), Scintilla::Editor::ReplaceTarget(), and Scintilla::Editor::WndProc().
|
private |
Definition at line 14 of file Selection.h.
Referenced by Add(), IsValid(), operator==(), Position(), Reset(), and SetPosition().
|
private |
Definition at line 15 of file Selection.h.
Referenced by operator==(), Reset(), SelectionPosition(), SetPosition(), SetVirtualSpace(), and VirtualSpace().