JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins

« « « Anklang Documentation
Loading...
Searching...
No Matches
Classes | Public Member Functions | List of all members
juce::CodeEditorComponent::CodeEditorLine Class Reference

Public Member Functions

bool update (CodeDocument &codeDoc, int lineNum, CodeDocument::Iterator &source, CodeTokeniser *tokeniser, const int tabSpaces, const CodeDocument::Position &selStart, const CodeDocument::Position &selEnd)
 
Optional< Rectangle< float > > getHighlightArea (float x, int y, int lineH, float characterWidth) const
 
Optional< Rectangle< float > > getHighlightArea (float x, int y, int lineH, float characterWidth, Range< int > highlightColumns) const
 
void draw (CodeEditorComponent &owner, Graphics &g, const Font &fontToUse, const float rightClip, const float x, const int y, const int lineH, const float characterWidth) const
 

Detailed Description

Definition at line 121 of file juce_CodeEditorComponent.cpp.

Constructor & Destructor Documentation

◆ CodeEditorLine()

juce::CodeEditorComponent::CodeEditorLine::CodeEditorLine ( )
noexcept

Definition at line 124 of file juce_CodeEditorComponent.cpp.

Member Function Documentation

◆ draw()

void juce::CodeEditorComponent::CodeEditorLine::draw ( CodeEditorComponent owner,
Graphics g,
const Font fontToUse,
const float  rightClip,
const float  x,
const int  y,
const int  lineH,
const float  characterWidth 
) const

Definition at line 196 of file juce_CodeEditorComponent.cpp.

◆ getHighlightArea() [1/2]

Optional< Rectangle< float > > juce::CodeEditorComponent::CodeEditorLine::getHighlightArea ( float  x,
int  y,
int  lineH,
float  characterWidth 
) const

Definition at line 177 of file juce_CodeEditorComponent.cpp.

◆ getHighlightArea() [2/2]

Optional< Rectangle< float > > juce::CodeEditorComponent::CodeEditorLine::getHighlightArea ( float  x,
int  y,
int  lineH,
float  characterWidth,
Range< int highlightColumns 
) const

Definition at line 182 of file juce_CodeEditorComponent.cpp.

◆ update()

bool juce::CodeEditorComponent::CodeEditorLine::update ( CodeDocument codeDoc,
int  lineNum,
CodeDocument::Iterator source,
CodeTokeniser tokeniser,
const int  tabSpaces,
const CodeDocument::Position selStart,
const CodeDocument::Position selEnd 
)

Definition at line 126 of file juce_CodeEditorComponent.cpp.


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