Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
G
gajim-plugins
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 56
    • Issues 56
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 8
    • Merge Requests 8
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • gajim
  • gajim-plugins
  • Issues
  • #408

Closed
Open
Opened Mar 25, 2019 by Florian Münchbach@FlorianMuenchbachContributor4 of 7 tasks completed4/7 tasks

[syntax_highlight] Code widget in chat textview

  • Gajim Version: 1.1.2 / master
  • Plugin Version: >= 1.0.0
  • Operating System: all

Instead of using the current text-only highlighting inside the chat textview using a custom widget offers more styling options and better usability.

Screenshot of a recent draft: screenshot

  • create a code widget
  • show line numbers, identify wrapped lines
  • (partial) add copy/quote buttons (see #407)
  • add display of currently selected language
  • add a way to change the current language
  • add config dialog option to switch between current text-only and widget views
  • add config dialog option to change widget width or automatically adapt to window width (<- seems to create more issues than it solves in first tests...)

Extension (just to capture the thought here): allow line number offset

Edited Mar 30, 2019 by Florian Münchbach
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: gajim/gajim-plugins#408