Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: change the line height #2534

Closed
victorel-petrovich opened this issue Jun 7, 2015 · 4 comments
Closed

Feature: change the line height #2534

victorel-petrovich opened this issue Jun 7, 2015 · 4 comments

Comments

@victorel-petrovich
Copy link

It would be nice to have. The way it is, it is harder for me to read, as I need bigger line height. Simply increasing font does not help much.

Thanks for consideration

@nightwing
Copy link
Member

You can use editor.container.style.lineHeight = 3

@victorel-petrovich
Copy link
Author

Where can I use that? I use Caret https://github.com/thomaswilburn/Caret

@nightwing
Copy link
Member

you can select settings>custom theme menu and add "line-height": "3!important"
something like

{
  "dark": false,
  "editor": {
    "background-color": "#FFFFFF",
    "color": "black",
    "line-height": "2!important"
  },

and then select caret custom from themes dropdown menu
but this works only with one theme, maybe ask caret to allow adding any css to editor, e.g by using

styles: {
   ".ace_editor": {
    }
} 

in user preferences

@victorel-petrovich
Copy link
Author

The change to the custom theme works just fine, I will go with that.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants