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
  Fossies Dox: geany-1.38.tar.bz2  ("unofficial" and yet experimental doxygen-generated source code documentation)  

Scintilla::SelectionPosition Class Reference

#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
 

Detailed Description

Definition at line 13 of file Selection.h.

Constructor & Destructor Documentation

◆ SelectionPosition()

Scintilla::SelectionPosition::SelectionPosition ( Sci::Position  position_ = INVALID_POSITION,
Sci::Position  virtualSpace_ = 0 
)
inlineexplicitnoexcept

Definition at line 17 of file Selection.h.

References PLATFORM_ASSERT, and virtualSpace.

Member Function Documentation

◆ Add()

◆ IsValid()

◆ MoveForInsertDelete()

void SelectionPosition::MoveForInsertDelete ( bool  insertion,
Sci::Position  startChange,
Sci::Position  length,
bool  moveForEqual 
)
noexcept

Definition at line 25 of file Selection.cxx.

References position.

◆ operator<()

bool SelectionPosition::operator< ( const SelectionPosition other) const
noexcept

Definition at line 55 of file Selection.cxx.

References position.

◆ operator<=()

bool SelectionPosition::operator<= ( const SelectionPosition other) const
noexcept

Definition at line 69 of file Selection.cxx.

References position.

◆ operator==()

bool Scintilla::SelectionPosition::operator== ( const SelectionPosition other) const
inlinenoexcept

Definition at line 27 of file Selection.h.

References position, and virtualSpace.

◆ operator>()

bool SelectionPosition::operator> ( const SelectionPosition other) const
noexcept

Definition at line 62 of file Selection.cxx.

References position.

◆ operator>=()

bool SelectionPosition::operator>= ( const SelectionPosition other) const
noexcept

Definition at line 76 of file Selection.cxx.

References position.

◆ Position()

Sci::Position Scintilla::SelectionPosition::Position ( ) const
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().

◆ Reset()

void Scintilla::SelectionPosition::Reset ( )
inlinenoexcept

Definition at line 22 of file Selection.h.

References position, and virtualSpace.

Referenced by Scintilla::SelectionRange::Reset().

◆ SetPosition()

◆ SetVirtualSpace()

◆ VirtualSpace()

Member Data Documentation

◆ position

Sci::Position Scintilla::SelectionPosition::position
private

Definition at line 14 of file Selection.h.

Referenced by Add(), IsValid(), operator==(), Position(), Reset(), and SetPosition().

◆ virtualSpace

Sci::Position Scintilla::SelectionPosition::virtualSpace
private

The documentation for this class was generated from the following files: