Skip to content

[IDEA] Request to support rulers in CodeMirror #9864

@qaqland

Description

@qaqland

As a user, I would like the $:/plugins/tiddlywiki/codemirror editor to show
a vertical guide line at column 80 while editing. This helps me keep tiddler text,
code, and Markdown within a readable line length.

Currently, CodeMirror 5 already provides an official rulers addon, but the
CodeMirror plugin does not appear to include or expose it.

Describe the solution you'd like

Add the support for CodeMirror 5's official addon/display/rulers.js addon
and allow it to be configured through a TiddlyWiki config tiddler.

The feature should be disabled by default, so existing users would not see any
behavior change unless they configure it.

Describe alternatives you've considered

None

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    actionableIssue is actionable and contributions (pull requests) are very welcomenewfeatureNew functionality that does not presently exist

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions