2006/7/17, Mattias Gaertner <[EMAIL PROTECTED]>:
The second purpose of the jump history is to undo cursor moves, that would
be a lot of work to undo. A find declaration jumps to another page, line and
column. You can not undo that with a few keys. But a page jump from page 2
to 3 can be easily undone with one key. So, here I don't see the gain.

What about his:
Add a jump point everytime the user switches to a page far away. For example
switching from 2 to 3 does not add a jump, but a jump from 1 to 3 does.

Nice iteration; this makes me think about the problems you pin-pointed...

This might not solve the problem of many Ctrl+Shift+Down... two "far"
pages could be linked by an include file. Also you brought a new
point: Find declaration: it could also result in a "far" page.

If we can detect page browsing done with a mouse click on the tabs,
this could solve the problem: only the browsing with the mouse would
be keept. And this would solve all the other problems about exploring
source code, which I do a lot myself. Also, Alt+[1..0] could generate
a history point, which would be logical.  -- At first glance, I did
not found mouse events related to page changes.

--
Alexandre Leclerc

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to