Spell-check underline bug

davidjohnmacdonald's Avatar


22 Aug, 2017 02:01 AM

Red dot shows in the margin; but the word isn't underlined. I'm guessing it's because it's part of a hyphenate. When I replace the hyphen with a space, the underline shows up correctly.

Here's the paragraph and a screenshot:

This course is the first semester of a four-sememster music theory program. It provides an introduction to the study of tonal music through the exploration of melody, rhythm, harmony, and musical form. Lab sections emphasize **aural skills**.

Turns out, "sememster" is not a word. Yet.

  1. Support Staff 1 Posted by Brett on 22 Aug, 2017 02:09 PM

    Brett's Avatar

    Thanks for the report. The short response is that it's a known issue,
    but the longer answer is:

    Because WebKit can't be spellchecked by default, what Marked has to do
    is gather the text, send it through the system spellcheck API, then
    parse the results and attempt to match them back up with the text.
    Certain circumstances, such as if a hyphen is escaped in any way or
    there's an HTML tag in the original that wasn't sent to the
    spellchecker, can result in an inability to locate the exact text that
    triggered an error. The best stopgap there was simply to show the
    paragraph where the error existed, and note what the error was.
    Generally it's able to highlight, but there are definitely edge cases.
    This one might simply be that the API response from the hyphenate didn't
    include the other half of the word, so Marked's regular expression
    failed matching "sememster" with "four-sememster" in the original text.
    It's a tricky setup (and why I chose to sell the feature as an add-on, I
    gave many hours of my life to making it work :) ).


  2. 2 Posted by davidjohnmacdon... on 24 Aug, 2017 12:56 AM

    davidjohnmacdonald's Avatar

    No worries. Thanks for all your work on the app. This is not a major issue for me, and I'm happy to use Marked as is while you focus on more important things. I'll buy the next add-on, too.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Already uploaded files

  • Screen_Shot_2017-08-21_at_9.57.02_PM.png 136 KB

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac