mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Viewport component listener fix. Minor clean-ups.
This commit is contained in:
parent
c539feabd5
commit
36bd285c4b
22 changed files with 27 additions and 24 deletions
|
|
@ -1109,7 +1109,7 @@ void CodeEditorComponent::setColourForTokenType (const int tokenType, const Colo
|
|||
repaint();
|
||||
}
|
||||
|
||||
const Colour CodeEditorComponent::getColourForTokenType (const int tokenType) const
|
||||
Colour CodeEditorComponent::getColourForTokenType (const int tokenType) const
|
||||
{
|
||||
if (! isPositiveAndBelow (tokenType, coloursForTokenCategories.size()))
|
||||
return findColour (CodeEditorComponent::defaultTextColourId);
|
||||
|
|
|
|||
|
|
@ -191,7 +191,7 @@ public:
|
|||
CodeTokeniser::getTokenTypes() to get a list of the token types.
|
||||
@see setColourForTokenType
|
||||
*/
|
||||
const Colour getColourForTokenType (int tokenType) const;
|
||||
Colour getColourForTokenType (int tokenType) const;
|
||||
|
||||
//==============================================================================
|
||||
/** A set of colour IDs to use to change the colour of various aspects of the editor.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue