mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
CharacterFunctions: Add new function to move pointer past whitespace
This commit is contained in:
parent
dc6b4ee43f
commit
64b9366e8f
17 changed files with 46 additions and 23 deletions
|
|
@ -30,7 +30,7 @@ namespace RelativePointHelpers
|
|||
{
|
||||
inline void skipComma (String::CharPointerType& s)
|
||||
{
|
||||
s = s.findEndOfWhitespace();
|
||||
s.incrementToEndOfWhitespace();
|
||||
|
||||
if (*s == ',')
|
||||
++s;
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ namespace RelativeRectangleHelpers
|
|||
{
|
||||
inline void skipComma (String::CharPointerType& s)
|
||||
{
|
||||
s = s.findEndOfWhitespace();
|
||||
s.incrementToEndOfWhitespace();
|
||||
|
||||
if (*s == ',')
|
||||
++s;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue