Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a Code Widget #179

Open
7 of 10 tasks
tmontes opened this issue Aug 10, 2018 · 0 comments
Open
7 of 10 tasks

Create a Code Widget #179

tmontes opened this issue Aug 10, 2018 · 0 comments

Comments

@tmontes
Copy link
Owner

tmontes commented Aug 10, 2018

Context is #122.

Things we want:

  • Code passed in either as a str or filename.
  • Configurable syntax highlighting, using Pygments if installed.
  • Configurable line wrapping.
  • Truncate long lines when wrapping is disabled.
  • Truncate if not all lines fit the vertical space.
  • Configurable line number visibility.
  • Configurable line highlighting:
    • Defined at init time.
    • On/off controllable via custom messages to the Widget.
  • Optional first_line_offset init argument.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant