On 07/11/2007, Gerard N/A <[EMAIL PROTECTED]> wrote:
>
> > * A nice to have (though not urgent and not even sure if needed) would
> >    be to have some editor keyboard shortcut to bring up a todo list edit
> >    item dialog.  So while you are coding and want to insert a item
> >    press the shortcut; fill in the details and press enter to close. The
> >    source code would then have the item inserted in the correct format,
> >    using the developers preferred todo tag format.
> >
> Amen. The only trick with Enter is that when the memo has focus, it


OK, got a quick fix for this one (if you use a newish Lazarus from
SVN).  Edit you lazarus.dci file and paste the following at the end of
the file.

-------------- CUT ------------------------
[todo | Add a todo item]
$(AttributesStart)
AutoOnLineBreak=true
$(AttributesEnd)
{ todo: | }
-------------- END ------------------------


Now if you type:  todo<enter>
it inserts a todo line for you and put the cursor in the correct
location to type your description.  ;-)


Regards,
  - Graeme -


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

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

Reply via email to