Most excellent! I think I'll like this. If it works out for Docbook
I'll recommend to staff and buy some XMLEditor Pro licenses for your
work.
Note that the path for default bindings should be:
~/.xxe2/config
Cheers,
Peter
On Wednesday, September 10, 2003, at 03:09 AM, Hussein Shafie wrote:
> Peter Burkholder wrote:
>> I'm trying to evaluate XXE Standard on my iBook (OS 10.2.5). After
>> adding a new element
>> to a DocBook document I'd like to revert to anonymous text mode, but
>> the keypad doesn't have an "Insert" key, and Command-I inserts a new
>> element.
>> Is there a work-around for this?
>> Or does someone know how to map another key on a Mac OS X keyboard to
>> do the
>> same thing?
>
> Copy attached file to ~/xxe2/config/ and restart XXE.
>
> defaultbindings.xxe
> -------------------
> <?xml version='1.0' encoding='ISO-8859-1'?>
> <configuration
> xmlns="http://www.xmlmind.com/xmleditor/schema/configuration"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:cfg="http://www.xmlmind.com/xmleditor/schema/configuration"
> xmlns:xs="http://www.w3.org/2001/XMLSchema">
>
> <binding>
> <keyPressed code="T" modifiers="ctrl" />
> <command name="insertNode" parameter="textAfter[implicitElement]"/>
> </binding>
>
> <binding>
> <keyPressed code="T" modifiers="ctrl shift" />
> <command name="insertNode"
> parameter="textBefore[implicitElement]"/>
> </binding>
> </configuration>
> -------------------
>
> With this configuration file:
>
> * Ctrl+T (*Control*, NOT Command) inserts a text node after selected
> element.
> * Shift+Ctrl+T inserts a text node before selected element.
>
> If you don't like the 'T' letter or if MacOSX already uses this hot
> key for its own needs (I haven't tested this on Mac because I don't
> have my iBook handy), edit defaultbindings.xxe and use another letter.
> <?xml version='1.0' encoding='ISO-8859-1'?>
> <configuration
> xmlns="http://www.xmlmind.com/xmleditor/schema/configuration"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:cfg="http://www.xmlmind.com/xmleditor/schema/configuration"
> xmlns:xs="http://www.w3.org/2001/XMLSchema">
>
> <binding>
> <keyPressed code="T" modifiers="ctrl" />
> <command name="insertNode" parameter="textAfter[implicitElement]"
> />
> </binding>
>
> <binding>
> <keyPressed code="T" modifiers="ctrl shift" />
> <command name="insertNode" parameter="textBefore[implicitElement]"
> />
> </binding>
>
> </configuration>