1
0
Fork 0
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:
jules 2012-01-30 12:59:36 +00:00
parent c539feabd5
commit 36bd285c4b
22 changed files with 27 additions and 24 deletions

View file

@ -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);

View file

@ -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.