[Jprogramming] Codemirror search and replace in JHS
Eric Iverson
eric.b.iverson at gmail.com
Tue Nov 20 16:41:30 UTC 2012
Page jhelp under the ide jijs sections gives the shortcuts:
search Ctrl+F / Cmd+F
next Ctrl+G / Cmd+G
previous Ctrl+Shift+G / Cmd+Shift+G
replace Ctrl+Shift+F / Cmd+Option+F
replaceall Ctrl+Shift+R / Cmd+Shift+Option+F
The above all work for me.
On Tue, Nov 20, 2012 at 11:33 AM, John Baker <bakerjd99 at gmail.com> wrote:
> Eric,
>
> Your recent change works fine. The search dialog comes up and entered
> text, including regexps, are
> quickly highlighted in the text. I still don't see how to invoke a
> replace. My guesses
>
> /findstr/replacestr
>
> do nothing. Your spr'' is handy.
>
> jdb
>
>
> On Tue, Nov 20, 2012 at 8:17 AM, Eric Iverson <eric.b.iverson at gmail.com>wrote:
>
>> I decided the green line cluttered up the jijx window too much for too
>> little value. Now when you save or run n the jijs window you get a
>> positive red message at the top.
>>
>> Also note that with codemirror you can use ctrl+s for save and ctrl+r for
>> run.
>>
>> On Tue, Nov 20, 2012 at 3:32 AM, Linda Alvord <lindaalvord at verizon.net>
>> wrote:
>> >
>> > Eric, I was getting the same error messages using jijs.
>> >
>> > Now after I run code with an error, it no longer goes one more step to
>> show
>> > the error in jijx but stops at the incorrect line. This isn't really a
>> > problem as I can run it myself.
>> >
>> > I do miss the green line which printed each time a jijs window was run
>> and
>> > showed which one it was.
>> >
>> > Linda
>> >
>> > -----Original Message-----
>> > From: programming-bounces at forums.jsoftware.com
>> > [mailto:programming-bounces at forums.jsoftware.com] On Behalf Of Eric
>> Iverson
>> > Sent: Monday, November 19, 2012 4:34 PM
>> > To: programming at jsoftware.com
>> > Subject: Re: [Jprogramming] Codemirror search and replace in JHS
>> >
>> > My mistake (obscurred in my testing by browser cache). Please give the
>> new
>> > update a try.
>> >
>> > WIth focus on the jijs edit area, press ctrl+f and you should see a
>> simple
>> > find textfield at the top of the edit area. jhelp has basics docs.
>> >
>> > I think the sp facility is much improved. Take a look at sphelp. The way
>> > spr'' gives you quick edit links to recent files is handy.
>> >
>> > On Mon, Nov 19, 2012 at 4:16 PM, John Baker <bakerjd99 at gmail.com> wrote:
>> >> I looked for the new search and replace option in JHS but could not
>> >> see how to invoke it.
>> >>
>> >> My experimenting returned these errors. I am at the current JHS
>> >> release under chrome. Something is not quite right.
>> >>
>> >> jdb
>> >>
>> >> |domain error: gsrcf
>> >> | htmlresponse y ,~gsrchead rplc'<TYPE>';x;'<LENGTH>';":#y
>> >> *** response not sent for ~addons/ide/jhs/js/codemirror/util/search.js
>> >> *** html409 Conflict
>> >> |domain error: gsrcf
>> >> | htmlresponse y ,~gsrchead rplc'<TYPE>';x;'<LENGTH>';":#y
>> >> *** response not sent for
>> >> ~addons/ide/jhs/js/codemirror/util/searchcursor.js
>> >> *** html409 Conflict
>> >> |domain error: gsrcf
>> >> | htmlresponse y ,~gsrchead rplc'<TYPE>';x;'<LENGTH>';":#y
>> >> *** response not sent for ~addons/ide/jhs/js/codemirror/util/dialog.js
>> >> *** html409 Conflict
>> >>
>> >>
>> >> --
>> >> John D. Baker
>> >> bakerjd99 at gmail.com
>> >> ----------------------------------------------------------------------
>> >> 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
>>
>
>
>
> --
> John D. Baker
> bakerjd99 at gmail.com
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
More information about the Programming
mailing list