WinEdt Macro Library - for text writers

The macros on this page can be useful for all kind of text editing.

To get a longer description and detailed installation instructions, click on the name of the macro.

The macros are tested -- probably written -- with the specified version of WinEdt. Some macros come in bundles as a zipped file.

If you don't know how to run or install macros, you should read this first.

Should you encounter problems with a macro, please contact the author of the macro.

  Name Description WinEdt version Last
  setMode The simple complement to GetMode.edt: Puts the mode's definition in the first line. 5.1-5.625.11.03
  ActivePopups Macro to initialize active strings based on a configuration file. If desired, the active string may trigger popup menus. 614.04.10
  abbrv Manages user-defined abbreviations 5.0-5.623.06.05
  complete Completes words or phrases from the current file 6, 5.3-5.613.11.01
  completeWord Completes words or phrases from the current file (showing a list of possible completions) 6, 5.3-5.615.10.03
  smartQuote2 Inserts (single or double) quotes depending on the document's mode. 6, 5.3-5.617.04.10
  ToggleComment Block un/comment lines containing the selected text 7, 615.04.12
  simplegrep Calls WinEdt's Find Dialog and outputs all lines that contain the specified string to a file 5.1-5.313.11.01
  allwords Produces a file containing all words of a file (useful for indexing) 6, 5.2-5.621.11.01
  envReplace Replaces strings in a specified environment only (e.g. $...$) 5.2-5.611.11.01
  fill Formats a paragraph in block mode by filling the spaces 6, 5.3-5.628.11.01
  insertfilename Browses for a file and insert its path and name 6, 5.2-5.606.09.01
  getRelativeFilePath Browses for a file and insert its name and relative path 5.3-5.615.04.02
  insertTemplate Insert a template file, keeping indentation relative to cursor position 5.3-5.621.04.02
  continueComment Continues comment lines using the current line as a model 5.3-5.616.10.02
  isbn / issn Assist in inserting ISBN and ISSN numbers into any document (checking whether they are valid) 6, 5.3-5.627.08.02
  importBookmarks Import Bookmarks for a file from another project 5.313.11.01
  RCScompare Compares a document to its last version from the RCS repository within WinEdt. (Requires a Revision Control System, like CS-RCS.) 5.3-5.623.12.04
  SelectFromTOC Select sectional unit in the text via the TOC tree 5.4-5.618.12.06

Sort by


Contributions of macros are always welcome.
Actually, The WinEdt Macro Library lives off the contributions (your contributions!)!

So, whenever you think that you have written a macro that could be useful to more people than just you, don't wait to submit it.

Read this, if you have decided to contribute or think about it.

WinEdt Macro Library:  |   WinEdt  |   text  |   LaTEX  |   HTML  |   program  |   macro