jEdit Community - Resources for users of the jEdit Text Editor
Macros for use with Progress 4GL (ProgressMacros.zip v1 by Patrick Tingen)
Submitted by ptingen on Monday, 20 December, 2004 - 07:27
Some macros that can come in handy when working with Progress 4GL:

The macros are:
 - Keywords_to_Lower_Case.bsh   
   This macro converts keywords to lower case.

 - Keywords_to_Upper_Case.bsh   
   This macro converts keywords to upper case (surprise eh?)

 - Make_Get_and_Set_Methods.bsh 
   This macro can make get and set functions for a variable. Place
   the cursor on a line containing 'define variable ' and activate 
   the macro. It will create get and set macros. It also works with 
   multiple define statements. Just select all lines and activate
   the macro. 

    define variable CustomerName as character.
    
    /* Name: getCustomerName
     * Desc: Returns the value of CustomerName.
     */
    function: getCustomerName returns null:
      return CustomerName.
    end function. /* getCustomerName*/ 
    
    
    /* Name: setCustomerName
     * Desc: Sets the value of CustomerName.
     */
    function: setCustomerName returns logical (par1 as null):
      assign CustomerName = par1.
      return true.
    end function. /* setCustomerName*/ 
   
 - ProcedureList.bsh
   This macro activates an advanced search command and gives
   a list of all internal procedures, triggers and functions in 
   your code. It presents them using the hypersearch panel. 

Have fun!

Updated on 12/20/2004 - 07:53
Downloads: 1576

User login
Browse archives
« February 2025  
MoTuWeThFrSaSu
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
 
Poll
Are you interested in language packs for jEdit?
Yes, and I could help maintain translations
26%
Yes, I'd like to have translations
32%
Indifferent
35%
No, that'd be bad (please comment)
7%
Total votes: 1093
Syndication
file   ver   dls
German Localization light   4.4.2.1   107140
Context Free Art (*.cfdg)   0.31   46064
BBEdit scheme   1.0   18603
JBuilder scheme   .001   18504
ColdFusion scheme   1.0   18034
R Edit Mode - extensive version   0.1   17483
Advanced HTML edit mode   1.0   16215
Matlab Edit Mode   1.0   16079
jEdit XP icons   1.0   15238
XP icons for jEdit   1.1   14302