add color-lexer for #lang pollen #59

Merged
AlexKnauth merged 1 commits from lexer into master 9 years ago
AlexKnauth commented 9 years ago (Migrated from github.com)

Now that (make-scribble-inside-lexer #:command-char #\◊) exists in Racket version 6.2.
(uses dynamic-require so that it doesn't break it for other versions)

Now that `(make-scribble-inside-lexer #:command-char #\◊)` exists in Racket version 6.2. (uses dynamic-require so that it doesn't break it for other versions)
mbutterick commented 9 years ago (Migrated from github.com)

Thanks. What does this do?

Thanks. What does this do?
AlexKnauth commented 9 years ago (Migrated from github.com)

In DrRacket, it means that the text in a pollen source file will be colored just like scribble content except that it treats as the command character instead of @.

In DrRacket, it means that the text in a pollen source file will be colored just like scribble content except that it treats `◊` as the command character instead of `@`.
mbutterick commented 9 years ago (Migrated from github.com)

Without the patch, I see this:

patch reverted

With the patch, I see the same thing:

patch applied

Either way, the Pollen coloring doesn't match Scribble (see the text in the curly braces, and the color of the escape character).

Do you see something different?

Without the patch, I see this: ![patch reverted](https://cloud.githubusercontent.com/assets/1425051/8266161/a0af8d66-16d2-11e5-9424-b85aec977a32.gif) With the patch, I see the same thing: ![patch applied](https://cloud.githubusercontent.com/assets/1425051/8266162/a4160ba6-16d2-11e5-85f5-70a0c638203f.gif) Either way, the Pollen coloring doesn't match Scribble (see the text in the curly braces, and the color of the escape character). Do you see something different?
AlexKnauth commented 9 years ago (Migrated from github.com)

You probably have to restart DrRacket, and possibly run raco setup (that's what I ended up having to do).

You probably have to restart DrRacket, and possibly run raco setup (that's what I ended up having to do).
mbutterick commented 9 years ago (Migrated from github.com)

OK, I see it now. Very good. Thanks again.

OK, I see it now. Very good. Thanks again.
The pull request has been merged as 963c5de3b2.
You can also view command line instructions.

Step 1:

From your project repository, check out a new branch and test the changes.
git checkout -b lexer master
git pull origin lexer

Step 2:

Merge the changes and update on Gitea.
git checkout master
git merge --no-ff lexer
git push origin master
Sign in to join this conversation.
No reviewers
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#59
Loading…
There is no content yet.