careteditor / issues

Caret issues
https://caret.io
326 stars 12 forks source link

Red bottom borders on/inside code blocks #817

Open fk1blow opened 5 years ago

fk1blow commented 5 years ago

hey

I have a problem with my caret install(latest caret v4.0.0-rc21, windows 10) in which it adds strange red underlines/borders to a code block.

This is how it looks: image

and this is the actual text:

dropzone statechart

    Pristine initial `nothing appears`
      -> boot -> Gallery

    Gallery
      -> close -> Pristine
      -> dragging -> Hint

    Hint `upload iamges notification, while dragging a file`
      -> close -> Pristine
      -> dropping -> UploadX

    Upload `after files dropped to zone`
      -> ok -> Gallery
      -> err -> Upload.Error
      state
        Error
          -> reset
astoilkov commented 5 years ago

Hi Dragos,

I have tried to replicate the problem but without success. Does this happen every time? Can you try to open an Untitled file and just paste the contents you provided in order to observe if the issue will appear?

Thanks in advance.

fk1blow commented 5 years ago

hey, thanks for replying!

So, it does that inside an untitled file as well, and noticed it inside plain text paragraphs too, not just in code block.

There's also an interesting thing i spotted: when you type inside a line of text that already exhibits this behavior, the border y moves while i type(moving alongside the contain on which was applied?).

10_1_2018-7_48_59-pm 1

fk1blow commented 5 years ago

After closing every tab/document i had and starting from scratch, the issue was gone, no more borders.

I just remebered i did something that caused this(a few weeks back), it was a keyboard combination that most likely triggered it - sorry but don't remember which one

Hope it helps, Dragos

astoilkov commented 5 years ago

Hi Dragos,

Have you toggled the Check Spelling option? We reproduced a similar issue by disabling spelling, writing something and then re-enabling spelling.

fk1blow commented 5 years ago

i remember setting something, but not sure what it was. While taking the screenshots, the spelling was disabled.

astoilkov commented 5 years ago

We fixed the issue the next release will include a fix for it.

fk1blow commented 5 years ago

thank you @astoilkov !