如何增加RStudio编辑器的行高?
How to increase the line height of RStudio editor?
请问有没有什么方法可以增加RStudio中编码的行高。
有人说以下内容似乎适用于 active.rstheme:
#rstudio_source_text_editor div { line-height: 1.3 !important; }
所以我将它添加到 active.rstheme 的末尾,但它没有用。
将 line-height
添加到 .rstheme 文件中的 ace_editor
选择器对我有用。
.ace_editor, .rstudio-themes-flat.ace_editor_theme .profvis-flamegraph,
.rstudio-themes-flat.ace_editor_theme, .rstudio-themes-flat .ace_editor_theme {
background-color: #282c34;
color: #abb2bf;
line-height: 1.3 !important;
}
不过,也许还有更好的方法。
请问有没有什么方法可以增加RStudio中编码的行高。
有人说以下内容似乎适用于 active.rstheme:
#rstudio_source_text_editor div { line-height: 1.3 !important; }
所以我将它添加到 active.rstheme 的末尾,但它没有用。
将 line-height
添加到 .rstheme 文件中的 ace_editor
选择器对我有用。
.ace_editor, .rstudio-themes-flat.ace_editor_theme .profvis-flamegraph,
.rstudio-themes-flat.ace_editor_theme, .rstudio-themes-flat .ace_editor_theme {
background-color: #282c34;
color: #abb2bf;
line-height: 1.3 !important;
}
不过,也许还有更好的方法。