Enumerations | |
enum | BoundaryType { BoundaryType::character, BoundaryType::word, BoundaryType::line, BoundaryType::document } |
enum | Direction { Direction::forwards, Direction::backwards } |
Functions | |
static int | findTextBoundary (const AccessibilityTextInterface &textInterface, int currentPosition, BoundaryType boundary, Direction direction) |
|
strong |
|
strong |
|
static |
References character, document, juce::end(), forwards, juce::StringArray::fromLines(), juce::StringArray::fromTokens(), juce::getAddressDifference(), juce::String::getCharPointer(), juce::AccessibilityTextInterface::getText(), juce::AccessibilityTextInterface::getTotalNumCharacters(), jassertfalse, juce::jlimit(), juce::gl::length, line, juce::gl::num, juce::String::preallocateBytes(), juce::gl::size, juce::gl::start, juce::UnitTestCategories::text, word, and juce::CharPointer_UTF8::write().
Referenced by juce::UIATextProvider::UIATextRangeProvider::ExpandToEnclosingUnit(), and juce::UIATextProvider::UIATextRangeProvider::MoveEndpointByUnit().