// ===============================================================================
// -*- DATA:INI:EDT -*-
//
// WinEdt Status Bar
//
// ===============================================================================

[BUILD]

REQUIRES=20140416

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

[STATUS_BAR]

// The following macro functions can be used for manipulating Status Bar
// and its (custom) panels:
//
//   UpdateStatus;
//   ShowStatusLine(Visible: -1..1);
//
//   SetPanelVisible("Name", Visible: -1..1);
//   SetPanelFixedWidth("Name", Fixed: -1..1);
//   SetPanelMinString("Name", "String");
//   SetPanelMacro("Name", "Macro");
//   SetPanelCaption("Name", "Caption");
//   SetPanelColor("Name", Color);
//   SetPanelAltColor("Name", Color);
//   GetPanel("Name", Property: 0..10, Reg: -11..9);

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

VISIBLE=1

EXTRA_TEXT_SIZE=0
EXTRA_HEIGHT=0

// Colors used for displaying info in the last panel.
// RGB values are defined in the COLORS section...
DEFAULT_COLOR="slcDefault"
DEFAULT_ALT_COLOR="slcDefaultAlt"
INFO_DEFAULT_COLOR="slcInfoDefault"
INFO_WORKING_COLOR="slcInfoWorking"
INFO_CANCEL_COLOR="slcInfoCancel"
INFO_POPUP_COLOR="slcInfoPopup"
INFO_MENU_COLOR="slcInfoMenu"

// ===============================================================================
// Status Bar Panels =============================================================
// ===============================================================================
//
// Standard panels have predefined meaning and are marked with a comment.
// They have been optimized for fast updating.
// You can change their position or properties (eg. visibility, color, or
// minimal width) but do not change their name or else they will no longer
// work properly (as standard panels with predefined function)!
//
// Panels appear in the order that they are listed below.
// All standard panels are defined here!
// Custom Panels can be added anywhere you may want to see them...
// Their names have no predefined meaning (they can be used in macros)!
//
// Custom Panel Example (can be inserted anywhere) and it can be
// manipulated with macro functions:
//
// PANEL="Custom Info"
//   // Custom Panel: Example
//   // Hint: Use Variables or Global Registers for Captions in Custom Panels!
//   VISIBLE=0
//   FIXED_WIDTH=0
//   MIN_WIDTH="Min Width String"
//   CAPTION="%$(!'Custom Info Panel Caption');"
//   MACRO="[Exe('%b\Exec\Custom Panel Click.edt');]"
// END="Custom Info"
//
// ===============================================================================

PANEL="Status Bar Help"
  // Custom Panel
  VISIBLE=1
  FIXED_WIDTH=1
  MIN_WIDTH="?"
  CAPTION="?"
  MACRO="HTMLHelp('%B\Doc\Help\WinEdt.chm',1,0,'WinEdt/Status Line.html#page_top');"
  TEXT_COLOR="slcHelp"
END="Status Bar Help"

PANEL="Document View"
  // Standard Panel
  VISIBLE=1
  FIXED_WIDTH=1
  MIN_WIDTH="A"
  CAPTION="A|B"
  MACRO="ChangeView(2,0,0);"
  TEXT_COLOR="slcViewA"
  ALT_TEXT_COLOR="slcViewB"
END="Document View"

PANEL="Document Position"
  // Standard Panel
  VISIBLE=1
  FIXED_WIDTH=0
  MIN_WIDTH="9999999:999"
  //CAPTION="%!l:%c"
  MACRO="GoToLine;"
  TEXT_COLOR="slcPosition"
  ALT_TEXT_COLOR="slcPositionDragging"
END="Document Position"

PANEL="Document Lines"
  // Standard Panel
  VISIBLE=1
  FIXED_WIDTH=0
  MIN_WIDTH="9999999"
  //CAPTION="%!L"
  MACRO="ShowLineNumbers;"
  TEXT_COLOR="slcLines"
END="Document Lines"

PANEL="Document Status"
  // Standard Panel
  VISIBLE=1
  FIXED_WIDTH=0
  MIN_WIDTH="Readonly"
  CAPTION="|New|Modified|Readonly"
  MACRO="DocumentSettings(4);"
  TEXT_COLOR="slcStatus"
  ALT_TEXT_COLOR="slcStatusAlt"
END="Document Status"

PANEL="Document Wrap"
  // Standard Panel
  VISIBLE=1
  FIXED_WIDTH=1
  MIN_WIDTH="Wrap"
  // The last two strings are used when Block mode is on!
  CAPTION="Wrap|Wrap|X|X"
  MACRO="SetWrap;"
  TEXT_COLOR="slcWrap"
  ALT_TEXT_COLOR="slcToggleOff"
END="Document Wrap"

PANEL="Document Indent"
  // Standard Panel
  VISIBLE=1
  FIXED_WIDTH=1
  MIN_WIDTH="Indent"
  CAPTION="Indent|Indent"
  MACRO="SetIndent;"
  TEXT_COLOR="slcToggleOn"
  ALT_TEXT_COLOR="slcToggleOff"
END="Document Indent"

PANEL="Document Insert"
  // Standard Panel
  VISIBLE=1
  FIXED_WIDTH=1
  MIN_WIDTH="Over"
  CAPTION="INS|Over"
  MACRO="SetInsert;"
  TEXT_COLOR="slcToggleOn"
  ALT_TEXT_COLOR="slcToggleOdd"
END="Document Insert"

PANEL="Document Selection"
  // Standard Panel
  VISIBLE=1
  FIXED_WIDTH=1
  MIN_WIDTH="Block"
  CAPTION="LINE|Block"
  MACRO="SetBlock;"
  TEXT_COLOR="slcToggleOn"
  ALT_TEXT_COLOR="slcToggleOdd"
END="Document Selection"

PANEL="Document Spell"
  // Standard Panel
  VISIBLE=1
  FIXED_WIDTH=1
  MIN_WIDTH="Spell"
  CAPTION="Spell|Spell"
  MACRO="SetSpell;"
  TEXT_COLOR="slcSpell"
  ALT_TEXT_COLOR="slcToggleOff"
END="Document Spell"

PANEL="Document Mode"
  // Standard Panel
  VISIBLE=1
  FIXED_WIDTH=0
  MIN_WIDTH="TeX:US:DE:Soft:UNIX"
  //CAPTION="%!m"
  MACRO="DocumentSettings(1);"
  TEXT_COLOR="slcModeDefault"
  ALT_TEXT_COLOR="slcModeOther"
END="Document Mode"

PANEL="Document Encoding"
  // Standard Panel
  // Possible Values:
  //   UTF-8
  //   UNI    (Windows Unicode 16-bit characters)
  //   UNI-BE (Unicode 16-bit characters - Big Endian)
  //   ACP    (Default Ansi Code Page CP0)
  //   OEM    (Default OEM  Code Page CP1)
  //   CP<code page index> (Custom Code Page)
  // * at the end of encoding format indicates presence of Unicode BOM!
  // Values other than UTF-8 (without BOM) are displayed in alternative color.
  VISIBLE=1
  FIXED_WIDTH=0
  MIN_WIDTH="!CP 1252"
  //CAPTION="%!e"
  MACRO="DocumentSettings(6);"
  TEXT_COLOR="slcEncodingUTF8"
  ALT_TEXT_COLOR="slcEncodingOther"
END="Document Encoding"

PANEL="Source Specials"
  // Custom Panel for TeX source specials and SyncTeX!
  // This one is set by macro (configuration-dependent)
  // For example MiKTeX's Load Config.edt:
  //    LetStr(0,!'--src'); // Enable SRC Specials
  //    SetPanelVisible(!'Source Specials',1);
  //    UpdateStatus;
  // Do not rename this panel because configuration macros use its name!
  VISIBLE=1
  FIXED_WIDTH=1
  MIN_WIDTH="--src"
  CAPTION="%0"
  MACRO="[Exe('%b\Exec\Arguments.edt');]"
  TEXT_COLOR="slcSrc"
END="Source Specials"

PANEL="Main File"
  // Standard Panel
  VISIBLE=1
  FIXED_WIDTH=0
  MIN_WIDTH="MAIN FILE.TEX"
  //CAPTION="%!N%!T"
  MACRO="Open('%F');"
  TEXT_COLOR="slcMainFile"
  ALT_TEXT_COLOR="slcMainFileActive"
END="Main File"

PANEL="Project File"
  // Standard Panel
  // Invisible if you are working on default project WinEdt.prj.
  // If this is undesirable behavior change CAPTION to "%!n%!t"!
  VISIBLE=1
  FIXED_WIDTH=0
  MIN_WIDTH="WINEDT.PRJ"
  //CAPTION="%!n%!t"
  MACRO="ProjectManager;"
  TEXT_COLOR="slcProject"
  ALT_TEXT_COLOR="slcProjectAlt"
END="Project File"

// ===============================================================================
// Custom Panels (included for compatibility with older versions of WinEdt)
// ===============================================================================

// PANEL="Date"
//   // Custom Panel for Date (not used in defaults)
//   VISIBLE=1
//   FIXED_WIDTH=1
//   MIN_WIDTH="Wed  22-MAR-2222"
//   CAPTION="%[!|GetDate(-10,!'ddd d-mmm-yyyy');|];%-0"
//   MACRO="[SetSel(0);GetDate(-9,!'dddd, mmmm d, yyyy h:nn am/pm');"+
//         "BeginGroup;InsText('%-9');EndGroup;]"
// END="Date"
//
// PANEL="Time"
//   // Custom Panel for Time (not used in defaults)
//   VISIBLE=1
//   FIXED_WIDTH=1
//   MIN_WIDTH="00::00"
//   CAPTION="%[!|GetDate(-10,!'hh:nn');|];%-0"
//   MACRO="[SetSel(0);GetDate(-9,!'h:nn am/pm');"+
//         "BeginGroup;InsText('%-9');EndGroup;]"
// END="Time"
//
// PANEL="Info"
//   // Custom Panel (not used in defaults)
//   // Included for compatibility with older versions of WinEdt!
//   // This panel used to be manipulated with (legacy) macros:
//   // SetInfoVisible();
//   // SetInfo();
//   // New macros give more control over its properties...
//   VISIBLE=0
//   FIXED_WIDTH=1
//   MIN_WIDTH="MATH MODE"
//   CAPTION="Info*"
// END="Info"
//
// PANEL="Info A"
//   // Custom Panel (not used in defaults)
//   // Included for compatibility with older versions of WinEdt!
//   // This panel used to be manipulated with (legacy) macro:
//   // SetPanelA();
//   // New macros give more control over its properties...
//   VISIBLE=0
//   FIXED_WIDTH=1
//   MIN_WIDTH="Info A"
//   CAPTION="A*"
// END="Info A"
//
// PANEL="Info B"
//   // Custom Panel (not used in defaults)
//   // Included for compatibility with older versions of WinEdt!
//   // This panel used to be manipulated with (legacy) macro:
//   // SetPanelB();
//   // New macros give more control over its properties...
//   VISIBLE=0
//   FIXED_WIDTH=1
//   MIN_WIDTH="Custom Info B"
//   CAPTION="B*"
// END="Info B"

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

[END]
