[Lazarus] open pas file from command line

Graeme Geldenhuys graemeg.lists at gmail.com
Thu Oct 21 09:43:04 CEST 2010


Op 2010-10-21 06:58, David Emerson het geskryf:
> 
> Suppose I have a lazarus source editor open. I would like to, from my command 
> line shell, issue a command to open a new source in the already-open source 
> editor. Is this possible?

Last time I checked, it was not possible. A feature I miss too.


> Why? If I have a shell open in a directory, it's very quick to tab-complete a 
> file within a directory. It's nice to be able to issue a quick command to open 

My work-around was to write the File Browser ide add-on
(components/filebrowser/ directory). It registers a new menu item as "View
> File Browser window".

I also wrote a File Filter Mask ide add-on which allows you to customize
and define your own file filters that appear in any "File Open" dialog of
Lazarus IDE, but that patch is still not accepted for whatever reason
(though I use it here locally for ages).


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net:8080/fpgui/





More information about the Lazarus mailing list