(unknown charset) Re: [BLACKBOX] How do I embed text as in Quick Start documentation?

From: (unknown charset) unknown charset <adimetrius{([at]})nowhere.xy>
Date: Mon, 5 Apr 2010 17:27:02 +0400

----boundary-LibPST-iamunique-41584241_-_-
Content-type: text/plain

Carl,

Look up the documentation for module DevCommanders. It has the
variable DevCommanders.par of type DevCommanders.Par :-). This record
variable is valid during a command's execution, and the fields of this
variable let the command figure out the text model and the position of
the command in the text. If i understand you correctly, you might not
need to embed text into text when you use the DevCommanders.par
mechanism. If you still need to embed a text into a text:
1) create your embedding text (File--New)
2) create your embedded text (File-New)
3) in the embedded text, press Ctrl+Space or go Edit--Select Document.
A selection mark (box) appears around your text view inside the window
4) drag the selection into your embedding text. It'll let you choose
where to drop it :-)

If you need to do it programmatically, then here is basically what you
do: create a new text model; create a new text view linked to the
newly created text model; insert the newly created text view into
existing text (text model). Look up the documentation for TextViews
and TextModels.

Anton
Sun, 4 Apr 2010 07:59:13 -0700 письмо от Carl Glassberg <carlglassberg{([at]})nowhere.xy

> Hello:
>
> I am new to BlackBox and have searched everywhere for how to embed text, so its
focus is clickable and a box appears around it. See the documentation Quick Start
examples.
>

> I have tried adapting an existing Quick-Start documentation file but the command

is not recognized and I still don't know how the text is embedded.
>
> I want to add a Commander button so the command it runs is applied to the boxed
text preceding it, but is not applied to the Commander itself.
>
> Example:
>
> Some text here should show a box when clicked
>
> <Circle with Exclamation Mark inside it> CommandToRun
>
> So far, I do not know how to embed the text so right now it is just ordinary non-
embedded text followed by the Commander button.
>
> Instead, I have had to use the Menu system to run the command, but this only works
when I highlight the text (with the Commander button deleted).
>
> Is there a way to guard the Commander button and command so it is excluded from
processing when you click on the Commander, and only the preceding text is
processed?
>
> Sincerely
>
> Carl
>
>
>
>
>
>
> ----
> To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to
LISTSERV{([at]})nowhere.xy
>


----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-41584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CTEFDS0JPWCIgdG8gTElTVFNFUlZATElTVFMuT0J9fQBgI2A0UOshAB+VLg==
----boundary-LibPST-iamunique-41584241_-_---
Received on Mon Apr 05 2010 - 15:27:02 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:30:33 UTC