[PATCH] D79139: [clangd] Fix whitespace between chunks in markdown paragraphs.
    Sam McCall via Phabricator via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Wed Apr 29 16:12:59 PDT 2020
    
    
  
sammccall created this revision.
sammccall added a reviewer: kadircet.
Herald added subscribers: cfe-commits, usaxena95, arphaman, jkorous, MaskRay, ilya-biryukov.
Herald added a project: clang.
Old model: chunks are always separated by one space.
  This makes it impossible to render "Foo `bar`." correctly.
New model: chunks are separated by space if the left had trailing space, or
  the right had leading space, or space was explicitly requested.
  (Only leading/trailing space in plaintext chunks count, not code)
Repository:
  rG LLVM Github Monorepo
https://reviews.llvm.org/D79139
Files:
  clang-tools-extra/clangd/FormattedString.cpp
  clang-tools-extra/clangd/FormattedString.h
  clang-tools-extra/clangd/Hover.cpp
  clang-tools-extra/clangd/unittests/FormattedStringTests.cpp
  clang-tools-extra/clangd/unittests/HoverTests.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79139.261077.patch
Type: text/x-patch
Size: 6152 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200429/5843587a/attachment-0001.bin>
    
    
More information about the cfe-commits
mailing list