On devices where codemirror doesn't work (or doesn't work well), you can revert to the old textarea support by doing:
load'~addons/ide/jhs/jijsta.ijs On Thu, Sep 27, 2012 at 8:47 PM, Don Guinn <[email protected]> wrote: > Tried CodeMirror on an Android phone and on a Kindle Fire. Neither worked > well. Couldn't find any info on the CodeMirror site on where it is supposed > to work. > > On Thu, Sep 27, 2012 at 6:42 PM, Linda Alvord <[email protected]>wrote: > >> The numbers show up when you load a script from a file, too. That's better >> than opening the script in Jgtk to see the numbers. >> >> Your directions worked will. >> >> Linda >> >> -----Original Message----- >> From: [email protected] >> [mailto:[email protected]] On Behalf Of Eric >> Iverson >> Sent: Thursday, September 27, 2012 9:44 AM >> To: [email protected] >> Subject: Re: [Jprogramming] JHS update - improved editor - CodeMirror >> >> 'update' refers to a new version in JAL of ide/jhs version 149. >> >> If you upgrade to ide/jhs 149, restart JHS server, and link to a jijs page >> you will see the new codemirror editor (instead of the previous textarea >> editor). The codemirror editor has line numbers, undo/redo, and syntax >> coloring. >> >> On Wed, Sep 26, 2012 at 8:57 PM, Raul Miller <[email protected]> >> wrote: >> > What does "update" mean here? >> > >> > I have updated everything in JAL, and am not seeing these features. >> > >> > Thank you, >> > >> > -- >> > Raul >> > >> > On Wed, Sep 26, 2012 at 3:02 PM, Eric Iverson <[email protected]> >> wrote: >> >> JHS update available that provides jijs editor based on the >> >> CodeMirror >> >> (www.codemirror.net) editor. >> >> >> >> The default jijs editor is CodeMirror. To get the previous html >> >> textarea editor do: load'~addons/ide/jhs/jijsta.ijs' >> >> >> >> CodeMirror is a big improvement over the previous html textarea >> >> editor. It provides undo/redo, line numbers, and syntax coloring. The >> >> Ctrl+srzy shortcuts are supported for save/run/undo/redo as well as >> >> the menu commands and the esc shortcuts. >> >> >> >> There is quite a bit more that can be done with CodeMirror if there >> >> is sufficient interest. >> >> >> >> I find that I am increasingly using JHS running on remote cloud >> >> servers and having a better editor improves work flow considerably. >> >> >> >> I also find that using SSH tunnel to provide secure JHS usage is easy >> >> and effective. SSH to your remote system with a tunnel that maps a >> >> local port to a remote local JHS port. Start JHS and you can access >> >> it securely through the tunnel. >> >> >> >> J development on the cloud is a secure joy with JHS/SSH/CodeMirror. >> >> --------------------------------------------------------------------- >> >> - 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 >> > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
