Fix typos with codespell
Using codespell 1.16.0.
See ab3bccdb78
for procedure.
This commit is contained in:
parent
8d60f5a349
commit
40f0649e5b
4 changed files with 7 additions and 7 deletions
|
@ -17,7 +17,7 @@
|
|||
<return type="Vector2">
|
||||
</return>
|
||||
<description>
|
||||
Returns the normal vector of the floor.
|
||||
Returns the normal vector of the floor.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_floor_velocity" qualifiers="const">
|
||||
|
|
|
@ -1184,7 +1184,7 @@ void CodeTextEditor::move_lines_down() {
|
|||
|
||||
void CodeTextEditor::_delete_line(int p_line) {
|
||||
// this is currently intended to be called within delete_lines()
|
||||
// so `begin_complex_operation` is ommitted here
|
||||
// so `begin_complex_operation` is omitted here
|
||||
text_editor->set_line(p_line, "");
|
||||
if (p_line == 0 && text_editor->get_line_count() > 1) {
|
||||
text_editor->cursor_set_line(1);
|
||||
|
|
|
@ -539,16 +539,16 @@ Error ExtendGDScriptParser::get_left_function_call(const lsp::Position &p_positi
|
|||
}
|
||||
|
||||
while (c >= 0) {
|
||||
const CharType &charactor = line[c];
|
||||
if (charactor == ')') {
|
||||
const CharType &character = line[c];
|
||||
if (character == ')') {
|
||||
++bracket_stack;
|
||||
} else if (charactor == '(') {
|
||||
} else if (character == '(') {
|
||||
--bracket_stack;
|
||||
if (bracket_stack < 0) {
|
||||
found = true;
|
||||
}
|
||||
}
|
||||
if (bracket_stack <= 0 && charactor == ',') {
|
||||
if (bracket_stack <= 0 && character == ',') {
|
||||
++index;
|
||||
}
|
||||
--c;
|
||||
|
|
|
@ -314,7 +314,7 @@ float DynamicFontAtSize::draw_char(RID p_canvas_item, const Point2 &p_pos, CharT
|
|||
|
||||
float advance = 0.0;
|
||||
|
||||
// use normal character size if there's no outline charater
|
||||
// use normal character size if there's no outline character
|
||||
if (p_outline && !ch->found) {
|
||||
FT_GlyphSlot slot = face->glyph;
|
||||
int error = FT_Load_Char(face, p_char, FT_HAS_COLOR(face) ? FT_LOAD_COLOR : FT_LOAD_DEFAULT);
|
||||
|
|
Loading…
Reference in a new issue