Op 13-4-2012 23:50, Richard Heck schreef:
On 04/11/2012 02:49 PM, Vincent van Ravesteijn wrote:
Op 11-4-2012 20:45, Richard Heck schreef:
On 04/11/2012 02:02 PM, Vincent van Ravesteijn wrote:
Op 11-4-2012 19:56, Richard Heck schreef:
On 04/11/2012 07:39 AM, Jürgen Spitzmüller wrote:
2012/4/11 Richard Heck:
We really should fix this, and it shouldn't be that hard. It's often requested. Can someone please file a bug about it? Check first to make sure there isn't already one, though. I'll try to get to it, maybe even for
2.0.4.
http://www.lyx.org/trac/ticket/4140

Thanks.

I have a partially working patch now, in the sense that I can suppress deleted material. The only remaining problem is the metrics. If I've got some deleted material, the row is too short and the cursor shows in the wrong place. Where do we calculate which characters are in the row and so forth? I've hunted through the code but haven't found it yet.

Richard


Can you push it to your repo on the server, then I can have a look.


OK, this is there now, and in a better version. I figured out the problem about row metrics.

The problem now is much more serious. Basically, the cursor position isn't correct. When we figure out Cursor::pos(), we of course don't consider that deleted material might not be visible. Do you have any idea whether this is something that can be fixed without massive potential for problems, or is this just too major surgery?

Painting the cursor at the correct location is done at:

http://git.lyx.org/?p=developers/vfr/lyx.git;a=shortlog;h=refs/heads/features/HideChanges

so if you just add my repo as a remote for you, you can fetch my changes, and it will look like we're working on the same repo.

Vincent

Reply via email to