mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Implement BiDi override mode for GDScript source.
This commit is contained in:
parent
b5f3ac522e
commit
5361ec9f43
21 changed files with 178 additions and 55 deletions
|
@ -2086,6 +2086,7 @@ CodeTextEditor::CodeTextEditor() {
|
|||
text_editor = memnew(CodeEdit);
|
||||
add_child(text_editor);
|
||||
text_editor->set_v_size_flags(SIZE_EXPAND_FILL);
|
||||
text_editor->set_structured_text_bidi_override(TextServer::STRUCTURED_TEXT_GDSCRIPT);
|
||||
|
||||
int ot_mode = EDITOR_GET("interface/editor/code_font_contextual_ligatures");
|
||||
Ref<FontVariation> fc = text_editor->get_theme_font(SNAME("font"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue