1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-04 03:40:07 +00:00

Cleaned up some ints that should have been CommandIDs.

This commit is contained in:
jules 2013-09-17 18:45:48 +01:00
parent 58f4a38ad8
commit 57db92b276
9 changed files with 61 additions and 55 deletions

View file

@ -1267,7 +1267,7 @@ bool CodeEditorComponent::perform (const InvocationInfo& info)
return performCommand (info.commandID);
}
bool CodeEditorComponent::performCommand (const int commandID)
bool CodeEditorComponent::performCommand (const CommandID commandID)
{
switch (commandID)
{

View file

@ -408,7 +408,7 @@ private:
void cut();
void indentSelectedLines (int spacesToAdd);
bool skipBackwardsToPreviousTab();
bool performCommand (int);
bool performCommand (CommandID);
int indexToColumn (int line, int index) const noexcept;
int columnToIndex (int line, int column) const noexcept;