// ===============================================================================
// -*- DATA:INI:EDT -*-
//
// WinEdt Wrapping Options
//
// ===============================================================================

[BUILD]

REQUIRES=20131017

// ===============================================================================

[WRAPPING]

// This property can be toggled for each document by clicking on the
// Wrap Panel in the status line...
// Wrapping is by default on:
ENABLE_WRAPPING=1
WRAPPING_MODE_FILTER="TeX;HTML;ANSI;ASCII|DTX;INS;STY;AUX;EDT;INI"

// Soft Wrapping (like Notepad)
// If you don't want TeX Documents to be treated
// in Soft Mode remove TeX; from the filter!
SOFT_WRAPPING=1
SOFT_WRAPPING_MODE_FILTER="TeX;HTML;ANSI;Soft|DTX;INS;STY;AUX;Hard"

// For those that know how to use it...
SEMISOFT_WRAPPING=1
SEMISOFT_WRAPPING_MODE_FILTER="XS|UNIX;PC"

// Fixed Right Margin
RIGHT_MARGIN=78

// Right Margin Constraint when FIXED_RIGHT_MARGIN=0
// When set to 1 fixed right margin is still used
// as long as the window is large enough
// This property is ignored when fixed right margin is enabled!
CONSTRAINED_RIGHT_MARGIN=0

// Soft Wrapping Options
// Change to FIXED_RIGHT_MARGIN=1 if you don't want to
// use the size of the Window to determine Right Margin
FIXED_RIGHT_MARGIN=0
WRAP_AND_UNWRAP=1
REFORMAT_ON_RESIZE=1 // Ignored for Fixed Right Margin!

INDENTED_SOFT_WRAPPING=1 // Indent the whole Paragraph?
SHOW_LINE_BREAKS=0
SHOW_LINE_BREAKS_UNWRAPPED=0

// Wrap Comments in Soft Mode?
WRAP_SOFT_COMMENTS=1

// Break Lines even if Wrapping is turned off?
PERSISTENT_LINE_WRAPPING=0

// Undo information:
GROUP_UNDO=0
GROUP_UNDO_SOFT=1

// Comments, Smart Wrapping Break Strings, etc...
// Environments can be used to specify advanced formatting
// rules that apply within environments (in addition to rules below).
SMART_WRAP_SET="TeX"
  ENABLED=1
  MODE_FILTER="TeX"
  CONTROL_STRING="\"
  COMMENT="%"
  HARD_BREAK="%%"
  LINE="\\>"
  LINE="\\[?"
  // Lines that start with any of these will not be formatted:
  PAR="\page{"
  PAR="\begin"
  PAR="\end"
  PAR="\par"
  PAR="\good"
  PAR="\bigskip"
  PAR="\medskip"
  PAR="\smallskip"
  PAR="\renew"
  PAR="\new"
  PAR="\def"
  PAR="\let"
  PAR="\use"
  PAR="\doc"
  PAR="\input"
  PAR="\INPUT"
  PAR="\Input"
  PAR="\include"
  PAR="\book"
  PAR="\addpart"
  PAR="\chapter"
  PAR="\addchap"
  PAR="\section"
  PAR="\addsec"
  PAR="\subsection"
  PAR="\subsubsection"
  PAR="\minisec"
  PAR="\appendix"
  PAR="\preface"
  PAR="\title"
  PAR="\author"
  PAR="\address"
  PAR="\thanks"
  PAR="\date"
  PAR="\bibliography"
  PAR="$$"
  PAR="\["
  PAR="\]"
  PAR="\\"
  PAR="//"
  PAR="___"
  PAR="==="
  PAR="---"
  PAR="*** "
  PAR="* "
  PAR=""
  PAR=">"

SMART_WRAP_SET="TeX Alt"
  ENABLED=0 // Not Used...
  MODE_FILTER="TeX"
  CONTROL_STRING="\"
  COMMENT="%"
  HARD_BREAK="%%"
  LINE="\\>"
  LINE="\\[?"
  // Lines that start with \ will not be formatted:
  PAR="\"
  // Except for:
  EX="\cite"
  EX="\ref"
  EX="\$"
  EX="\#"
  EX="\%"
  EX="\emph"
  EX="\textbf"
  EX="\textit"
  EX="\textrm"
  EX="\texttt"

SMART_WRAP_SET="TeX Companions"
  ENABLED=1
  MODE_FILTER="BibTeX;MetaPost;MetaFont;BST;IST"
  CONTROL_STRING="\"
  COMMENT="%"

SMART_WRAP_SET="NSIS"
  ENABLED=1
  MODE_FILTER="NSIS"
  COMMENT=";"

SMART_WRAP_SET="INI"
  ENABLED=1
  MODE_FILTER="EDT;INI;C|XWE"
  COMMENT="//"

SMART_WRAP_SET="ASCII"
  ENABLED=1
  MODE_FILTER="ASCII"
  PAR="\"
  PAR="//"
  PAR="___"
  PAR="==="
  PAR="---"
  PAR="*** "
  PAR="* "
  PAR=">"

// ===============================================================================

[END]
