[lazarus] OpenFileAtCursor

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Dec 10 12:05:48 EST 2001


On Mon, 10 Dec 2001 17:54:10 +0200
"Jarto Tarpio" <jarto at starsoft.fi> wrote:

> I'll have a look which one I'll choose. Meanwhile, I completed Open 
> File at Cursor. I assume I don't have write permissions to cvs, so 
> here's the code. FindPasFile can be moved to another unit. I just 
> don't know yet, where you prefer to have such functions. The path-
> problem is solved with a constant path for the moment.

I added it.
I extended the path with the project directory and the lazarus source directory. Also the files are checked like fpc case-sensitive, lowercase, uppercase.


> This one doesn't support inc-files yet as GetWordAtRowCol doesn't 
> return the extension.

And the directories..
But it is a start.

Mattias






More information about the Lazarus mailing list