()
| 845 | } |
| 846 | |
| 847 | getLineNumbersExtension(): Extension { |
| 848 | const plugin = this.getPlugin(); |
| 849 | if (plugin && plugin.settings && plugin.settings.showLineNumbers) { |
| 850 | return [lineNumbers(), highlightActiveLineGutter()]; |
| 851 | } |
| 852 | return []; |
| 853 | } |
| 854 | |
| 855 | getFontSizeExtension(): Extension { |
| 856 | // 使用 EditorView.theme 统一设置所有元素的字体大小和行高 |
no test coverage detected