justification/cursor navigation issues

I'm working on a patch for justification:

One of the last remaining problems is with cursor navigation.
(Currently if you press the up arrow at the ends of lines it does
nothing, and if you press the down arrow it jumps down 2 lines.)

I think some of the cursor navigation code assumes that all the text in
the PangoLayoutLines and PangoLayoutRun/PangoItems is contiguous.

However, my justification code trims whitespace at the ends of lines
(and in future it may do things like replace text for hyphenation).

So should the cursor navigation code be changed?
Anyone know how much needs changing & how difficult it will be?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]