[gps-users] Ang: GPS Hook question

Per Sandberg per.sandberg at bredband.net
Sun Mar 2 07:54:49 CET 2008


Got a small sample that does that, hoever I dont know how to do 
a "gnat pretty" on save in a safe way.
Have a look in the attachment.
/Per

>----Ursprungligt meddelande----
>Från: mspam at trakas.org
>Datum: 29-02-2008 14:24
>Till: <gps-users at lists.adacore.com>
>Ärende: [gps-users]  GPS Hook question
>
>
>I've never created a hook for GPS.  I've read the docs but 
I'm still not sure
>how to proceed.
>
>Here's what I want to do:
>I want the pretty printer to run, using whatever the project 
defaults are,
>whenever I save an Ada file.  In other words, I always want 
Ada files
>pretty-printed as part of the save operation.  I'm guessing I 
need to add
>something to the file_saved Hook, but I need some help.
>
>Any Hook Masters want to, ehh, hook me up with a solution?
>Thanks!
>
>-- 
>View this message in context: http://www.nabble.com/GPS-Hook-
question-tp15744424p15744424.html
>Sent from the GNAT Programming Studio - User mailing list 
archive at Nabble.com.
>
>_______________________________________________
>gps-users mailing list
>gps-users at lists.adacore.com
>/no-more-mailman.html
>

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: PrettyPrintOnSave.py
Url: /pipermail/gps-users/attachments/20080302/d5ca74cd/attachment.txt 


More information about the gps-users mailing list