~oif-team/ubuntu/natty/qt4-x11/xi2.1

« back to all changes in this revision

Viewing changes to src/3rdparty/webkit/WebCore/platform/text/win/TextBreakIteratorInternalICUWin.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghersi
  • Date: 2009-11-02 18:30:08 UTC
  • mfrom: (1.2.2 upstream)
  • mto: (15.2.5 experimental)
  • mto: This revision was merged to the branch mainline in revision 88.
  • Revision ID: james.westby@ubuntu.com-20091102183008-b6a4gcs128mvfb3m
Tags: upstream-4.6.0~beta1
ImportĀ upstreamĀ versionĀ 4.6.0~beta1

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
 
24
24
namespace WebCore {
25
25
 
 
26
const char* currentSearchLocaleID()
 
27
{
 
28
    // FIXME: Should use system locale.
 
29
    return "";
 
30
}
 
31
 
26
32
const char* currentTextBreakLocaleID()
27
33
{
28
 
    return "en_us";
 
34
    // Using en_US_POSIX now so word selection in address field works as expected as before (double-clicking
 
35
    // in a URL selects a word delimited by periods rather than selecting the entire URL).
 
36
    // However, this is not entirely correct - we should honor the system locale in the normal case.
 
37
    // FIXME: <rdar://problem/6786703> Should use system locale for text breaking
 
38
    return "en_US_POSIX";
29
39
}
30
40
 
31
41
}