Workspace 6.21.5
Public Member Functions | List of all members
GhostInsertion Class Reference

#include <Tools/Widgets/highlightingghosttextedit.h>

Inheritance diagram for GhostInsertion:
[legend]

Public Member Functions

 GhostInsertion ()
 
 GhostInsertion (GhostSection section, int offset)
 
 GhostInsertion (int referenceLineNumber, int length, int offset)
 
int editorLine (int lineOffset)
 
bool isValid (int referenceLineNumber, int lineOffset)
 
int offset ()
 
- Public Member Functions inherited from GhostSection
 GhostSection ()
 
 GhostSection (const GhostSection &gs)
 
 GhostSection (int referenceLineNumber, int length)
 

Additional Inherited Members

- Public Attributes inherited from GhostSection
int length_ {0}
 
int referenceLineNumber_ {-1}
 

Detailed Description

Holds position where a ghost section has been isnerted into an editor

Constructor & Destructor Documentation

◆ GhostInsertion() [1/3]

GhostInsertion ( )
inline

◆ GhostInsertion() [2/3]

GhostInsertion ( GhostSection  section,
int  offset 
)
inline

◆ GhostInsertion() [3/3]

GhostInsertion ( int  referenceLineNumber,
int  length,
int  offset 
)
inline

Member Function Documentation

◆ editorLine()

int editorLine ( int  lineOffset)
inline

◆ isValid()

bool isValid ( int  referenceLineNumber,
int  lineOffset 
)
inline

◆ offset()

int offset ( )
inline