First of all: thanks Bob, Jig is a wonderful addition to the J toolbox.

Secondly, here's a 5 second workaround to address the
sidebar/scrollbar issue that a few have raised. Replace,

  ID=:":(vobj; fW , fH) webdisplay htmpack tm

on the penultimate line of visual_jig_ (visual in debug/jig/jig.ijs) with

  ID=:":(vobj; 1.2 * fW , fH) webdisplay htmpack tm

Note that this doesn't address the webview not expanding with its
parent form nor does it take into account the SVG content size. But as
a quick hack it seems to do the job.

On other platforms the scale factor may need tweaking.

On Sun, Jul 30, 2017 at 10:47 AM, Raul Miller <rauldmil...@gmail.com> wrote:
> (or even 1b1 and 0b0 ...).
>
> --
> Raul
>
> On Sun, Jul 30, 2017 at 1:47 PM, Raul Miller <rauldmil...@gmail.com> wrote:
>> I suppose you could use 1b0 and 1b1 to represent boolean values...
>>
>> --
>> Raul
>>
>> On Sun, Jul 30, 2017 at 11:19 AM, R.E. Boss <r.e.b...@outlook.com> wrote:
>>> Bob,
>>>
>>> I think your addon can be rather valuable, here are a few remarks.
>>> First of all, my system hung the first time after I did 'v t8' just before 
>>> Ctrl J to advance, which apparently also did this. I had to cancel J with 
>>> the task manager (Win10, J805).
>>> After restarting the Lab and jumping to chapter 6, three times Ctrl J 
>>> brought me tot End of Lab, which was not my intention. And I got other hang 
>>> ups in different circumstances, but I'm sorry to have no time to test it.
>>>
>>> The fact that the display of Jig is such that I always have to use the 
>>> sidebars is a nuisance IMO, perhaps you could locate the pop-up screens at 
>>> the right hand side or enlarge the initial screen.
>>>
>>> But what bothers me most is that you shift to much work to me as a user: I 
>>> have to remember color codes for the different data types (and other 
>>> mnemonics which I already forgot ...!)
>>> This is a problem which is not unusual. Whereas computers are designed to 
>>> make life easier, the contrary is achieved (for example you are often 
>>> requested to use passwords with a lot of non-letters, whereas a long 
>>> sentence which is easy to remember for humans is a much better password, 
>>> see also https://xkcd.com/936/).
>>> So, to be more specific, in the example of t1, why don’t you display 1b; 2; 
>>> 3j0; 4.0; 5x; 6r1 to indicate the Boolean, integer, complex, floating, 
>>> extended and rational number?
>>> The only 'problem' is that 1b is an ill-formed number in J, where the 
>>> others are not, but within the scope of your addon that seems acceptable.
>>>
>>> Well, just my 2 cents.
>>>
>>>
>>> R.E. Boss
>>>
>>>
>>>
>>>> -----Original Message-----
>>>> From: Programming [mailto:programming-boun...@forums.jsoftware.com]
>>>> On Behalf Of robert therriault
>>>> Sent: vrijdag 28 juli 2017 22:15
>>>> To: Programming forum <programm...@jsoftware.com>
>>>> Subject: [Jprogramming] Jig - an augmented display for jqt in j805 and j806
>>>>
>>>> Greetings everyone,
>>>>
>>>> I have just completed uploading a new addon that I have named Jig. It takes
>>>> the standard J text display and upgrades it to an interactive SVG display 
>>>> that
>>>> allows quick access to type and shape and a host of other information about
>>>> the results of J sentences.
>>>>
>>>> I have posted a short video (1 minute) demo here:
>>>> https://youtu.be/dK1y_V07214
>>>>
>>>> Once you have updated using Package Manager you should be able to run it.
>>>>
>>>> There is also a lab in the 'debug' category that will check that your 
>>>> system is
>>>> running the full version of the QT ide required for web displays like Jig.
>>>>
>>>> I find it most useful when I have assigned a function key to it as 
>>>> described in
>>>> the second last chapter of the lab. Just make sure that assigning the 
>>>> function
>>>> key does not put you in conflict with any start up scripts that you may be
>>>> running.
>>>>
>>>> This is my first addon so I hope that I have not made too big a mess of 
>>>> things
>>>> and I look forward to your feedback.
>>>>
>>>> Cheers, bob
>>>>
>>>>
>>>>
>>>> ----------------------------------------------------------------------
>>>> For information about J forums see http://www.jsoftware.com/forums.htm
>>> ----------------------------------------------------------------------
>>> For information about J forums see http://www.jsoftware.com/forums.htm
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to