- General Changes
- Changes in
SyntaxDefinition.xml
- Changes in
RegexSymbols.xml
- Changes in
Info.plist
- Changes in Mode Scripts
- Minimalist Update
Be sure to check out the Mode Documentation for all the changes and additional features that are part of the SEE4 mode:
ℹ️ SubEthaEdit 4 Mode Documentation
On the inside modes have changed quite a bit, so we changed the file-extension from .mode
to .seemode
so they don't get confused, and don't mess up with modes made for Panic's excellent Coda.
The basic file layout inside the .seemode
bundles however has stayed the same, so you can just rename the .mode
bundles and then go on to update the contained files from there.
Changes in SyntaxDefinition.xml
ℹ️ Style Sheet Scopes Documentation
<default>
, <state>
, <keywords>
tags for mode independent style sheets:
▶️ Add ascope
attribute▶️ Removebackground-color
,color
,font-style
,font-weight
,inverted-background-color
,inverted-color
attributes.
<default>
state.
indent
attribute to your states for indentation support.
<autoend>
to your states to support programmatically closing the current state.
Changes in RegexSymbols.xml
If the image is a custom image and part of the mode bundle nothing has to change. It is however possible to add resoulution specific image assets or replace the custom image with a generated image specified in the symbol
attribute.
Of the built in images only SymbolWarn
is still supported. With the others it is easiest to replace the image
attribute with its symbol
counterpart which generates an image for you. The <symbol>
documentation describes how to further customize the result. You could also add custom images instead.
old: <symbol id="Foo" image="SymbolM">
new: <symbol id="Foo" symbol="M">
Changes in Info.plist
SEEMinimumEngineVersion
to at least 4.0.
TCMModeExtensions
and TCMModeNewFileTemplate
and add a ModeSettings.xml
instead.
CFBundleGetInfoString
with NSHumanReadableCopyright
.
Changes in Mode Scripts
ℹ️ Updated Scripting Suite Reference (TODO)
- Insert Hex Color is now a built in script available for all modes
- Close tag/block scripts can now be replaced by
<autoend>
information inSyntaxDefinition.xml
- support for closing a state is now built into the mode states
Most of the AppleScripts need to be ajusted. Some of the Properties on the document now work slightly different, and sandboxing might prevent you from doing something that worked before.
shortdisplayname
, toolbartooltip
, toolbaricon
, indefaulttoolbar
from seescriptsettings()
of your scripts.
toolbaricon
files.
Updating a mode partially can be a quick solution in times of need but is not recommended.
This is the bare minimum:
<default>
, <state>
, <keywords>
tags for mode independent style sheets by adding a scope
attribute
SEEMinimumEngineVersion
to 4.0.