| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
With a text of "ර් ", we were accidentally producing
a cursor position outside of the [start_xpos, end_xpos]
range, which clearly makes no sense.
Test included.
Fixes: #684
|
|
|
|
|
|
|
|
|
|
| |
When moving the cursor off the paragraph end to
the left in RTL text, we were moving to the previous
line, and not to the next line, as expected.
Test included.
Fixes: #679
|
|
|
|
|
| |
These cover more of the corner cases fixed in the
previous commits.
|
|
|
|
|
|
|
|
|
|
| |
pango_layout_index_to_line_and_extents needs to
return a run rect even if the line has no non-empty
runs. Failing to do so was causing cursors at the
end of lines to have a height of 0 or 1, which is
not what we want.
Add a testcase.
|
|
|
|
|
|
| |
Now that we are using run extents for cursor positions,
the vertical extents aren't necessarily constant across
a line anymore. Adapt our assertions.
|
|
|
|
|
| |
Test the line end handling of
pango_layout_move_cursor_visually.
|
|
|
|
|
|
|
|
| |
Reimplement this function based on pango_layout_get_cursor_pos.
This is a bit less efficient, but it fixes cases where the old
implementation would get stuck.
Fixes: #587, #585, #157
|
|
|
|
| |
Some of these currently fail.
|
|
|
|
| |
Some of these currently fail.
|
| |
|
|
Also add some tests for bidi embedding levels.
|