Hi,
Great. Please keep experimenting and keep us posted.
Well I have redefined my immediate goal for the next experiment as just updating an object from a text pane even if this is not automatic (as I said in the proper thread automatic updating is not working). So, how can I get the current content of a text pane and send it as an argument for updating an object value?
With your post, I'm wondering who difficult is:
a. To put support to Pillar/Markdown inside text panes (something similar to the "smalltalkCode" message for showing Smalltalk in text panes but with "pillarCode" or "markdownCode" (or some dictionary with the #syntax keyword and the language as a value).
That is precisely what already happened. If you load the code, you can take a look at the FileReference>>gtInspectorPillarIn: method to see how to specify the presentation.
I will as soon as I can load humane-assessment.com, to see your blog post again. In fact is usual for me not being able to load this site or Moose's ones on a regular basis (last time when I was trying to show this technology to a friend). If your have any possibility to consider another more stable hosting that would be nice for newcomers. Digital Ocean (I have not any affiliation with them) has been a nice solution for my for only USD $5 per month.
Indeed, I have some problems with my server. I am not yet sure where the problem lies (the server itself or the provider). I restarted the server now and I hope it will be better for a while.
b. To execute some parts of the code, for example the ones that are
inside "[[[" "]]]" while the cursor is there, so we could not only preview imagages, but also execute code for visualizations or other computations
Exactly. That should definitely be a direction. We need to experiment here with the exact semantics. For example, you will not always want to execute the code. Or not all code is meant to be executed.
Well for me that would be a human decision always and by default disabled. What I was thinking was more inline with IPython's notebook behaviour that executes a code cell with a shortcut. Would be nice to have a shortcut for executing code inside "[[[" "]]]" blocks if the cursor is inside them.
Indeed, this is the first thing that popped in my mind as well. The problem is that often people use the code inside [[[ ]]] for incomplete snippets as well. So, it can actually be problematic to find the real code to run. At least in the current books.
c. The ability to support drag and drop to files to the tree (a
Glamorous Tree) and get some kind of node pointing to that file.
That is indeed something I would want as well. For example, we should be able to drag and drop a pier file from the outside and spawn an editor on it.
Yes.
d. Tha ability to preview thumbnail images in a similar way of the
"contextual places" for printing described on your post at [2]
[2] http://www.humane-assessment.__com/blog/rethinking-print-it- __in-pharo <http://www.humane-assessment.com/blog/rethinking-print-it-in-pharo/
Yes. This will likely come soon :)
Nice! Keep us posted.
e. The hability to show a preview of the pdf/html in an emergent
lateral panel in a simlar way to what TeXStudio or TeXmaker do[3]
[3] http://www.xm1math.net/__texmaker/texmakertop_big.png <http://www.xm1math.net/texmaker/texmakertop_big.png>
I do not know how to do it at this time. For this purpose, we would need to be able to embed a browser in a Pharo UI, and I am not aware of how to do it
I would think in something like executing a browser inside a VNC client that can be shown inside Pharo. AFAIK that's the way that Open Croquet, Teleplace and other Smalltalk 3D worlds use to execute and show desktop apps inside the worlds. I imagine that something similar can be done in a Glamorous Toolkit pane.
Would you be interested in producing a prototype in Morphic? Cheers, Doru
Cheers,
Offray
-- www.tudorgirba.com "Every thing has its own flow"