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:
parent
58f4a38ad8
commit
57db92b276
9 changed files with 61 additions and 55 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue