include warning about Rstudio visual editor?
pdparker opened this issue · comments
the visual editor really screws up the add-ins and often the md tagging. So sick of seeing {#}
Yeah that's annoying. You should get this warning in the latest verison:
It could trigger inappropriately as I'm looking to see whether context is empty or set to the console which appears to be what's causing the bug. Not sure if there is a better way to check whether in visual editor mode. But this should be appropriate in most cases.
I improved this warning. It was trigging on empty scripts which I didn't want. Now it checks to see whether a selection exists. When it doesn't it triggers the warning. I don't think this should misfire.