What's New?
WinEdt 7.1 is now the official version of the program. Below you will find the changes log pertaining to the latest version and build of WinEdt...
* WinEdt News.txt
Last modified on Monday, January 21, 2013 13:28
__________________________________________________________________
WinEdt 7 is a Unicode (UTF-8) text editor built on WinEdt 6
sources and compiled with Delphi XE.
UPGRADING ISSUES:
=================
WinEdt 7 is installed parallel to WinEdt 6 or 5 and you can
continue to use an older version of WinEdt and possibly uninstall
WinEdt 7 if you prefer the old version.
IMPORTANT: If you already have WinEdt 5.x or 6 on your system you
cannot import your old settings directly into WinEdt 7! Most
Configuration (*.ini) files from WinEdt 6 can be loaded into
WinEdt 7 after minor modifications (with a few exceptions that
affect Unicode and Language functionality). "Changes to
Configuration Keywords" below explains what has been changed...
Upgrading WinEdt 7 series from here on will be easy since your
local settings are preserved during upgrades. Transition from
WinEdt 5, however, does require some manual work if you want to
customize WinEdt 7. But then again, WinEdt 7 can do many things
that WinEdt 5 (and even WinEdt 6) cannot!
REGISTRATION: WinEdt 7 series uses the same Registration Data as
WinEdt 6. You will, however, have to enter the data (Name and
Code) again in the Registration Dialog of WinEdt 7. WinEdt 5 users
will have to pay an upgrade fee if they want to register WinEdt 7
(see www.winedt.com for details).
------------------------------------------------------------------
WinEdt 7 [Build 20130125 (v. 7.1)]
==================================
- WinEdt 7.1 is compiled with the latest Delphi XE3 and extensively
tested and optimized for Windows 8 64-bit platform...
- There are now 32 and 64-bit versions of WinEdt 7.1. Users with
64-bit Windows can install either. Configurations and functionality
of both versions are identical. The only difference is that
WinEdt.exe is compiled as a native 32-bit or 64-bit Windows
application, respectively. In the long run all applications will
use a 64-bit platform but currently 32-bit applications run well on
64-bit Windows and not all applications offer a stable 32-bit
version yet...
- New macros to detect Windows version and 32/64 bit platform:
IfWinEdt64("Then","Else");
IfWin64("Then","Else");
GetWinVersion(MajorVersion: 0..9, MinorVersion: 0..9);
- Updated Adobe.edt that takes more care of the differences between
Adobe Reader and Acrobat (tested with Reader 7, 8, 9, X, and XI,
and with Acrobat Pro 9, X, and XI)
- Improved PDF macros for SumatraPDF
- Keywords have been updated for MetaPost 1.780...
- Macro function SetInitLang has been removed. It does nothing in
Unicode version of WinEdt and has not been used since WinEdt 6...
- A few minor bug fixes and numerous improvements to the default
settings...
------------------------------------------------------------------
WinEdt 7 [Build 20121130 (v. 7.0)]
==================================
- Extensive flickering when changing any system settings has been
eliminated. The effect was particularly noticeable on Windows 8 and
could cause other Windows to flicker as well.
- A bug with Compile Selected Text macro has been fixed: the macro
did not work when the current or the main document did not contain
a preamble.
------------------------------------------------------------------
WinEdt 7 [Build 20121113 (v. 7.0)]
==================================
- Auto-detection of the MiKTeX or TeX Live configuration has been
slightly improved (in case the user switches from one to the other
TeX system and leaves it to auto-detection to load the right
configuration).
- Some TeX Input Directives now contain only
EXTENSION=".tex"
instead of
EXTENSION=".;.tex"
Since TeX always adds ".tex" extension this prevents wrong file in
WinEdt's project tree in case when both file.tex and file (without
extension) exist (not a good practice but anyway)...
- WinEdt can now display the current line in a readonly Unicode
Preview edit control positioned under the document tabs. Preview
control cannot be edited and it cannot receive focus. Selected text
(character) will appear selected in the preview as well. This makes
it easy to spot any unwanted unicode characters that might have
been accidentally pasted in your text.
- A new macro function has been introduced to control visibility of
the preview control:
ShowUnicodePreview(Visible: -1..1);
By default the View menu contains an item Unicode Preview that
toggles visibility of this control.
- In Unicode configuration section it is now possible to list the
Ranges of Unicode Characters that you deem admissible in your
documents. These characters will be displayed as are in the Unicode
Preview edit control. All other characters will be displayed as
U+HEX. Use Character Map to see what values are acceptable for your
documents...
Defaults look like:
PREVIEW_LINE_TERMINATORS=0
ADMISSIBLE_CHARACTERS="END_LIST"
// 9 // Allow Tab Characters?
32-127
161-382
END_LIST
- RegEx extension \u matches any unicode character that is not
listed above. This can come handy if you want to ensure that your
document(s) don't contain any unicode (possibly invisible)
characters that could cause problems with a compiler such as TeX
but are very hard to spot in the editor. Furthermore, Greek or
Cyrillic letter A looks the same as the Latin one but it has a
different unicode value and TeX will complain about it!
- Unicode section of the Preferences Dialog now also allows
specification of the Unicode Character Set Range for Regular
Expressions. In previous builds this settings could only be
adjusted through the Unicode section of the Options Interface.
It is not necessary to increase this range in order to spot
unicode characters beyond the range when they are specified as
a special \u RegEx set.
- A bug with case insensitive search and UNICODE characters (>127)
has been fixed. WinEdt now correctly matches characters like Ж ж...
------------------------------------------------------------------
WinEdt 7 [Build 20120704 (v. 7.0)]
==================================
- A bug with non-modal Incremental Search dialog not working has
been fixed.
- Occasional AV when closing documents by double-clicking on their
tab has been fixed.
- A bug when printing highlighted text has been fixed (custom color
persisted when a text highlighted with default color followed).
This only affected printing from WinEdt.
- WinEdt Synctex macros now work properly when synctex file have
CR+LF format (a recent change in MiKTeX). Previously the macros
assumed that the file is in UNIX format (as it should have been)...
- WinEdt can now properly render Thai unicode text (with
non-spacing marks). Basic support for Thai does not include kerning
or word boundaries (a notorious problem with Thai language) and it
is limited to Windows API support for this language (which is not
perfect). Even so plenty of exceptions had to be handled in order
to provide reasonably good Thai text rendering on the screen...
- Selections now allow specifying background color while preserving
highlighted text. Documentation explains how...
- Screen refreshing with CJK characters has been optimized and is
now faster.
- A few minor refresh oddities have been fixed...
------------------------------------------------------------------
WinEdt 7 [Build 20120423 (v. 7.0)]
==================================
- A problem with WinEdt inserting an unwanted character in a
document if the compilation was started with a shortcut (such as
Shift+Ctrl+P) has been fixed. The problem affected some users on
some computers (sometimes) and was not 100% reproducible
(depending on the focus shift of WinEdt's Console during the
compilation).
- WinEdt now properly positions message boxes in secondary
monitors with negative offset (not a commonly encountered
situation).
- Exit handler now performs a fast cleanup to prevent users from
accumulating unnecessary local configuration and macro scripts
(without having to perform the Maintenance -> Cleanup Command).
- SetTracking macro has an extra parameter to control screen
refreshing (and updating of global switches). Help explains what
it does and how to use it...
------------------------------------------------------------------
WinEdt 7 [Build 20120413 (v. 7.0)]
==================================
- A display refresh oddity with fonts that have zero top offset
(such as Lucida Console or some CJK characters) has been fixed.
- Improved (and well tested) Upgrade and Rollback commands have
now been added to the Maintenance Menu. They help maintain
personal configurations by merging them with the new defaults.
They will be maintained in order to upgrade from the first to the
latest (official) build of WinEdt 7 (Karl promised to keep them
up-to-date)...
- Options -> Configurations menu has been slightly redesigned. The
Default configuration now auto-detects TeX System (MiKTeX or TeX
Live); it also includes HTML and NSIS support. The rest of the
configurations can be selected if you are using WinEdt for a
particular task with specialized accessories (or if auto-detection
of your TeX System fails). When upgrading to this build you should
execute the configuration of your choice and from here on this
configuration (including any modifications in Execution Modes)
will be preserved when you are upgrading or performing any
Maintenance commands. MiKTeX and TeX Live are now "symmetric" and
there is no preferred TeX System in WinEdt's default
configuration. If you have both MiKTeX and TeX Live installed
auto-detect will choose the first one on your PATH (if that is not
your choice it is easy to switch to one or the other by executing
the appropriate configuration). Execution Modes and the last page
of the Preferences Dialog displays your current configuration.
Extended configuration MiKTeX+HTML+NSIS or TeX Live+HTML+NSIS are
defined as Defult:MiKTeX and Default:TeX Live, respectively (as
opposed to the basic MiKTeX and TeX Live configurations).
- The first page of the Wizard now has button to Run WinEdt as
Administrator (elevated privileges with UAC). While it is neither
necessary nor recommended to have elevated privileges while using
WinEdt they may be temporarily required for some administrative
tasks (such as modifying filetype associations in HKCR,
configuring the License Monitor, or registering WinEdt for all
users) on Windows with UAC...
------------------------------------------------------------------
WinEdt 7 [Build 20120329 (v. 7.0)]
==================================
- WinEdt 7 can now load WinEdt 6 project (prj) files. Beware,
however, that after they are saved from WinEdt 7 they can no
longer be loaded in older versions!
- A problem with WinEdt updating skd files after the registration
is entered has been fixed. The problem seriously impeded network
registrations. Of course, it goes without saying that on Windows
with UAC WinEdt must be started with elevated privileges in order
to be allowed to update its skd file!
- MiKTeX Maintenance definitions in WinEdt's Main Menu have been
modified so as to tolerate forward slashes in MiKTeX's Bin folder
specifications that are put on the PATH by some versions of MiKTeX
(this is supposed to be fixed by the latest MiKTeX installer).
- A few minor changes to macros called from the Wizard (mostly
uninstall and unregister issues -- not likely encountered by many
users).
- Options interface now provides a link to more macros (for
advanced users that need to customize WinEdt beyond basics): not
intended for the "faint of heart"...
------------------------------------------------------------------
WinEdt 7 [Build 20120321 (v. 7.0)]
==================================
- Uninstaller no longer removes (non-empty) HKCU\Software\WinEdt
key which resulted in WinEdt 5.x "loosing" its custom settings if
WinEdt 7 was uninstalled and this key was removed...
- Default values of WinEdt-specific switches for silent install
and uninstall have been modified so as to be compatible with the
previous silent (un)install behavior...
------------------------------------------------------------------
WinEdt 7 [Build 20120317 (v. 7.0)]
==================================
- All Strings in WinEdt 7 are made of unicode (16-bit wide)
characters. Unicode is WinEdt's internal format for working with
all files. However, WinEdt 7 is perfectly capable of handling Ansi
or OEM (code-page specific) files as well. See CP Converter in
Documents Settings Dialog and the [UNICODE] configuration section
of the Options Interface for details!
- Numerous (minor and major) improvements to the default settings,
support for extra functionality, etc... (too many to mention) has
been implemented over the last two years while working on WinEdt
7.
- Find and Find in Files are now two different dialogs (Ctrl+F and
Shift+Ctrl+F).
- A Preferences dialog has been introduced to provide an interface
to the most commonly performed customizations (for users that are
intimidated by Configuration sections). Check the Help in that
dialog!
- Brand new documentation (F1 - take a quick tour). Everything has
been updated!
- Changes to Configuration Keywords:
Documentation now includes a brand new Configuration Manual. It
explains everything you should know about customizing WinEdt. The
Help button in the Options Interface toolbar produces help on the
selected branch: try it (read at least front page and
Introduction)!
A few properties have been removed or moved to other sections and
a few others have been renamed (for consistency's sake). If you
try to load an old configuration file you will get an error when
such keywords are encountered. You will have to correct them and
in some cases a global replace will be required within a section.
It may take some time (an hour or so) to import your old settings
but in the process you will probably improve a few things in your
customizations (as you learn more).
Below is a summary of changes (compare your custom script with the
defaults and check the documentation to see how the new properties
are used):
[UNICODE]
This section has changed (as should be expected for the unicode
version of WinEdt). Forget about the old one and configure new one
from scratch...
[LANGUAGE]
The same as for [UNICODE] section.
[AUTO_SAVING]
Replacement (typo):
ALTERNATION_SAVE -> ALTERATION_SAVE
[INPUT_DIRECTIVES]
Replacement:
MODE -> MODE_FILTER
This is new:
MAIN_ICON
[NAVIGATION_BAR]
Replacements:
BRANCH_MODE -> BRANCH_MODE_FILTER
BRANCH_BEFORE_BUILD -> BRANCH_BEFORE_BUILD_MACRO
BRANCH_AFTER_BUILD -> BRANCH_AFTER_BUILD_MACRO
MODE -> MODE_FILTER
ON_CTRL_CLICK -> ON_CTRL_CLICK_MACRO
ON_CTRL_DBL_CLICK -> ON_CTRL_DBL_CLICK_MACRO
ON_SHIFT_CLICK -> ON_SHIFT_CLICK_MACRO
ON_SHIFT_DBL_CLICK -> ON_SHIFT_DBL_CLICK_MACRO
ON_ALT_CLICK -> ON_ALT_CLICK_MACRO
ON_ALT_DBL_CLICK -> ON_ALT_DBL_CLICK_MACRO
ON_CLICK -> ON_CLICK_MACRO
ON_DBL_CLICK -> ON_DBL_CLICK_MACRO
ON_ICON_CTRL_CLICK -> ON_ICON_CTRL_CLICK_MACRO
ON_ICON_CTRL_DBL_CLICK -> ON_ICON_CTRL_DBL_CLICK_MACRO
ON_ICON_SHIFT_CLICK -> ON_ICON_SHIFT_CLICK_MACRO
ON_ICON_SHIFT_DBL_CLICK -> ON_ICON_SHIFT_DBL_CLICK_MACRO
ON_ICON_ALT_CLICK -> ON_ICON_ALT_CLICK_MACRO
ON_ICON_ALT_DBL_CLICK -> ON_ICON_ALT_DBL_CLICK_MACRO
ON_ICON_CLICK -> ON_ICON_CLICK_MACRO
ON_ICON_DBL_CLICK -> ON_ICON_DBL_CLICK_MACRO
This is new:
BRANCH_CAPTION
[GATHER]
Replacements:
PAGE_MODE -> PAGE_MODE_FILTER
PAGE_BEFORE_BUILD -> PAGE_BEFORE_BUILD_MACRO
PAGE_AFTER_BUILD -> PAGE_AFTER_BUILD_MACRO
PAGE_ON_ACTIVATE -> PAGE_ON_ACTIVATE_MACRO
PAGE_ON_SHOW -> PAGE_ON_SHOW_MACRO
MODE -> MODE_FILTER
ON_CTRL_CLICK -> ON_CTRL_CLICK_MACRO
ON_CTRL_DBL_CLICK -> ON_CTRL_DBL_CLICK_MACRO
ON_SHIFT_CLICK -> ON_SHIFT_CLICK_MACRO
ON_SHIFT_DBL_CLICK -> ON_SHIFT_DBL_CLICK_MACRO
ON_ALT_CLICK -> ON_ALT_CLICK_MACRO
ON_ALT_DBL_CLICK -> ON_ALT_DBL_CLICK_MACRO
ON_CLICK -> ON_CLICK_MACRO
ON_DBL_CLICK -> ON_DBL_CLICK_MACRO
ON_ICON_CTRL_CLICK -> ON_ICON_CTRL_CLICK_MACRO
ON_ICON_CTRL_DBL_CLICK -> ON_ICON_CTRL_DBL_CLICK_MACRO
ON_ICON_SHIFT_CLICK -> ON_ICON_SHIFT_CLICK_MACRO
ON_ICON_SHIFT_DBL_CLICK -> ON_ICON_SHIFT_DBL_CLICK_MACRO
ON_ICON_ALT_CLICK -> ON_ICON_ALT_CLICK_MACRO
ON_ICON_ALT_DBL_CLICK -> ON_ICON_ALT_DBL_CLICK_MACRO
ON_ICON_CLICK -> ON_ICON_CLICK_MACRO
ON_ICON_DBL_CLICK -> ON_ICON_DBL_CLICK_MACRO
This is new:
PAGE_CAPTION
These are no longer supported (they did nothing) and have to be removed:
PAGE_ON_ENTER
PAGE_ON_CANCEL
[DOCUMENT_TABS]
Replacements:
BITMAPS_ENABLED -> IMAGES_ENABLED
BITMAP -> IMAGE
MODE -> MODE_FILTER
These are no longer supported and have to be removed:
BITMAP_HEIGHT
BITMAP_WIDTH
[GUI_PAGE_CONTROL]
Replacements:
CONFIGURATION -> CONFIG_FILTER
MODE -> MODE_FILTER
This is new:
CAPTION
These are no longer supported and have to be removed:
ALPHA_BLENDING
REFRESH
SCALE
[ENVIRONMENTS]
Replacement:
MODE -> MODE_FILTER
[PARAGRAPHS]
Replacement:
MODE -> MODE_FILTER
[TOOLBAR]
Replacement:
CONFIGURATION -> CONFIG_FILTER
These are no longer supported and have to be removed:
COOLBAR
USE_WINDOWS_TOOLTIPS
[MAIN_MENU]
Replacements:
CONFIGURATION -> CONFIG_FILTER
ENABLE_MENU_ICONS -> ENABLE_MENU_IMAGES
[POPUP_MENUS]
Replacement:
CONFIGURATION -> CONFIG_FILTER
[STATUS_BAR]
Replacements:
INFO_A_CLICK -> INFO_A_CLICK_MACRO
INFO_B_CLICK -> INFO_B_CLICK_MACRO
DATE_CLICK -> DATE_CLICK_MACRO
TIME_CLICK -> TIME_CLICK_MACRO
[FORMS]
These are no longer supported and have to be removed:
DEFAULT_CODE_PAGE
CUSTOM_FONT_CHARSET
CAPTION
[TRANSLATION_TABLES]
Replacement:
FILTER -> MODE_FILTER
These are no longer supported and have to be removed (OEM or any
other code page has to be handled in [UNICODE]):
ANSI2OEM
ANSI2OEM_FILTER
ANSI2OEM_AFTER
OEM2ANSI
OEM2ANSI_FILTER
OEM2ANSI_AFTER
[ACTIVE_STRINGS]
Replacements:
FILTER -> MODE_FILTER
ACTION -> MACRO
DBL_CLICK_FILTER -> DBL_CLICK_MODE_FILTER
DBL_CLICK_ACTION -> DBL_CLICK_MACRO
[DELIMITERS]
Replacement:
FILTER -> MODE_FILTER
This is new:
INCLUDE_COMMENTS
[ERRORS]
Replacements:
ERR_DELAY -> ESC_DELAY
FILTER -> MODE_FILTER
These are new:
ERROR_FILTER
MINIMAL_LINE_LENGTH
IGNORE_START_CHARACTERS
REGULAR_EXPRESSIONS
TYPE_FILTER
EXCEPTION
[WRAPPING]
Replacements:
WRAPPING_FILTER -> WRAPPING_MODE_FILTER
SOFT_WRAPPING_FILTER -> SOFT_WRAPPING_MODE_FILTER
SEMISOFT_WRAPPING_FILTER -> SEMISOFT_WRAPPING_MODE_FILTER
FILTER -> MODE_FILTER
[WORD_COUNT]
Replacement:
FILTER -> MODE_FILTER
[TEMPLATES]
Replacements:
MACRO1 -> BEFORE_MACRO
MACRO2 -> AFTER_MACRO
[BOOKMARKS]
Replacement:
LINE_NUMBERS_FILTER -> LINE_NUMBERS_MODE_FILTER
These are new:
BOOKMARK_IMAGE_SET
BOOKMARK_ZERO_IMAGE
LINE_NUMBER_10
LINE_NUMBER_BULLET
LINE_NUMBER_BULLET_5
These are no longer supported and have to be removed:
BOOKMARK_GROUP
CURRENT_BOOKMARK_GROUP
[DEFAULTS]
Replacement:
FILTER -> MODE_FILTER
[PREFERENCES]
Replacement:
WARNING_PROMPT_WHEN_SAVING_SELECTED_BLOCK ->
WARNING_WHEN_SAVING_SELECTED_BLOCK
This has been moved to [EDITOR_PREFERENCES]:
UNDO_BUFFER_SIZE
These have been moved to [FILE_STATUS]:
SHARE_FILE_ACCESS_WHEN_READING
SHARE_FILE_ACCESS_WHEN_WRITING
READONLY_MODIFY_WARNING
READONLY_MODIFY_BEEP
DETECT_READONLY_STATUS_ON_OPEN
DETECT_READONLY_STATUS_ON_UPDATE
ENABLE_READONLY_SOUND_ALERT
[HIGHLIGHTING_EFFECTS]
This is new:
ENVIRONMENT_BRIGHTNESS
[SELECTIONS]
These are new:
TEXT_RGB
BACKGROUND_RGB
[FILTER_SETS]
These are new:
TEXT_RGB
BACKGROUND_RGB
[SWITCHES]
Replacement:
INCLUDE_END -> INCLUDE_STOP
These are new:
DOMINANT_PRIORITY
TEXT_RGB
BACKGROUND_RGB
TRANSPARENT
[KEYWORDS]
These are new:
TEXT_RGB
BACKGROUND_RGB
[COLUMNS]
These are new:
TEXT_RGB
BACKGROUND_RGB
TRANSPARENT
[BACKGROUND_SCHEMES]
These are new:
TEXT_RGB
TRANSPARENT
[SPELLING_OPTIONS]
Replacement:
USE_CUSTOM_FONT -> CUSTOM_FONT
This is new:
MAX_SPELL_CHAR_CODE
This is no longer supported and has to be removed:
ASCII_CHARACTERS_ONLY
[MISSPELLED_WORDS]
These are new:
UNDERLINE_ENABLED
UNDERLINE_COLOR
UNDERLINE_RGB
UNDERLINE_ALPHA_OK_ENABLED
UNDERLINE_ALPHA_OK_COLOR
UNDERLINE_ALPHA_OK_RGB
TEXT_RGB
BACKGROUND_RGB
[COMPOUNDED_WORDS]
These are new:
UNDERLINE_ENABLED
UNDERLINE_COLOR
UNDERLINE_RGB
TEXT_RGB
BACKGROUND_RGB
[FONT]
This is no longer supported and has to be removed:
FONT_CHARSET
[FONT_SCHEMES]
Replacement:
MODE -> MODE_FILTER
This is no longer supported and has to be removed:
FONT_CHARSET
[SOUNDS]
This is new:
OLD_STYLE_MESSAGE_BOXES
[BACKUP]
This is new:
BACKUP_EXPIRY_PERIOD
You have to change a line like
KEEP_OLD_BACKUPS=120
in
KEEP_OLD_BACKUPS=1
BACKUP_EXPIRY_PERIOD=120
[FILE_STATUS]
These come from [PREFERENCES]:
SHARE_FILE_ACCESS_WHEN_READING
SHARE_FILE_ACCESS_WHEN_WRITING
READONLY_MODIFY_WARNING
READONLY_MODIFY_BEEP
DETECT_READONLY_STATUS_ON_OPEN
DETECT_READONLY_STATUS_ON_UPDATE
ENABLE_READONLY_SOUND_ALERT
[EDITOR_PREFERENCES]
This comes from [PREFERENCES]:
UNDO_BUFFER_SIZE
[FIND]
This is no longer supported and has to be removed:
PRESERVE_PAGE
[PRINT_FONT]
Replacement:
USE_CURRENT_DOCUMENT_FONT -> CUSTOM_FONT
This is no longer supported and has to be removed:
FONT_CHARSET
[PRINT_HEADER]
This is no longer supported and has to be removed:
FONT_CHARSET
[PRINT_LINE_NUMBERS]
These are new:
LINE_NUMBER_10
LINE_NUMBER_BULLET
LINE_NUMBER_BULLET_5
[PRINT_OPTIONS]
This is new:
PRINT_FF
It substitutes old options
IGNORE_FF -> PRINT_FF=0
DISPLAY_FF -> PRINT_FF=1
TRANSLATE_FF -> PRINT_FF=2
________________________________________________________________
- Macro manual has been updated with all changes to parameters and
description of new macro functions. Below is a brief summary of
changes to Macro functions from WinEdt 6...
- Changes to Macros:
The following macros now have extra or extended parameters
(without them they are compatible with old versions):
Exe("",""); -> Exe("","",#0..1111,"","","","","","","","","","");
ErrorLogUpdate(#0..1); -> ErrorLogUpdate(#0..1,"");
MoveFile("",""); -> MoveFile("","",#0..1,#0..1);
Chr(#-1..255,""); -> Chr(#-1..65535,"");
InsChar(#0..255); -> InsChar(#0..65535);
InsChr(#0..255); -> InsChr(#0..65535);
The following are compatible unless they used illegal flags or
out-of-bound parameters (not likely):
FindError(#-1..1,#-1..1,#-1..1,#0..9,#0..3,#0); ->
FindError(#-1..1,#-1..1,#-1..1,#-1..9,#0..3,#0..511);
IfLogErrors("","",#-1..1,#0..9,#0..3,#0); ->
IfLogErrors("","",#-1..1,#-1..9,#0..3,#0..511);
GetSyncSourceInfo("","",#1,"","","","","","",#-1..9); ->
GetSyncSourceInfo("","","",#1..99999999,"","","","","","",#-1..9);
EnterString Macro in WinEdt 6 did not work as documented
(parameter ranges in WinEdtMCR.dat were wrong). Now it does...
See Macro Manual (or use Help's Index) to see the details on
parameters...
Translation Tables now only allow index -1..7. Obscure (and pretty
useless values -7..-2) are no longer supported:
SetSort(#-1..1,#-1..1,#-1..1,#-1..1,#-7..8,#-1..1,""); ->
SetSort(#-1..1,#-1..1,#-1..1,#-1..1,#-1..7,#-1..1,"");
SortLines("",#0..111111,#-7..8,#0..9,""); ->
SortLines("",#0..111111,#-1..7,#0..9,"");
LstSort(#-1..1,#-1..1,#-1..1,#-1..1,#-7..8,#-1..1); ->
LstSort(#-1..1,#-1..1,#-1..1,#-1..1,#-1..7,#-1..1);
The same functionality but a different way of specifying extra
flags (see Help):
ApplyTranslation("",#-1..10); ->
ApplyTranslation("",#0..11,#0..9);
For consistency with other macros the first parameter for the
following macros have been changed from
#0..2 (Off,On,Toggle) to #-1..1 (Off,Toggle,On)
SetSounds(#0..2);
ShowErrorLog(#0..2,#-1..1);
ShowDocTabs(#0..2);
ShowGUIPage(#0..2);
ShowHardReturns(#0..2);
ShowStatusLine(#0..2);
ShowToolBar(#0..2);
ShowLineNumbers(#0..2);
SetInfoVisible(#0..2);
SetDateVisible(#0..2);
SetTimeVisible(#0..2);
SetLineWrap(#0..2,#0..1);
SetWrap(#0..2,#0..1);
SetInsert(#0..2,#0..1);
SetBlock(#0..2,#0..1);
SetSpell(#0..2,#0..1);
SetIndent(#0..2,#0..1);
RunPrompt macro now has only two parameters (it always executes a
macro):
RunPrompt("Caption",Custom_Font:0..1);
Deleted Code Page specific macros (they do nothing with Unicode):
SetFontCharset
GetFontCharset
SetClipboardPasteFormat
SetClipboardCopyFormat
SetUnicodeCP
GetLastPasteCP
IfFileUTF8
UTF2Ansi
Ansi2UTF
SetConsoleCharset renamed to SetConsoleCodePage
GetDocAsASCII renamed to GetDocAsString
RecordMacro renamed to ShowMacroRecorder
GetANSI2OEMTable -> removed
OEM files have to be configured through the [UNICODE]
configuration section
ConfigurationWizard -> removed
it was a duplication of WinEdtWizard( "Caption", Show_Next_Time );
GetFontAttributes macro has been removed (deemed useless and not
compatible with RGB true color specifications)... It was only used
in Options Interface Toolbar.
InsertMacro and InsertParameter macros (used in Macros Menu) have
been replaced by a universal macro InsertItem that reads data from
a file. Menu items are now
InsertItem('%B\Config\Edt\Mcr.dat','','Insert Macro',0,0);
InsertItem('%B\Config\Edt\Var.dat','','Insert %%Parameter',1,1);
Docked Forms now allow input focus (and Keyboard Interface). Extra
Parameters have been introduced to control input focus:
Focus: -1..1
-1 = Kill Focus
0 = Leave it as is
1 = Set Focus
ShowTree
ShowGather
ShowErrorLog
ShowCharacterMap
ShowCollectForm
ShowConsole
ShowAdvancedOptions
ShowMacroRecorder
Fifth parameter for AddIconItem(...) has been removed (it does
nothing in WinEdt 7). Macro "Create WinEdt Filetypes.edt" was
changed accordingly....
ExportDoc macro now writes output into a specified register rather
than directly to a file. The first parameter has been changed from
"Filename" to Register: 0..9. It is easy to use WiteFile to write
it to the file (with all unicode format options)...
Read and write macros have extra parameters to convert files (as
needed):
ReadFile("FileName", Register: 0..9,
Max_Number_of_Chars_To_Read: 0..,
unicode: 0..4, code_page: 0..);
WriteFile("FileName","String",
unicode: 0..4, code_page: 0.., bom: 0..1, "Format_FileName");
OpenOutput("FileName",
unicode: 0..4, code_page: 0.., bom: 0..1, "Format_FileName");
In most cases, omitting all unicode-specific parameters is the
right thing to do. If unicode format has to be specified, here is
how:
unicode: 0 - default (auto detect)
1 - ANSI
2 - Unicode
3 - Unicode (big endian) / reversed bytes
4 - UTF8
If Format_FileName is specified and unicode=0 then the format is
determined by the format of specified file. For example, the
format of temporary file for "compile selected" is determined by
the format of the main file "%F":
OpenOutput("%!7\_temp%!6",0,0,0,"%F"); // Open temporary TeX file
See also Unicode (UTF8) Support in Options Interface (Unicode.ini)
for more information on how to set up default formats and values
of code pages: for advanced users that want to work with
non-unicode documents (such as OEM or ANSI)...
Examples:
=========
Dictionaries in WinEdt 7 use Unicode format with BOM. How to
convert a word list from WinEdt 6 format (using Windows ANSI Code
Pages) to Unicode for WinEdt 7. In Unicode.ini you'll find the
following values for Windows Code Pages:
// 0 Windows ANSI code page (Western).
// 1 Windows OEM code page.
// 1250 Windows 3.1 Eastern European.
// 1251 Windows 3.1 Cyrillic.
// 1252 Windows 3.1 Latin 1 (US, Western Europe).
// 1253 Windows 3.1 Greek.
// 1254 Windows 3.1 Turkish.
// 1255 Hebrew.
// 1256 Arabic.
// 1257 Baltic.
// 1361 OEM Korean (Johab).
Here is how:
ReadFile("%b\Dict\English\UK.dic", 9,0,1,0);
WriteFile("%b\Dict\English\UK.dic","%!9", 2,0,1);
or
ReadFile("%b\Dict\Ru\Ru.dic", 9,0,1,1251);
WriteFile("%b\Dict\Ru\Ru.dic","%!9", 2,0,1);
or
ReadFile("%b\Dict\Greek\Greek.dic", 9,0,1,1253);
WriteFile("%b\Dict\Greek\Greek.dic","%!9", 2,0,1);
You can now open this file in WinEdt and sort it as a Dictionary
using WinEdt's Sort Lines dialog (Tools Menu). Using UNIX (LF)
terminators saves memory and speeds up loading because WinEdt
assumes that a word list is properly sorted without testing it!
Sorting can also be achieved through the Dictionary Manager
dialog...
Of course, the default dictionaries are already converted and
sorted and the rest will be made available on WinEdt.org in WinEdt
7 format. Simple users don't have to worry about such issues...
HINT: the CP Converter Page in the Document Settings dialog can
also be used to load a file in a particular code page and save it
in a different format (without using ReadFile and WriteFile macro
functions).
- New macros to provide execution summary by analyzing the log
file:
// Execution Summary for TeX:
// Test time that it takes to parse the log file...
PushTagsandRegisters;
StartWorking('Analyzing log file...');
ErrorLogUpdate; // If needed...
ProcessMessages;
StartTimer;
GetErrorCount(1, 0, 4, 3, $$000001001);
GetErrorCount(2, 0, 4, 3, $$000010100);
GetErrorCount(3, 0, 4, 3, $$000000010);
GetErrorCount(4, 0, 0, 3, $$000000001);
LetRegNum(2,%!2+%!4-%!1); // Add Filtered Warnings!
LetReg(9,'Errors: %!1, Warnings: %!2, Boxes: %!3');
GetPageCount(0,"<@{ }Output written on *(\(@{[0-9a-zA-Z]}\) page*)\.",99,0);
IfStr('%!0','','>',!"LetReg(9, '%!9, Pages: %!0');");
GetTimer(4);
StopWorking;
Prompt("%!9%\[Elapsed Time (msec): %!4]");
PopTagsandRegisters;
End;
__________________________________________________________________
WinEdt 6 [Build 20110315 (v. 6.0)]
==================================
(see History)...
------------------------------------------------------------------