Skip to content

NavigationActions uses the default locale for navigating text #851

@garybentley

Description

@garybentley

NavigationActions methods such as wordBreaksBackwards, wordBreaksForwards and so on use:

BreakIterator.getWordInstance()

which uses the default jvm locale but the text may not be written in that locale, for instance I know of many writers who are not native English speakers who write in English. It would be good to be able to specify the locale for the iterators used. Even better it would be good to be able to mark a section of text as using a specific locale, there are writers who write in multiple different languages.

The locale setting would need to be on a per area basis since there is no guarantee that the text for all areas in a jvm would be using the same locale.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions