idea-multimarkdown icon indicating copy to clipboard operation
idea-multimarkdown copied to clipboard

soft wrap behavior keeps killing definition lists with line merging

Open jshook opened this issue 5 years ago • 5 comments

There doesn't seem to be a coherent set of options for being able to have soft wraps on paragraphs while also being able to simply type in a definition list.

The observed behavior that is causing trouble is this:

  1. You start a definition list like this, and the initial characters of the definition value: (cursor position at >)
Definition
: v>
  1. When you type the next couple characters, multimarkdown, merges your definition into a paragraph:
Definition val>

jshook avatar May 19 '20 17:05 jshook

@jshook, what is the plugin version you are using?

There was an issue with custom elements with prefix would loose the prefix when auto-formatting. This applies to definitions and footnotes,

The issue was fixed in 3.0.xxx.89 EAP release.

EAP update with a fix for the issue is available.

Installing EAP Plugin Version

Please note the change that EAP channel is for JetBrains licensed plugin and Legacy EAP is for legacy licensing by vladsch.com

vsch avatar May 19 '20 17:05 vsch

It is 3.0.197.72

jshook avatar May 19 '20 17:05 jshook

I've confirmed the fix in EAP, but there is also a glitch that I found when "wrap on typing only after space is typed" which might be related. When you use * as italics, wrapping does not allow you to proceed to type a space, it just eats the space when typed.

Anyway, the original issue is addressed.

jshook avatar May 19 '20 17:05 jshook

@jshook, this is caused by having smart edit asterisks enabled, found in Languages & Frameworks | Markdown | Editor. This setting doubles * when first typed. On space it replaces the automatically inserted * and stops further processing of the space which includes paragraph wrapping.

If I can implement this function by deleting the auto inserted *, in which case further space processing can proceed.

I think it should work, in which case I will add this fix to the next release.

vsch avatar May 19 '20 17:05 vsch

Thanks. I disabled the smart edit features for now. Thanks for the prompt follow-ups. Much appreciated!

jshook avatar May 19 '20 18:05 jshook