Skip to content

[Bug]: Old snippets typed as text instead of plain text #632

@Mralexandresys

Description

@Mralexandresys

Describe the bug

Some snippets created with older versions of massCode have their language field set to text instead of plain text.
When this happens, the language selector button is not visible in the editor.

Image

To reproduce

  1. Open the local massCode database file (masscode.db).
  2. Find a snippet record.
  3. Manually edit the language field to the value text.
  4. Notice that the language selector does not appear in the editor.

App Version and Architecture

v4.2.2

System info

Windows 11

Validations

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions