mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-30 02:50:05 +00:00
ValueTree bugfix. Minor tweaks and new method StringArray::removeRange.
This commit is contained in:
parent
082dff25dd
commit
10f53a1cb4
9 changed files with 59 additions and 14 deletions
|
|
@ -227,6 +227,19 @@ public:
|
|||
void removeString (const String& stringToRemove,
|
||||
bool ignoreCase = false);
|
||||
|
||||
/** Removes a range of elements from the array.
|
||||
|
||||
This will remove a set of elements, starting from the given index,
|
||||
and move subsequent elements down to close the gap.
|
||||
|
||||
If the range extends beyond the bounds of the array, it will
|
||||
be safely clipped to the size of the array.
|
||||
|
||||
@param startIndex the index of the first element to remove
|
||||
@param numberToRemove how many elements should be removed
|
||||
*/
|
||||
void removeRange (int startIndex, int numberToRemove);
|
||||
|
||||
/** Removes any duplicated elements from the array.
|
||||
|
||||
If any string appears in the array more than once, only the first occurrence of
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue