gui icon indicating copy to clipboard operation
gui copied to clipboard

Incorrect indentation with more than one level of "@…["

Open SuzanneSoy opened this issue 9 years ago • 1 comments

From @jsmaniac on August 26, 2016 23:41

#lang scribble/lp2
@itemlist[
 @item{Foo
  @itemlist[
 @item{Bar}]}]

The file above should likely indent as:

#lang scribble/lp2
@itemlist[
 @item{Foo
  @itemlist[
   @item{Bar}]}]

Another example which does not mix [ and {:

@itemlist[
 @item[
 "Foo"
 @itemlist[
 @item["Bar"]]]]

which should indent as:

@itemlist[
 @item[
  "Foo"
  @itemlist[
   @item["Bar"]]]]

Copied from original issue: racket/scribble#55

SuzanneSoy avatar Sep 12 '16 09:09 SuzanneSoy

I moved the issue here, since I had opened it in racket/scribble by accident.

It is related to https://github.com/racket/scribble/issues/54

By the way, thanks @rfindler for yesterday's fixes! :-)

SuzanneSoy avatar Sep 12 '16 09:09 SuzanneSoy