Lines Matching refs:trailingSpaces
46 GlyphRange trailingSpaces;
54 size_t trailingSpaces; // Depending of TextDirection it goes right to the end (LTR) or left to the start (RTL)
66 void onEndLine(size_t index, TextRange lineText, GlyphRange trailingSpaces, size_t glyphCount) override {
68 fTestLines.back().trailingSpaces = trailingSpaces;
74 TextIndex trailingSpaces,
80 fTestRuns.push_back({font, dirTextRange, bounds, trailingSpaces,
111 REPORTER_ASSERT(reporter, testVisitor.fTestLines[0].trailingSpaces.width() == 0);
112 REPORTER_ASSERT(reporter, testVisitor.fTestLines[1].trailingSpaces.width() == 4);
113 REPORTER_ASSERT(reporter, testVisitor.fTestLines[2].trailingSpaces.width() == 6);
114 REPORTER_ASSERT(reporter, testVisitor.fTestLines[3].trailingSpaces.width() == 1);
115 REPORTER_ASSERT(reporter, testVisitor.fTestLines[4].trailingSpaces.width() == 0);
160 REPORTER_ASSERT(reporter, testVisitor.fTestLines[0].trailingSpaces.width() == 1);
161 REPORTER_ASSERT(reporter, testVisitor.fTestLines[1].trailingSpaces.width() == 1);
162 REPORTER_ASSERT(reporter, testVisitor.fTestLines[2].trailingSpaces.width() == 1);
163 REPORTER_ASSERT(reporter, testVisitor.fTestLines[3].trailingSpaces.width() == 0);