add "Insert Command Char" button to DrRacket when using pollen #104

Closed
opened 9 years ago by mbutterick · 1 comments
mbutterick commented 9 years ago (Migrated from github.com)
There is no content yet.
mbutterick commented 9 years ago (Migrated from github.com)

@gregid:

Thanks for trying. If you don't mind reading alternative idea - to make a more pleasant experience for a newcomer to Pollen (ie: to allow a newcomer to jump right in - instead of figuring out stuff like AutoHotKey and/or changing command-char before first proper use) I would suggest extending DrRacket, Insert menu to be exact. Similarly to existing "Insert λ Ctl+" add "Insert ◊ (some shortcut)".

It was not obvious to me how to add a menu item (it may be possible, and I will scrutinize further).

It was, however, straightforward to add a toolbar button, so I have done that. Similar to the syntax-coloring in issue #103, the toolbar button will reflect the current command character (either Pollen’s default ◊, or whatever character is set for the project).

@gregid: > Thanks for trying. If you don't mind reading alternative idea - to make a more pleasant experience for a newcomer to Pollen (ie: to allow a newcomer to jump right in - instead of figuring out stuff like AutoHotKey and/or changing command-char before first proper use) I would suggest extending DrRacket, Insert menu to be exact. Similarly to existing "Insert λ Ctl+\" add "Insert ◊ (some shortcut)". It was not obvious to me how to add a menu item (it may be possible, and I will scrutinize further). It was, however, straightforward to add a toolbar button, so I have done that. Similar to the syntax-coloring in issue #103, the toolbar button will reflect the current command character (either Pollen’s default ◊, or whatever character is set for the project).
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#104
Loading…
There is no content yet.