summaryrefslogtreecommitdiff
path: root/doc/classes/TextEdit.xml
diff options
context:
space:
mode:
authorRaul Santos <raulsntos@gmail.com>2022-12-07 16:11:39 +0100
committerRaul Santos <raulsntos@gmail.com>2023-01-27 02:04:17 +0100
commita968e514148f3b9be8c1bdff38fffe6972976df2 (patch)
tree5143496843474cd65ebf49e01c3d9ee6921ce1ba /doc/classes/TextEdit.xml
parent4788cb35c12d5e094fe1dd633066e27fd4be7734 (diff)
C#: Renames to follow .NET naming conventions
Renamed C# types and members to use PascalCase and follow .NET naming conventions.
Diffstat (limited to 'doc/classes/TextEdit.xml')
-rw-r--r--doc/classes/TextEdit.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/classes/TextEdit.xml b/doc/classes/TextEdit.xml
index ccd79cd170..dfbfce8c76 100644
--- a/doc/classes/TextEdit.xml
+++ b/doc/classes/TextEdit.xml
@@ -770,12 +770,12 @@
var column_number = result.x
[/gdscript]
[csharp]
- Vector2i result = Search("print", (uint)TextEdit.SearchFlags.WholeWords, 0, 0);
- if (result.Length &gt; 0)
+ Vector2I result = Search("print", (uint)TextEdit.SearchFlags.WholeWords, 0, 0);
+ if (result.X != -1)
{
// Result found.
- int lineNumber = result.y;
- int columnNumber = result.x;
+ int lineNumber = result.Y;
+ int columnNumber = result.X;
}
[/csharp]
[/codeblocks]