Some hopefully final flat review touch ups.
This commit is contained in:
1 parent
fb2c5b818d
commit
d7b1efeba0
5 files changed
+71
-4
No files matched your search
@@ -16,6 +16,12 @@ Their rectangles are combined across every chunk, including interior bidi runs.
|
||||
For partially clipped lines, offscreen chunks are rejected before querying
|
||||
individual character rectangles. This preserves native offsets and visible text
|
||||
without measuring thousands of characters in one synchronous request.
|
||||
Exact range rectangles are reused only within one object's synchronous text
|
||||
capture, including zero-area rectangles. This avoids querying the same 128-character
|
||||
blocks once to combine line bounds and again to clip the line. The map is discarded
|
||||
when that object's text capture returns; a changed viewport or later command does
|
||||
not reuse it. Failed requests are not stored, and cancellation is checked before
|
||||
using a saved rectangle. Individual glyph checks for clipped text remain intact.
|
||||
|
||||
In the live FastSMRW investigation, measuring an entire 3,424-character line took
|
||||
about 0.9 seconds, exceeding the adapter's 0.8-second provider timeout. A later
|
||||
@@ -78,7 +84,9 @@ dependencies during the test.
|
||||
|
||||
The long-range regression uses a horizontally clipped 3,424-character GTK label.
|
||||
Its provider deliberately stalls when a range query exceeds 128 characters.
|
||||
Capture must retain visible text and never trigger that large request. Unit
|
||||
Capture must retain visible text and never trigger that large request. The fixture
|
||||
also counts repeated native range requests: the original implementation repeats
|
||||
36 requests, while capture-local reuse makes none. Unit
|
||||
tests also cover Unicode offsets, offscreen query counts, interior bidi bounds,
|
||||
zero-size chunks, cancellation and provider errors.
|
||||
|
||||
|
||||
Reference in new issue
Block a user