X2 Macros Listing

The following list of files are included within the xmacros.zip package, which can be downloaded from here.

Macros that have been added or changed within the past 6 months are highlighted in red. This list was last updated on January 4, 2014

Filename  Date  Description 
accent.x  Nov 17 1997 10:11 Help with accents 
allincs.x  Jun 04 2005 19:06 Edit all the header files included by the current file. 
apiwin.x  Jun 04 2005 19:06 Display a list of function prototypes that match the keyword at the cursor location. 
avg.x  Sep 11 1997 08:09 Insert avg at bottom of column of marked data 
back.x  Aug 10 1999 21:08 Join current line to previous if in column 1 
bookmenu.x  Jun 06 2009 11:06 Menu style interface to bookmarks 
bookwin.x  Dec 07 2010 20:12 Create and manage a popup window to enter bookmaster tags into a file. 
boxes.x  Jan 04 2009 19:01 Allow box drawing in the editor. 
brac.x  May 17 1994 02:05 Mark all lines between an open bracket "{" and the matching close "}" bracket. 
brformat.x  Nov 15 2002 22:11 Reformat the text in the block mark. 
cbox.x  Feb 02 1996 09:02 X2 macro to create a box comment. 
ccomment.x  Aug 08 2007 14:08 Document the end of a C block of code. 
cfuncs.x  Jun 04 2005 19:06 Create a list of all the C functions in the current file 
chart.x  Oct 23 1997 10:10 Makes an "ASCII ART" bar chart from a table of data. 
chk42.x  Feb 24 1997 11:02 Check for repeated words 
chooser.x  Oct 01 2007 20:10 Make a selection from a list. 
colours.x  Mar 19 1996 09:03 Write out the colour settings to a file. 
cols.x  May 21 1996 12:05 Insert a column scale (like set scale on) 
combox.x  Feb 02 1996 08:02 Macro to draw a comment box. 
comments.x  Feb 22 1994 07:02 Make sure all comments are aligned properly in a file 
comp.x  Mar 21 2000 07:03 Compare two files. 
condcmd.x  Mar 21 2000 03:03 Execute editor commands conditionally 
copydown.x  Apr 15 2005 12:04 Fill a block mark with the top line of the mark 
datacmd.x  Oct 25 2002 21:10 Execute command on current line or the LINE marked lines 
date.x  Nov 20 1997 07:11 Enter today's date in a variety of formats 
ddl2entity.x  Oct 20 2012 17:10 Converts data base DDL to Seam based java entity 
defos2.x  Jun 04 2005 19:06 Select and enter an OS/2 INCL definition into the current file. 
diff.x  Nov 12 2002 14:11 Highlight the DIFFerences between two files using the Windows FC (File Compare?) command output. 
dir.x  May 18 1999 07:05 Display the results of a DIR command in a file. 
doc.x  Jun 09 1997 08:06 Document changed lines in a source file by adding a comment to each line 
Editgrep.rex  Aug 28 2001 03:08 Edit file(s) with highlighted grep output 
Grepfilt.rex  Nov 30 2000 10:11 Subroutine for editgrep 
env.x  Nov 19 1997 07:11 Show current value of an environment variable 
expand_c.x  Jun 08 1999 07:06 Sam Detweiler's C syntax expansion for input command 
expand_s.x  Jun 08 1999 07:06 Sam Detweiler's C syntax expansion for space character 
filer.x  Dec 19 2003 21:12 Save the current file to disk, even if the read-only attribute is set. 
fillblck.x  Feb 02 1996 10:02 Fill a block marked area with a rectangular pattern 
findall.x  Jun 11 2005 02:06 Find all files in the ring which contain the given string. 
findpair.x  Apr 30 2005 16:04 Searches for any unmatched begin-end situation in a GenRad Test Language Program File 
foggy.x  Sep 04 1995 11:09 Generate random pseudo-text 
forw.x  Oct 23 2002 08:10 Interface to foreignword.com 
func.x  Feb 09 2009 11:02 Write a skeleton function from the prototype 
funchdr.x  Oct 05 2012 12:10 Input a comment box for documenting the current C or C++ function. 
funcs.x  Jun 04 2005 19:06 Create a list of all the C functions in the current file 
getnset.x  Nov 10 2011 09:11 Write Get and Set methods for a C++ variable. 
getnsetdoc.x  Nov 10 2011 09:11 Write Get and Set methods for a C++ variable. 
gocolor.x  Nov 12 2002 13:11 Go to (jump) to lines coloured with LINECOLOUR. 
google.x  Oct 23 2002 08:10 Interface to WWW.GOOGLE.COM 
grep.x  Feb 22 2004 18:02 Search for lines in a file with regular expressions. 
gwook.x  Oct 15 1997 04:10 Generates some vaguely middle-European filler text 
header.x  Jul 29 2010 08:07 Create standard header for C, H, SCR, and MAK source files. 
hext.x  Sep 28 2000 03:09 Show the hexadecimal representation of a data line. 
hideblnk.x  Feb 15 1995 07:02 Exclude all blank lines from the display. 
hidemark.x  Apr 15 2005 09:04 Hide the marked area by excluding all the marked lines. 
hilite.x  Jun 04 2005 19:06 Highlight all occurrences of a string in a given colour 
hostedit.x  Nov 19 1997 07:11 Edit/Save synonyms to handle host files 
hscroll.x  Oct 25 2002 21:10 Horizontal scroll 
id.x  Sep 10 2002 17:09 Input a line with a comment containing my name and the date. 
imedit.x  Feb 02 1996 09:02 Edit Script files imbedded into a master doc 
inclc.x  Oct 08 1998 04:10 Sjlect and enter a C runtime include file into the current file. 
includes.x  Jun 04 2005 19:06 Display all the #include lines found in the current file 
infopl.x  Oct 23 2002 08:10 Interface to the Infoplease web site 
ipf2html.x  Jan 04 2014 16:01 Convert a file from IPF input format into a format displayable by any HTML browser. 
ipf2rtf.x  Jun 04 2005 19:06 Convert a file from IPF format into RTF format (for Windows help) 
kwhelp.x  Jun 04 2005 19:06 Look up a keyword in an INF file. 
linecolours.x  Dec 07 2000 08:12 This will throw all combos of fore/background colors into the file 
lines.x  Oct 23 2002 08:10 Line drawing through the cursor keys 
listall.x  Aug 08 1996 05:08 Create a file containing a list of all the files in the ring 
lastSaved.x  Jan 04 2014 21:01 Indicate when the currently edited file was last saved to disk 
load.x  Jun 04 2005 19:06 Enhances X's edit command. 
longest.x  Jan 23 1995 07:01 Find the longest line in a file. 
lorem.x  Nov 17 1997 11:11 Generates the centuries old filler text - "Lorem inpsum..." 
m2f.x  Oct 23 1997 11:10 Convert metres to feet and inches 
macx.x  Feb 02 1996 10:02 MACX - Macro Expand - Display Assembler Macro in a Popup Window 
mak.x  Jun 04 2005 19:06 Generate the dependencies list for the given source file. 
man.x  Sep 30 1998 08:09 Display the results of a Unix MAN command in an editor window. 
manmark.x  Oct 23 2002 09:10 Performs a variety of manipulations on the marked text 
markmat.x  Jun 16 2004 12:06 Mark the set of lines within a pair of matching characters (such as braces). 
markstat.x  Oct 25 2002 21:10 Main driver for doing stats on numbers in a marked area 
markto.x  Jun 04 2005 19:06 Mark from the current position to the next occurrence of the supplied string 
math.x  Nov 07 1999 22:11 Does sums for you & inserts the results at the cursor. 
median.x  Nov 18 1997 09:11 Insert median value of marked data 
newline.x  Feb 02 1996 09:02 Add a new line if INSERT mode is on 
newline2.x  Feb 02 1996 09:02 Add a new line if INSERT mode is on 
nlsyntax.x  Jun 09 1999 00:06 Syntax assistance off Ctrl-Enter 
noblanks.x  Apr 17 2004 17:04 Remove blank lines from a file 
ns.x  Aug 10 2001 06:08 Invoke Netscape with a URL from the current file line 
paintcom.x  Oct 23 2002 09:10 PAINT the COMments in a program 
paintpan.x  Oct 23 2002 09:10 Colour the definition of an ISPF panel that is being edited 
perldoc.x  Oct 04 2003 19:10 An X2 interface to Perldoc 
prtcodes.x  Apr 14 1998 09:04 Create a window with various proprinter control codes. 
prtmark.x  May 03 1995 06:05 Print marked lines 
ps.x  Apr 05 2007 05:04 Convert the current file into a PostScript format file 
qe.x  Mar 17 2003 21:03 Fancy Query of a extractable X2 variable 
qquitall.x  Jun 06 1994 05:06 Quit all files in the ring, whether they have been changed or not. 
quitall.x  Jun 07 1995 09:06 Quit unchanged files in the ring 
rc.x  Jun 23 1997 04:06 Execute a command and display the return code 
readfile.x  Sep 23 2003 13:09 Skeleton code to read a file in a loop 
recalc.x  Dec 26 2013 12:12 Simple spreadsheet calculations 
remove.x  Jun 04 2005 19:06 Remove all lines which contain the supplied search string. 
removext.x  Sep 03 1996 05:09 Remove all files from the ring that have the supplied file extension. 
rexxfmt.x  Mar 15 2000 11:03 REXXFMT - Format a REXX Program to your Specifications 
rf.x  Jun 06 1996 03:06 Macro to ReFlow a paragraph of text in an intelligent manner 
rgfmatch.x  Jun 04 2005 19:06 Match any character to the right or to the left 
rgfstart.x  Jun 08 2000 10:06 Ensures window size meets minimum values 
ring.x  Mar 05 1997 11:03 Add the names of all the files in the ring to the current file. 
ringcmd.x  Nov 13 2003 13:11 Execute a command on all files in the ring 
rx.x  Feb 24 2003 21:02 Rexx interpret argument 
saveall.x  Jun 07 1995 09:06 Save any changed files to disk, and quit all files in the ring. 
say.x  Jan 12 1994 12:01 Compute an expression using the Interpret function 
sayin.x  Jun 08 1996 13:06 Input the result of say.x into the current file 
scale.x  Nov 07 1995 06:11 Insert a column scale (like set scale on) 
sdev.x  Oct 28 1997 05:10 Insert std deviation of all numbers in marked data 
sen.x  Jul 29 1997 05:07 Cut & paste whole sentences 
shel.x  Oct 15 1997 09:10 Execute OS/2 commands, and display the result in a file view 
showme.x  Jun 04 2005 19:06 XOON interface to IBMPC ANSWERS files 
shownest.x  Oct 23 2002 09:10 SHOW the NESTing of ( ) brackets in an expression 
showpath.x  Nov 18 2002 15:11 Write the directories in the PATH= environment variable to a popup window. 
skeleton.x  Mar 20 2000 06:03 Provide a SKELETON for a new editor macro 
sortbooks.x  Sep 22 2007 20:09 Sort the bookmarks by line number 
sortbooksA.x  Sep 22 2007 20:09 Sort the bookmarks alphabetically 
spacer.x  Oct 28 2011 15:10 Split words within the marked text at uppercase boundaries by inserting a space 
spread.x  Aug 06 1998 08:08 Add the specified number of lines to the display. 
stdin.x  Apr 12 2000 22:04 Read lines from STDIN into the current file. 
sum.x  Sep 11 1997 08:09 Insert sum at bottom of column of marked data 
superc.x  Dec 23 1994 08:12 Process output from the SUPERC program 
table.x  Oct 25 2002 21:10 Line up rows of data neatly. 
tags.x  Jun 04 2005 19:06 Jump to function definition (requires exuberant ctags) 
btags.x  Jun 04 2005 19:06 Enhanced version of tags.x 
today.x  Feb 02 1996 09:02 Put today's date into the file using mm/dd/yy format 
totlines.x  Feb 26 1996 05:02 Calculate the total number of lines in the edit environment. 
ttedit.x  Jun 06 2000 04:06 Edit synonym to handle input piped from stdin 
underl.x  Nov 19 1997 10:11 Underline the current line of text 
updxhlp.x  Nov 08 2002 14:11 UPDate X.HLP (by reading xprofile.add) 
ws.x  Oct 23 2002 09:10 Interface to the Wordsmyth site 
xConfig.x  Jan 10 2008 15:01 Dynamically generate X2 help file with current file keys 
xeainfo.cmd  Nov 10 1999 00:11 Remove old entries from XEAINFO.DTA 
xdir.x  Apr 07 2008 19:04 Show a directory in a window 
xglobalv.x  Oct 25 2002 21:10 Maintain 'REGISTRY'/'CONFIG.SYS'/'GLOBALV' type variables 
xl.x  Feb 08 1996 04:02 Dir into current file at line after cursor 
xt.x  Nov 02 1996 18:11 Test an Extract setting. Useful when writing macros. 
xtoHTML.x  Sep 18 2000 21:09 X2 To Html Conversion tool