----boundary-LibPST-iamunique-1973575172_-_-
Content-type: text/plain
----- Original Message -----
From: "Anton Dmitriev" <adimetrius{([at]})nowhere.xy
To: "BlackBox Mailing List" <blackbox{([at]})nowhere.xy
Sent: Thursday, September 21, 2006 6:16 PM
Subject: [?? Probable Spam] [BlackBox] - Tabbed document user interface
example
>As I understand,
> Views.Open checks first if the specified file is open already, and if it
is,
> returns the open view contained in it. Some module in the Dev subsystem
> treats that view as a TextViews.Vew - and traps.
>
> Anton
>
DevDebug can be patched to solve this problem:
PROCEDURE ShowSourcePos (name: Name; adr: INTEGER);
VAR
...
(*c: Containers.Controller;*)
...
selMsg: TextControllers.SetSelectionMsg;
posMsg: TextViews.PositionMsg;
BEGIN
...
(* c := v(TextViews.View).ThisController();*)
(* v(TextViews.View).ShowRange(beg, end, TextViews.any);*)
(* c(TextControllers.Controller).SetSelection(beg, end)*)
posMsg.beg := beg; posMsg.end := end; posMsg.focusOnly :=
TextViews.any;
Models.Broadcast(m, posMsg);
selMsg.beg := beg; selMsg.end := end;
Models.Broadcast(m, selMsg)
...
END ShowSourcePos;
Problem was discussed at
http://www.progz.ru/forum/viewtopic.php?t=...er=asc&start=15
(in Russian)
Best regards,
Alex Kraevskii
--- BlackBox
--- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy
----boundary-LibPST-iamunique-1973575172_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjB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B0byBibGFja2JveEBv
YmVyb24uY2h9fQAKTWVzc2FnZS1J
----boundary-LibPST-iamunique-1973575172_-_---
Received on Sat Sep 23 2006 - 17:48:32 UTC