Allow negative line spacing for the script editor in Editor Settings#76596
Conversation
|
I don't think this is a good workaround. Using negative |
There was a problem hiding this comment.
| EDITOR_SETTING(Variant::INT, PROPERTY_HINT_RANGE, "text_editor/appearance/whitespace/line_spacing", 4, "-10,50,1") | |
| EDITOR_SETTING(Variant::INT, PROPERTY_HINT_RANGE, "text_editor/appearance/whitespace/line_spacing", 4, "0,50,1,or_greater,or_lesser") |
Alternatively just let users type in negative numbers manually in the editor?
There was a problem hiding this comment.
I'm not sure, as this would allow using extremely large values that would make the editor look completely broken.
64e1b2a to
18d3e39
Compare
This can be used to make text even more compact with certain fonts.
18d3e39 to
9bbad45
Compare
I think it's better to fix the crash (which should be possible) if it still occurs on latest |
|
Thanks! |
This can be used to make text even more compact with certain fonts.
In the meantime, you can edit
editor_settings-4.treswhile the editor is closed and manually input a negative value fortext_editor/appearance/whitespace/line_spacing(add that line if it's not present in your configuration file).