Mattias Gaertner wrote:
On Mon, 08 Oct 2007 17:46:04 +0400
12 12 <[EMAIL PROTECTED]> wrote:

Bug: Lazarus opens twice the same source file!

I use relative paths for units. This simplifies moving of project.
This way i add to compiler options in "Other units" section:

../../includes\
../../../../Library\
../../../../Library/LazRGBGraphics\
../../../../Library/vfp\

The project uses unit unEdgePositionFinder.pas located in ../../includes\.
But when i "Ctrl + click" with mouse on unit name in "Uses" section
of main form unit
Lazarus opens unit unEdgePositionFinder.pas twice!
The path for each copy displayed at bottom of edit window.
The first has path D:\projects\ThickLazarus\includes\unEdgePositionFinder.pas. The second has path D:\projects\ThickLazarus\utils\CamCalibration\../../includes\unEdgePositionFinder.pas.

I didn't know, that windows allows using / as path delimiter.

Windows itself not, but the utilities we use do. When switching a project between linux and linux sometimes the / stays in the path

Marc


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

Reply via email to