Pritpal Bedi 34835e989f 2010-03-18 20:49 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/hbide.hbp
  * contrib/hbide/hbide.prg
  * contrib/hbide/ideactions.prg
  * contrib/hbide/idedocks.prg
  * contrib/hbide/ideeditor.prg
  * contrib/hbide/ideobject.prg
  + contrib/hbide/ideskeletons.prg
    + Reworked and greatly enhanced "snippets->skeletons" management.
      
      How it works:
      =============
      1. Creating of skelton is as before with same interface.

      2. In addition, the selected text in the current editor 
         can be saved as a skeleton via "Save as Skeleton..."
         option in right-click context menu. A "Name" will be 
         asked via a modal input edit dialog.

      3. A new "Skeletons" tree-view is implemented at the Left-hand 
         docking area which displays all skeletons by name. 

      4. Hovering cursor over the name node shows up the body of 
         skeleton as a tooltip, very handy.

      5. Double-click on the node in tree-view will insert the 
         skeleton text at the current cursor position.

      6. Alternatively, as before, menu can be activated via CTRL+K.

      7. Skeletons body now supports meta data as follows:
         ---
         DO WHILE .T. 
            IF cVar == "<-PROMPT>"
               xVar := <-DtoC( Date() )>
            ENDIF 
            <-CUR>
            EXIT
         ENDDO
         ---

         You can see there are 3 occurances of <-*> token.

         <-PROMPT> will execute an input dialog and the resultant 
         string will be inserted here.

         <-DtoC( Date() )> will evaluate the expression, which in 
         this case, - "03/18/2010" - will be inserted. This means 
         any valid Harbour expression which returns a string 
         can be designated as meta-expression.

         <-CUR> will position the cursor at this place.

         This is what I thought it should behave.
         Please let me know it anything else can make it more productive.
2010-03-19 04:10:35 +00:00
Description
Harbour Core — Reference source for Five development
172 MiB
Languages
C 80.3%
xBase 17.8%
Makefile 0.6%
C++ 0.4%
Harbour 0.4%
Other 0.3%