Skip to content

Missing glyphs cause display issues with "Show Invisibles" in BBEdit #161

@siegel

Description

@siegel

Environment

Cascadia Code version number: 1910.04
Application (with version) used to display text: BBEdit 13.0.1
OS platform and version: macOS 10.14.6 (18G103)
Screen resolution (i.e. 220dpi): n/a

Any other software?

Steps to reproduce

  1. Download and install BBEdit 13.0.1. It is available from the BBEdit downloads page: https://www.barebones.com/support/bbedit/updates.html. (If you are running an older version of macOS, you can use an older version of BBEdit.)

  2. Open a text file which contains spaces, nonbreaking spaces, and tabs.

  3. Click the small gear above the upper left corner of the edit view to open the Text Options popover.

  4. Turn on "Show Invisibles." Make sure that "Show Spaces" is turned on as well.

Expected behavior

=> Invisibles placeholders shown for spaces, tabs, and line breaks. (Attached screen shot using Inconsolata for reference.)

Screen Shot 2019-10-21 at 9 51 00 AM

Actual behavior

=> "missing glyph" placeholder shown for tabs

Screen Shot 2019-10-21 at 9 52 04 AM

BBEdit uses the following code points for invisibles glyph substitution:

0x00B7, // space -> dot
0x2022, // nbsp -> bullet
0x2206, // tab -> delta
0x00AC, // CR -> not sign
0x00B6, // FF -> paragraph
0x007C, // zero width -> vertical bar
0x00BF, // all others -> inverted question mark

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions