Smarter Word Wrap for Markdown Syntax #24

Open
opened 2014-12-19 15:34:55 -06:00 by mike-ward · 2 comments
mike-ward commented 2014-12-19 15:34:55 -06:00 (Migrated from github.com)

Word wrap works fine but could be enhanced to account for front matter in lists: Example:

- now is the time
for all good ...

Prefer

- now is the time
  for all good ...

Perhaps an additional API? Something like InheritWordWrapWithFrontMatter? The API could take a list of front matter items maybe.

Word wrap works fine but could be enhanced to account for _front matter_ in lists: Example: ``` - now is the time for all good ... ``` Prefer ``` - now is the time for all good ... ``` Perhaps an additional API? Something like `InheritWordWrapWithFrontMatter`? The API could take a list of front matter items maybe.
mike-ward commented 2015-04-03 14:14:55 -05:00 (Migrated from github.com)

I was wondering if there was a way I could plugin to the word-wrapping and modify it. Can I supply my own word-wrapper?

I was wondering if there was a way I could plugin to the word-wrapping and modify it. Can I supply my own word-wrapper?
dgrunwald commented 2015-05-03 13:40:56 -05:00 (Migrated from github.com)

AvalonEdit will have to provide some callback so that user code can compute the word wrap indentation. (see TextView.BuildVisualLine for the existing word wrap indentation logic)

AvalonEdit will have to provide some callback so that user code can compute the word wrap indentation. (see `TextView.BuildVisualLine` for the existing word wrap indentation logic)
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-icsharpcode/AvalonEdit#24
No description provided.