Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
godot
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
community
godot
Commits
40f0649e
Commit
40f0649e
authored
Jan 15, 2020
by
Rémi Verschelde
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typos with codespell
Using codespell 1.16.0. See
ab3bccdb
for procedure.
parent
8d60f5a3
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
+7
-7
KinematicBody2D.xml
doc/classes/KinematicBody2D.xml
+1
-1
code_editor.cpp
editor/code_editor.cpp
+1
-1
gdscript_extend_parser.cpp
modules/gdscript/language_server/gdscript_extend_parser.cpp
+4
-4
dynamic_font.cpp
scene/resources/dynamic_font.cpp
+1
-1
No files found.
doc/classes/KinematicBody2D.xml
View file @
40f0649e
...
...
@@ -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"
>
...
...
editor/code_editor.cpp
View file @
40f0649e
...
...
@@ -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 om
m
itted 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
);
...
...
modules/gdscript/language_server/gdscript_extend_parser.cpp
View file @
40f0649e
...
...
@@ -539,16 +539,16 @@ Error ExtendGDScriptParser::get_left_function_call(const lsp::Position &p_positi
}
while
(
c
>=
0
)
{
const
CharType
&
charact
o
r
=
line
[
c
];
if
(
charact
o
r
==
')'
)
{
const
CharType
&
charact
e
r
=
line
[
c
];
if
(
charact
e
r
==
')'
)
{
++
bracket_stack
;
}
else
if
(
charact
o
r
==
'('
)
{
}
else
if
(
charact
e
r
==
'('
)
{
--
bracket_stack
;
if
(
bracket_stack
<
0
)
{
found
=
true
;
}
}
if
(
bracket_stack
<=
0
&&
charact
o
r
==
','
)
{
if
(
bracket_stack
<=
0
&&
charact
e
r
==
','
)
{
++
index
;
}
--
c
;
...
...
scene/resources/dynamic_font.cpp
View file @
40f0649e
...
...
@@ -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 chara
c
ter
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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment