On Fri, 14 Jul 2006 17:04:52 -0400
"Alexandre Leclerc" <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I would like to add a "browse history" to the unit editor. I saw some
> functions associated with HistoryJump() and I would like to know what
> exactly this code is doing...
When jumping to an error or by find declaration, the IDE adds the last
position to a History of jumps. This way you can jump back with Ctrl+H. See
the Search -> Jump Forward/Back, add jump point and view jump history menu
items.
The only missing thing is the dialog or window presenting the history of
jumps.
> (I want to know if someone has already
> begin the work or not... if this has no relation to a browse history,
> I'll work on the required code to do it.
>
> Question two: should I base the history on the editor filename
> (FindSourceEditorWithFilename) or the editor pointer
> (FindPageWithEditor)? (Because a page could be closed, etc... so some
> information would becode wrong).
Filename.
They are stored relative to the project directory, so you can copy your
project to another computer and continue working there.
Mattias
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives