Misaligned indentation on DrRacket #113

Closed
opened 9 years ago by leafac · 4 comments
leafac commented 9 years ago (Migrated from github.com)

I was working through the Quick tour and noticed the indentation generated by DrRacket in uptown.html.pm when hitting Cmd+I is the following:

#lang pollen

◊headline{Pollen markup}

◊items{
       ◊item{You ◊strong{wanted} it—you ◊em{got} it.}
        ◊item{◊link["https://google.com/search?q=racket"]{search for Racket}}
        }

Similarly, when writing and hitting Enter, the cursor is placed in those strange columns.

Is this expected? If not, how do I work around it?

I'm using Pollen checksum 72c9e781... on Racket 6.5 on OS X.

Thanks a lot.

I was working through the [Quick tour](http://docs.racket-lang.org/pollen/quick-tour.html) and noticed the indentation generated by DrRacket in `uptown.html.pm` when hitting `Cmd+I` is the following: ``` racket #lang pollen ◊headline{Pollen markup} ◊items{ ◊item{You ◊strong{wanted} it—you ◊em{got} it.} ◊item{◊link["https://google.com/search?q=racket"]{search for Racket}} } ``` Similarly, when writing and hitting Enter, the cursor is placed in those strange columns. Is this expected? If not, how do I work around it? I'm using Pollen checksum `72c9e781...` on Racket 6.5 on OS X. Thanks a lot.
mbutterick commented 9 years ago (Migrated from github.com)

Looks like a bug. I will investigate further.

Looks like a bug. I will investigate further.
leafac commented 9 years ago (Migrated from github.com)

Thanks a lot for the quick answer and for investigating. How can I help? Does the issue happen to you too?

Thanks a lot for the quick answer and for investigating. How can I help? Does the issue happen to you too?
mbutterick commented 9 years ago (Migrated from github.com)

Your sample now indents correctly:

#lang pollen

◊headline{Pollen markup}

◊items{
 ◊item{You ◊strong{wanted} it—you ◊em{got} it.}
 ◊item{◊link["https://google.com/search?q=racket"]{search for Racket}}
}
Your sample now indents correctly: ``` racket #lang pollen ◊headline{Pollen markup} ◊items{ ◊item{You ◊strong{wanted} it—you ◊em{got} it.} ◊item{◊link["https://google.com/search?q=racket"]{search for Racket}} } ```
leafac commented 9 years ago (Migrated from github.com)

I update the package and can confirm that DrRacket now indents as you showed above.

Thanks a lot for the fix 👍

I update the package and can confirm that DrRacket now indents as you showed above. Thanks a lot for the fix 👍
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: mbutterick/pollen#113
Loading…
There is no content yet.