LMMS
Loading...
Searching...
No Matches
juce::CodeDocumentLine Class Reference

Public Member Functions

 CodeDocumentLine (const String::CharPointerType startOfLine, const String::CharPointerType endOfLine, const int lineLen, const int numNewLineChars, const int startInFile)
bool endsWithLineBreak () const noexcept
void updateLength () noexcept

Static Public Member Functions

static void createLines (Array< CodeDocumentLine * > &newLines, StringRef text)

Public Attributes

String line
int lineStartInFile
int lineLength
int lineLengthWithoutNewLines

Constructor & Destructor Documentation

◆ CodeDocumentLine()

juce::CodeDocumentLine::CodeDocumentLine ( const String::CharPointerType startOfLine,
const String::CharPointerType endOfLine,
const int lineLen,
const int numNewLineChars,
const int startInFile )
inline

Member Function Documentation

◆ createLines()

void juce::CodeDocumentLine::createLines ( Array< CodeDocumentLine * > & newLines,
StringRef text )
inlinestatic

◆ endsWithLineBreak()

bool juce::CodeDocumentLine::endsWithLineBreak ( ) const
inlinenoexcept

◆ updateLength()

void juce::CodeDocumentLine::updateLength ( )
inlinenoexcept

Member Data Documentation

◆ line

String juce::CodeDocumentLine::line

◆ lineLength

int juce::CodeDocumentLine::lineLength

◆ lineLengthWithoutNewLines

int juce::CodeDocumentLine::lineLengthWithoutNewLines

◆ lineStartInFile

int juce::CodeDocumentLine::lineStartInFile

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