想用CodeEdit做一个和外部接口对接代码补全的编辑器,例如:有一个Script的类,Script有成员函数Load,Save...等函数。我想在CodeEdit中输入Script.(点) 的时候,就能把成员函数都列出来。目前使用get_word_at_pos和add_code_completion_option可以列出成员函数,可是get_word_at_pos不能获取特殊符号,请教大佬指点思路。帖...
TextEdit: 多行文本编辑器。 CodeEdit: 一个专为编辑代码而设计的多行文本编辑器。 TextureRect: 一个显示纹理的控件。 Tree: 用于显示一组内部 TreeItem 的控件,以层次结构呈现。 VideoStreamPlayer: 用于视频播放的控件。 Node2D: 一个 2D 游戏对象,所有与 2D 相关的节点都继承自它。具有位置、旋转、缩放和倾...
Steps to reproduce Set up a CodeEdit with some long indented text, turn on wrapping and wrap indentation, make it wrap, set the font to something where you can configure the hinting, switch between Normal and the other settings. The indentation level of the wrapped text will likely be wrong...
{ public StartScene startScene;// UI节点private LineEdit phoneNumber; private LineEdit verificationCodeEdit; private Button sendCodeBtn; private CheckBox agreeCheckBox; private Button loginBtn; private TextureRect colorRect; private Label errorLabel; private Timer cooldownTimer; private int remainingSeconds...
GUI: 修复某些情况下 CodeEdit 完成非常缓慢的问题 (GH-80472). GUI: RTL: 移除条目/段落时使用列表迭代器提升性能 (GH-80857). GUI: 为 GUI 提示启用透明背景 (GH-81669). 导入: source_images 使用图像索引而不是纹理索引 (GH-80314). 输入: 阻止通过 Steam 输入时游戏手柄的二次输入问题 (GH-76045)....
Issue description When resizing a very large CodeEdit, doing any horizontal resizing takes a very long time, even though the glyph shaping/layout is not changing. It takes the same amount of time as it does when linewrapping is enabled, which is very suspicious and makes me think that it'...
##GDEditor-Godot4.0版 ## ## 扩展的编辑器插件开发类,可用于更好更快的开发编辑器插件[br]## 此版本另辟蹊径,简化了很多代码,只提供一些基础的界面元素引用和函数[br]## 更多的EditorPlugin、EditorInterFace、CodeEdit的函数将不再重复映射[br]## 作者:巽星石[br]## 创建时间:2023年4月2日19:16:57[br...
The CodeEdit::_update_delimiter_cache function accounts for about 10% of the execution time. The performance bottleneck lies in the String::length call, which leads to memory access (the length of the String is stored in CowData, located at the beginning of the data structure). Haven't tes...
GUI: 修复某些情况下 CodeEdit 完成非常缓慢的问题 (GH-80472). GUI: RTL: 移除条目/段落时使用列表迭代器提升性能 (GH-80857). GUI: 为 GUI 提示启用透明背景 (GH-81669). 导入: source_images 使用图像索引而不是纹理索引 (GH-80314). 输入: 阻止通过 Steam 输入时游戏手柄的二次输入问题 (GH-76045)....
(constStringName&)object.h:933CodeEdit::request_code_completion(bool)code_edit.cpp:2164CodeTextEditor::_code_complete_timer_timeout()code_editor.cpp:1008call_with_variant_args_helper<CodeTextEditor>(CodeTextEditor*,void(CodeTextEditor::*)(),constVariant**,Callable::CallError&,IndexSequence<>)...