Sjur Moshagen wrote:
> 
> There's an inconsistency when inserting new elements between just typing and 
> pasting content from the clipboard. If you insert a new element, you can just 
> start typing, and the text appears in the new element as expected. But if 
> you, after you have inserted the new element (insert before, within or after 
> the current element), want to paste in some text content on the clipboard, it 
> does NOT work, since the selection is actually the new element, and the caret 
> is not within the new (empty) element.
> 
> To be able to paste in the text, one has to use e.g. the arrow keys to move 
> one step in one direction, and then one step back in the other direction, to 
> force the caret to become active within the new element. THEN it is possible 
> to paste.
> 

A simpler option would be to type Esc twice in order unselect the newly
inserted element. After doing this, you'll be able to paste the text.

See
http://www.xmlmind.com/xmleditor/_distrib/doc/quickrefcard/quickrefcard-Mac-A4.pdf



> When splitting elements in cases where it isn't possible to bind the split 
> command to the Enter key (ie when there is a requiredd attribute), this makes 
> for a lot of extra keypresses, since one has to cut out the text in question, 
> add the new element, and then move back and forth with the arrow keys before 
> one finally can paste in the text (and then you also have to add the required 
> attribute values). It would be very helpful if it would be possible to paste 
> textual content directly into newly created elements without having to click 
> in it, or move the insertion point back and forth with the arrow keys.
> 
> An even better solution would be to allow splitting to be bound to the Enter 
> key also when attributes are required, either by specifying (a) default 
> attribute value(s) in the config file, or by inheriting from the unsplit 
> element.
> 
> In our usage scenario (editing dictionary articles), splitting as described 
> above is a very common action, and everything that can save on keypresses 
> will save a lot of time for us.
> 
> I'm using XXE 4.5.2 on MacOS 10.6.2.
> 

Out of the box, XXE works OK in most cases and we do not intend to
change its default behavior in the near future.

However, XXE is an extensible XML editor and it's possible to adapt it
to your specific needs. For the above cases, it's probably possible to
do it without programming:

* Please confider rebinding some of its keyboard shortcuts:

For example, Cmd-V is bound to command "paste" with parameter "toOrInto".

If you rebind it to command "paste" with parameter "into", it will work
as expected in the above case (and will make Cmd-V unusable in other
cases!).

See http://www.xmlmind.com/xmleditor/_distrib/doc/commands/paste.html

See
http://www.xmlmind.com/xmleditor/_distrib/doc/configure/bindings_generic.html

* Please consider writing a few macro commands. Example: a smarter split.

See
http://www.xmlmind.com/xmleditor/_distrib/doc/commands/writing_macros.html

--> Also note that it's possible to record a macro and then bind the
last recorded macro to a keystroke. This feature alone can solve many of
your productivity problems.

See
http://www.xmlmind.com/xmleditor/_distrib/doc/help/toolsMenu.html#recordMacroMenu

See
http://www.xmlmind.com/xmleditor/_distrib/doc/help/optionsMenu.html#customizeConfigurationMenu

See
http://www.xmlmind.com/xmleditor/_distrib/doc/help/com.xmlmind.xmleditapp.kit.part.AddKeyboardShortcutDialog.html


 
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to