microsoft / RTVS

R Tools for Visual Studio.
MIT License
390 stars 118 forks source link

Text display overlay error when folding R code in VS2017 #4245

Closed shangzhi-hong closed 6 years ago

shangzhi-hong commented 6 years ago

Display of the folded code seems a little bit odd to me

VS 2017 15.5.1 RTVS 1.3.31108.1213

0 1

MikhailArkhipov commented 6 years ago

This is controlled by the core editor, RTVS only supplies text. Looks like editor expects single line only. I guess we should try and avoid showing more than a single line (i.e. remove line breaks in the collapsed rendering).

MikhailArkhipov commented 6 years ago

https://github.com/Microsoft/RTVS/commit/ca0b76341db3f3321ca99a0a6e5bc2d82852d867