denemo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Denemo-devel] Flexa


From: Andreas Schneider
Subject: Re: [Denemo-devel] Flexa
Date: Tue, 24 Jan 2017 22:34:25 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.6.0

Am 24.01.2017 um 12:28 schrieb Richard Shann:
> On Mon, 2017-01-23 at 20:23 +0100, Andreas Schneider wrote:
>> The Flexa command creates directives on two notes with different
>> contents. Should both have the same tag, or should they have different
>> tags? My thinking is that it might be better for further editing if
>> they
>> have different tags. Or am I overlooking something? 
> 
> If you can both end a flexa and start a new one on the same note then
> you need two tags (or be able to manage putting both end and start
> syntaxes onto one directive).
> If you don't need two tags, one (named after the command that creates
> it) is generally good, since Denemo can then look up which command has
> created the directive and hence explain it to a user. The creator of the
> command can handle the question of whether the directive is a start or
> an end (for example, they could include some scheme data in the
> directive).
> Naming tags after the command that creates them also means the user can
> perform a tag-dependent edit on the directive (this used to be
> accessible directly from right-clicking on the note, but now you have to
> go to the Object Editor and click "Execute Commmand" for the directive
> concerned ... is it worth putting effort into resurrecting the old
> interface? (It was rather cryptic IIRC).

Ah, I see, I did not think of that. That means it is best to use the
same tag for start and end. It can save in the data field if it is the
start or end part. Then, if the script is activated on a note where a
flexa already exists, it can find the corresponding other part and
delete both.

Andreas



reply via email to

[Prev in Thread] Current Thread [Next in Thread]