Thursday, April 9, 2009, 6:22:49 PM, Hussein Shafie wrote:

> David Priest wrote:
>> On 09-Apr-8, at 11:54 AM, Daniel Dekany wrote:
>>> I just wanted to draw attention to this kind of problem: it's not
>>> about convenience (how many keystrokes is it to achieve something),
>>> but about preventing confusion ("Why the heck I can't do that???").
>>> I'm usually confident about what elements can occur where, so usually
>>> I won't be confused if an element is missing from that filtered list,
>>> find out why it's missing.
>> 
>> I find it frustrating that it is difficult to "wrap" chunks of  
>> information when elements are missing, and I would be delighted if the  
>> editor were to insert blank elements where they belong.  The  
>> application knows the title is missing, so have it insert a title  
>> element.  That's helpful.
>
> We currently don't know how to implement this feature in the general case.

If you say that, certainly it's difficult to extract from the Schema
(although consider what's if XXE can ask some questions from the user:
you want <this> or <that>?)... Where I suspect unutilized
possibilities is where I already can insert problematic element X (as
it has a template, I guess), yet I can't wrap into element X. I mean,
if you or someone else already spent time with writing a template for
X, it should be written so that it works with both wrapping and
inserting. After all, in both case I just want to create a new element
of type X... similar cases.

>> Otherwise, I'm stuck doing a jig: select the chunk, insert an empty
>> section ahead of it, copy the chunk, paste it into the section,  
>> reselect the chunk, delete it, fill in the title.  Yeeesh!
>> 
>
> * If you edit DocBook documents, please give DocBook|Promote and
> DocBook|Demote a try.
>
> See "Promote", "Demote" in
> http://www.xmlmind.com/xmleditor/_distrib/doc/docbook/docbook_menu.html
>
> * Also note that you can record a macro and bound it to a keystroke for
> later use. This technique can be used to avoid many repetitive tasks.
>
> See "Record Macro" menu" in
> http://www.xmlmind.com/xmleditor/_distrib/doc/help/toolsMenu.html#recordMacroMenu
>
> See "'Customize Configuration' menu" , "Add Keyboard Shortcut" in
> http://www.xmlmind.com/xmleditor/_distrib/doc/help/optionsMenu.html#customizeConfigurationMenu
>
>
>  
> --
> XMLmind XML Editor Support List
> xmleditor-support at xmlmind.com
> http://www.xmlmind.com/mailman/listinfo/xmleditor-support
>

-- 
Best regards,
 Daniel Dekany

Reply via email to