Thanks, I got this.

On Fri, Jan 27, 2023 at 4:59 AM Raul Miller <[email protected]> wrote:
>
> I'm not sure where I should report this.
>
> But there's a bug in jqt's Script > Format (in edit windows) where
> basically I guess it predates multiline {{)n ... }} blocks.
>
> As a consequence, it will indent the closing }} of one of these
> blocks, which is wrong.
>
> I'm not going to track this down right now.
>
> But, when running under jqt, the relevant code is essentially:
>
>    require PPScript_jp_
> followed by
>    pplintqt_jpp_
>
> (which takes the text of the edit window as an argument).
>
> For example, try it with this:
>
> {{
> for_j. {{)n
> 1
> 2
> }} do. echo a.i.j end.
> }}0
>
> I guess it's arguable whether any of the text in a literal block
> should be indented in this context, but I am less concerned about
> that.
>
> (I should perhaps also note that there's currently no "undo" support
> in jqt for this mechanism -- using this mechanism empties the "undo"
> history for that window. But that's an independent issue...)
>
> FYI,
>
> --
> Raul
> ----------------------------------------------------------------------
> 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