@ringozz/godot 4.7.2-685 → 4.7.2-698
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +185 -185
- package/gen/classes/AESContext.ts +6 -6
- package/gen/classes/AStar2D.ts +25 -25
- package/gen/classes/AStar3D.ts +25 -25
- package/gen/classes/AStarGrid2D.ts +33 -33
- package/gen/classes/AcceptDialog.ts +23 -22
- package/gen/classes/AccessibilityServer.ts +79 -75
- package/gen/classes/AimModifier3D.ts +12 -12
- package/gen/classes/AnimatableBody2D.ts +2 -2
- package/gen/classes/AnimatableBody3D.ts +2 -2
- package/gen/classes/AnimatedSprite2D.ts +37 -37
- package/gen/classes/AnimatedSprite3D.ts +29 -29
- package/gen/classes/AnimatedTexture.ts +14 -14
- package/gen/classes/Animation.ts +102 -86
- package/gen/classes/AnimationLibrary.ts +15 -15
- package/gen/classes/AnimationMixer.ts +54 -54
- package/gen/classes/AnimationNode.ts +27 -27
- package/gen/classes/AnimationNodeAnimation.ts +16 -16
- package/gen/classes/AnimationNodeBlendSpace1D.ts +37 -27
- package/gen/classes/AnimationNodeBlendSpace2D.ts +48 -41
- package/gen/classes/AnimationNodeBlendTree.ts +14 -14
- package/gen/classes/AnimationNodeExtension.ts +2 -2
- package/gen/classes/AnimationNodeObserver.ts +10 -0
- package/gen/classes/AnimationNodeObserverBlendSpace.ts +18 -0
- package/gen/classes/AnimationNodeObserverOneShot.ts +36 -0
- package/gen/classes/AnimationNodeObserverTransition.ts +24 -0
- package/gen/classes/AnimationNodeOneShot.ts +34 -22
- package/gen/classes/AnimationNodeOutput.ts +2 -2
- package/gen/classes/AnimationNodeStateMachine.ts +28 -28
- package/gen/classes/AnimationNodeStateMachinePlayback.ts +20 -20
- package/gen/classes/AnimationNodeStateMachineTransition.ts +22 -22
- package/gen/classes/AnimationNodeSub2.ts +2 -2
- package/gen/classes/AnimationNodeSync.ts +4 -4
- package/gen/classes/AnimationNodeTimeScale.ts +2 -2
- package/gen/classes/AnimationNodeTimeSeek.ts +4 -4
- package/gen/classes/AnimationNodeTransition.ts +28 -16
- package/gen/classes/AnimationPlayer.ts +67 -60
- package/gen/classes/AnimationRootNode.ts +2 -2
- package/gen/classes/AnimationTree.ts +12 -12
- package/gen/classes/Area2D.ts +55 -55
- package/gen/classes/Area3D.ts +69 -69
- package/gen/classes/AreaLight3D.ts +13 -13
- package/gen/classes/ArrayMesh.ts +28 -28
- package/gen/classes/ArrayOccluder3D.ts +7 -7
- package/gen/classes/AspectRatioContainer.ts +10 -10
- package/gen/classes/AtlasTexture.ts +10 -10
- package/gen/classes/AudioBusLayout.ts +2 -2
- package/gen/classes/AudioEffect.ts +2 -2
- package/gen/classes/AudioEffectAmplify.ts +6 -6
- package/gen/classes/AudioEffectBandLimitFilter.ts +2 -2
- package/gen/classes/AudioEffectBandPassFilter.ts +2 -2
- package/gen/classes/AudioEffectCapture.ts +11 -11
- package/gen/classes/AudioEffectChorus.ts +20 -20
- package/gen/classes/AudioEffectCompressor.ts +16 -16
- package/gen/classes/AudioEffectDelay.ts +28 -28
- package/gen/classes/AudioEffectDistortion.ts +12 -12
- package/gen/classes/AudioEffectEQ.ts +5 -5
- package/gen/classes/AudioEffectEQ10.ts +2 -2
- package/gen/classes/AudioEffectEQ21.ts +2 -2
- package/gen/classes/AudioEffectEQ6.ts +2 -2
- package/gen/classes/AudioEffectFilter.ts +10 -10
- package/gen/classes/AudioEffectHardLimiter.ts +8 -8
- package/gen/classes/AudioEffectHighPassFilter.ts +2 -2
- package/gen/classes/AudioEffectHighShelfFilter.ts +2 -2
- package/gen/classes/AudioEffectInstance.ts +2 -2
- package/gen/classes/AudioEffectLimiter.ts +10 -10
- package/gen/classes/AudioEffectLowPassFilter.ts +2 -2
- package/gen/classes/AudioEffectLowShelfFilter.ts +2 -2
- package/gen/classes/AudioEffectNotchFilter.ts +2 -2
- package/gen/classes/AudioEffectPanner.ts +4 -4
- package/gen/classes/AudioEffectPhaser.ts +12 -12
- package/gen/classes/AudioEffectPitchShift.ts +8 -8
- package/gen/classes/AudioEffectRecord.ts +7 -7
- package/gen/classes/AudioEffectReverb.ts +18 -18
- package/gen/classes/AudioEffectSpectrumAnalyzer.ts +6 -6
- package/gen/classes/AudioEffectSpectrumAnalyzerInstance.ts +2 -2
- package/gen/classes/AudioEffectStereoEnhance.ts +8 -8
- package/gen/classes/AudioListener2D.ts +5 -5
- package/gen/classes/AudioListener3D.ts +8 -8
- package/gen/classes/AudioSample.ts +2 -2
- package/gen/classes/AudioSamplePlayback.ts +2 -2
- package/gen/classes/AudioServer.ts +63 -63
- package/gen/classes/AudioStream.ts +10 -10
- package/gen/classes/AudioStreamGenerator.ts +8 -8
- package/gen/classes/AudioStreamGeneratorPlayback.ts +7 -7
- package/gen/classes/AudioStreamInteractive.ts +25 -25
- package/gen/classes/AudioStreamMP3.ts +16 -16
- package/gen/classes/AudioStreamMicrophone.ts +2 -2
- package/gen/classes/AudioStreamOggVorbis.ts +18 -18
- package/gen/classes/AudioStreamPlayback.ts +11 -11
- package/gen/classes/AudioStreamPlaybackInteractive.ts +4 -4
- package/gen/classes/AudioStreamPlaybackOggVorbis.ts +2 -2
- package/gen/classes/AudioStreamPlaybackPlaylist.ts +1 -1
- package/gen/classes/AudioStreamPlaybackPolyphonic.ts +6 -6
- package/gen/classes/AudioStreamPlaybackResampled.ts +3 -3
- package/gen/classes/AudioStreamPlaybackSynchronized.ts +1 -1
- package/gen/classes/AudioStreamPlayer.ts +32 -32
- package/gen/classes/AudioStreamPlayer2D.ts +38 -38
- package/gen/classes/AudioStreamPlayer3D.ts +54 -54
- package/gen/classes/AudioStreamPlaylist.ts +139 -139
- package/gen/classes/AudioStreamPolyphonic.ts +4 -4
- package/gen/classes/AudioStreamRandomizer.ts +19 -19
- package/gen/classes/AudioStreamSynchronized.ts +8 -8
- package/gen/classes/AudioStreamWAV.ts +21 -21
- package/gen/classes/AwaitTweener.ts +3 -3
- package/gen/classes/BackBufferCopy.ts +6 -6
- package/gen/classes/BaseButton.ts +39 -33
- package/gen/classes/BaseMaterial3D.ts +283 -268
- package/gen/classes/BitMap.ts +17 -17
- package/gen/classes/BlitMaterial.ts +8 -4
- package/gen/classes/Bone2D.ts +13 -13
- package/gen/classes/BoneAttachment3D.ts +14 -14
- package/gen/classes/BoneConstraint3D.ts +26 -26
- package/gen/classes/BoneMap.ts +11 -11
- package/gen/classes/BoneSpaceAdjuster3D.ts +76 -0
- package/gen/classes/BoneTwistDisperser3D.ts +36 -36
- package/gen/classes/BoxContainer.ts +13 -7
- package/gen/classes/BoxMesh.ts +10 -10
- package/gen/classes/BoxOccluder3D.ts +4 -4
- package/gen/classes/BoxShape3D.ts +4 -4
- package/gen/classes/Button.ts +28 -28
- package/gen/classes/ButtonGroup.ts +8 -8
- package/gen/classes/CCDIK3D.ts +2 -2
- package/gen/classes/CPUParticles2D.ts +145 -145
- package/gen/classes/CPUParticles3D.ts +162 -162
- package/gen/classes/CSGBox3D.ts +6 -6
- package/gen/classes/CSGCombiner3D.ts +2 -2
- package/gen/classes/CSGCylinder3D.ts +14 -14
- package/gen/classes/CSGMesh3D.ts +6 -6
- package/gen/classes/CSGPolygon3D.ts +36 -36
- package/gen/classes/CSGPrimitive3D.ts +3 -3
- package/gen/classes/CSGShape3D.ts +27 -27
- package/gen/classes/CSGSphere3D.ts +12 -12
- package/gen/classes/CSGTorus3D.ts +14 -14
- package/gen/classes/CallbackTweener.ts +3 -3
- package/gen/classes/Camera2D.ts +66 -66
- package/gen/classes/Camera3D.ts +53 -53
- package/gen/classes/CameraAttributes.ts +12 -12
- package/gen/classes/CameraAttributesPhysical.ts +21 -21
- package/gen/classes/CameraAttributesPractical.ts +20 -20
- package/gen/classes/CameraFeed.ts +23 -23
- package/gen/classes/CameraServer.ts +15 -15
- package/gen/classes/CameraTexture.ts +8 -8
- package/gen/classes/CanvasGroup.ts +8 -8
- package/gen/classes/CanvasItem.ts +115 -113
- package/gen/classes/CanvasItemMaterial.ts +14 -14
- package/gen/classes/CanvasLayer.ts +27 -27
- package/gen/classes/CanvasModulate.ts +4 -4
- package/gen/classes/CanvasTexture.ts +16 -16
- package/gen/classes/CapsuleMesh.ts +10 -10
- package/gen/classes/CapsuleShape2D.ts +8 -8
- package/gen/classes/CapsuleShape3D.ts +8 -8
- package/gen/classes/CenterContainer.ts +4 -4
- package/gen/classes/ChainIK3D.ts +18 -18
- package/gen/classes/CharFXTransform.ts +28 -28
- package/gen/classes/CharacterBody2D.ts +50 -50
- package/gen/classes/CharacterBody3D.ts +51 -51
- package/gen/classes/CheckBox.ts +2 -2
- package/gen/classes/CheckButton.ts +2 -2
- package/gen/classes/CircleShape2D.ts +4 -4
- package/gen/classes/ClassDB.ts +38 -32
- package/gen/classes/CodeEdit.ts +126 -126
- package/gen/classes/CodeHighlighter.ts +30 -30
- package/gen/classes/CollisionObject2D.ts +52 -52
- package/gen/classes/CollisionObject3D.ts +44 -44
- package/gen/classes/CollisionPolygon2D.ts +14 -14
- package/gen/classes/CollisionPolygon3D.ts +14 -14
- package/gen/classes/CollisionShape2D.ts +14 -14
- package/gen/classes/CollisionShape3D.ts +12 -12
- package/gen/classes/ColorPalette.ts +4 -4
- package/gen/classes/ColorPicker.ts +38 -38
- package/gen/classes/ColorPickerButton.ts +16 -16
- package/gen/classes/ColorRect.ts +4 -4
- package/gen/classes/Compositor.ts +4 -4
- package/gen/classes/CompositorEffect.ts +16 -16
- package/gen/classes/CompressedCubemap.ts +2 -2
- package/gen/classes/CompressedCubemapArray.ts +2 -2
- package/gen/classes/CompressedTexture2D.ts +4 -4
- package/gen/classes/CompressedTexture2DArray.ts +2 -2
- package/gen/classes/CompressedTexture3D.ts +4 -4
- package/gen/classes/CompressedTextureLayered.ts +3 -3
- package/gen/classes/ConcavePolygonShape2D.ts +4 -4
- package/gen/classes/ConcavePolygonShape3D.ts +6 -6
- package/gen/classes/ConeTwistJoint3D.ts +12 -12
- package/gen/classes/ConfigFile.ts +19 -19
- package/gen/classes/ConfirmationDialog.ts +6 -5
- package/gen/classes/Container.ts +10 -10
- package/gen/classes/Control.ts +280 -240
- package/gen/classes/ConvertTransformModifier3D.ts +42 -29
- package/gen/classes/ConvexPolygonShape2D.ts +5 -5
- package/gen/classes/ConvexPolygonShape3D.ts +4 -4
- package/gen/classes/CopyTransformModifier3D.ts +59 -46
- package/gen/classes/Crypto.ts +11 -11
- package/gen/classes/CryptoKey.ts +7 -7
- package/gen/classes/Cubemap.ts +3 -3
- package/gen/classes/CubemapArray.ts +3 -3
- package/gen/classes/Curve.ts +38 -38
- package/gen/classes/Curve2D.ts +25 -25
- package/gen/classes/Curve3D.ts +34 -34
- package/gen/classes/CurveTexture.ts +8 -8
- package/gen/classes/CurveXYZTexture.ts +10 -10
- package/gen/classes/CylinderMesh.ts +16 -16
- package/gen/classes/CylinderShape3D.ts +6 -6
- package/gen/classes/DPITexture.ts +17 -17
- package/gen/classes/DTLSServer.ts +4 -4
- package/gen/classes/DampedSpringJoint2D.ts +10 -10
- package/gen/classes/Decal.ts +32 -32
- package/gen/classes/DirAccess.ts +43 -43
- package/gen/classes/DirectionalLight2D.ts +6 -6
- package/gen/classes/DirectionalLight3D.ts +24 -24
- package/gen/classes/DisplayServer.ts +392 -326
- package/gen/classes/DrawableTexture2D.ts +10 -10
- package/gen/classes/ENetConnection.ts +20 -20
- package/gen/classes/ENetMultiplayerPeer.ts +9 -9
- package/gen/classes/ENetPacketPeer.ts +18 -18
- package/gen/classes/EncodedObjectAsID.ts +4 -4
- package/gen/classes/Engine.ts +43 -43
- package/gen/classes/EngineDebugger.ts +25 -25
- package/gen/classes/EngineProfiler.ts +2 -2
- package/gen/classes/Environment.ts +190 -190
- package/gen/classes/Expression.ts +6 -6
- package/gen/classes/ExternalTexture.ts +6 -6
- package/gen/classes/FABRIK3D.ts +2 -2
- package/gen/classes/FBXDocument.ts +2 -2
- package/gen/classes/FBXState.ts +4 -4
- package/gen/classes/FastNoiseLite.ts +44 -44
- package/gen/classes/FileAccess.ts +69 -69
- package/gen/classes/FileDialog.ts +113 -79
- package/gen/classes/FlowContainer.ts +11 -11
- package/gen/classes/FogMaterial.ts +14 -14
- package/gen/classes/FogVolume.ts +8 -8
- package/gen/classes/FoldableContainer.ts +35 -24
- package/gen/classes/FoldableGroup.ts +8 -8
- package/gen/classes/Font.ts +38 -38
- package/gen/classes/FontFile.ts +113 -113
- package/gen/classes/FontVariation.ts +28 -28
- package/gen/classes/FramebufferCacheRD.ts +3 -3
- package/gen/classes/FuzzySearch.ts +86 -0
- package/gen/classes/FuzzySearchMatch.ts +36 -0
- package/gen/classes/GDExtension.ts +4 -4
- package/gen/classes/GDExtensionManager.ts +15 -15
- package/gen/classes/GDScript.ts +3 -3
- package/gen/classes/GLTFAccessor.ts +34 -34
- package/gen/classes/GLTFAnimation.ts +8 -8
- package/gen/classes/GLTFBufferView.ts +17 -17
- package/gen/classes/GLTFCamera.ts +16 -16
- package/gen/classes/GLTFDocument.ts +27 -27
- package/gen/classes/GLTFDocumentExtension.ts +2 -2
- package/gen/classes/GLTFDocumentExtensionConvertImporterMesh.ts +2 -2
- package/gen/classes/GLTFLight.ts +20 -20
- package/gen/classes/GLTFMesh.ts +12 -12
- package/gen/classes/GLTFNode.ts +34 -34
- package/gen/classes/GLTFObjectModelProperty.ts +20 -20
- package/gen/classes/GLTFPhysicsBody.ts +22 -22
- package/gen/classes/GLTFPhysicsShape.ts +25 -25
- package/gen/classes/GLTFSkeleton.ts +13 -13
- package/gen/classes/GLTFSkin.ts +22 -22
- package/gen/classes/GLTFSpecGloss.ts +12 -12
- package/gen/classes/GLTFState.ts +74 -74
- package/gen/classes/GLTFTexture.ts +6 -6
- package/gen/classes/GLTFTextureSampler.ts +10 -10
- package/gen/classes/GPUParticles2D.ts +63 -62
- package/gen/classes/GPUParticles3D.ts +81 -76
- package/gen/classes/GPUParticlesAttractor3D.ts +9 -9
- package/gen/classes/GPUParticlesAttractorBox3D.ts +4 -4
- package/gen/classes/GPUParticlesAttractorSphere3D.ts +4 -4
- package/gen/classes/GPUParticlesAttractorVectorField3D.ts +6 -6
- package/gen/classes/GPUParticlesCollision3D.ts +3 -3
- package/gen/classes/GPUParticlesCollisionBox3D.ts +4 -4
- package/gen/classes/GPUParticlesCollisionHeightField3D.ts +14 -14
- package/gen/classes/GPUParticlesCollisionSDF3D.ts +14 -14
- package/gen/classes/GPUParticlesCollisionSphere3D.ts +4 -4
- package/gen/classes/Generic6DOFJoint3D.ts +54 -16
- package/gen/classes/Geometry2D.ts +26 -26
- package/gen/classes/Geometry3D.ts +17 -17
- package/gen/classes/GeometryInstance3D.ts +36 -36
- package/gen/classes/GodotInstance.ts +8 -8
- package/gen/classes/Gradient.ts +19 -19
- package/gen/classes/GradientTexture1D.ts +8 -8
- package/gen/classes/GradientTexture2D.ts +18 -18
- package/gen/classes/GraphEdit.ts +116 -116
- package/gen/classes/GraphElement.ts +30 -30
- package/gen/classes/GraphFrame.ts +17 -17
- package/gen/classes/GraphNode.ts +48 -48
- package/gen/classes/GridContainer.ts +4 -4
- package/gen/classes/GridMap.ts +76 -64
- package/gen/classes/GrooveJoint2D.ts +6 -6
- package/gen/classes/HBoxContainer.ts +2 -2
- package/gen/classes/HFlowContainer.ts +2 -2
- package/gen/classes/HMACContext.ts +5 -5
- package/gen/classes/HScrollBar.ts +2 -2
- package/gen/classes/HSeparator.ts +2 -2
- package/gen/classes/HSlider.ts +2 -2
- package/gen/classes/HSplitContainer.ts +2 -2
- package/gen/classes/HTTPClient.ts +25 -25
- package/gen/classes/HTTPRequest.ts +42 -28
- package/gen/classes/HashingContext.ts +5 -5
- package/gen/classes/HeightMapShape3D.ts +12 -12
- package/gen/classes/HingeJoint3D.ts +6 -6
- package/gen/classes/IKModifier3D.ts +8 -7
- package/gen/classes/IP.ts +12 -12
- package/gen/classes/Image.ts +124 -88
- package/gen/classes/ImageFormatLoader.ts +1 -1
- package/gen/classes/ImageFormatLoaderExtension.ts +4 -4
- package/gen/classes/ImageTexture.ts +8 -8
- package/gen/classes/ImageTexture3D.ts +4 -4
- package/gen/classes/ImageTextureLayered.ts +3 -3
- package/gen/classes/ImmediateMesh.ts +12 -12
- package/gen/classes/ImporterMesh.ts +27 -27
- package/gen/classes/ImporterMeshInstance3D.ts +22 -22
- package/gen/classes/Input.ts +174 -109
- package/gen/classes/InputEvent.ts +17 -17
- package/gen/classes/InputEventAction.ts +10 -10
- package/gen/classes/InputEventFromWindow.ts +3 -3
- package/gen/classes/InputEventGesture.ts +3 -3
- package/gen/classes/InputEventJoypadButton.ts +8 -8
- package/gen/classes/InputEventJoypadMotion.ts +6 -6
- package/gen/classes/InputEventKey.ts +31 -31
- package/gen/classes/InputEventMIDI.ts +18 -18
- package/gen/classes/InputEventMagnifyGesture.ts +4 -4
- package/gen/classes/InputEventMouse.ts +7 -7
- package/gen/classes/InputEventMouseButton.ts +12 -12
- package/gen/classes/InputEventMouseMotion.ts +16 -16
- package/gen/classes/InputEventPanGesture.ts +4 -4
- package/gen/classes/InputEventScreenDrag.ts +20 -20
- package/gen/classes/InputEventScreenTouch.ts +19 -12
- package/gen/classes/InputEventShortcut.ts +4 -4
- package/gen/classes/InputEventWithModifiers.ts +13 -13
- package/gen/classes/InputMap.ts +18 -18
- package/gen/classes/InstancePlaceholder.ts +4 -4
- package/gen/classes/IntervalTweener.ts +2 -2
- package/gen/classes/ItemList.ts +97 -97
- package/gen/classes/IterateIK3D.ts +40 -26
- package/gen/classes/JNISingleton.ts +3 -3
- package/gen/classes/JSON.ts +17 -17
- package/gen/classes/JSONRPC.ts +9 -9
- package/gen/classes/JacobianIK3D.ts +2 -2
- package/gen/classes/JavaClass.ts +6 -6
- package/gen/classes/JavaClassWrapper.ts +6 -6
- package/gen/classes/JavaObject.ts +4 -4
- package/gen/classes/JavaScriptBridge.ts +14 -14
- package/gen/classes/JavaScriptObject.ts +1 -1
- package/gen/classes/Joint2D.ts +10 -10
- package/gen/classes/Joint3D.ts +14 -12
- package/gen/classes/JointLimitation3D.ts +2 -2
- package/gen/classes/JointLimitationCone3D.ts +4 -4
- package/gen/classes/KinematicCollision2D.ts +15 -15
- package/gen/classes/KinematicCollision3D.ts +16 -16
- package/gen/classes/Label.ts +74 -51
- package/gen/classes/Label3D.ts +69 -69
- package/gen/classes/LabelSettings.ts +43 -43
- package/gen/classes/Light2D.ts +33 -33
- package/gen/classes/Light3D.ts +73 -57
- package/gen/classes/LightOccluder2D.ts +8 -8
- package/gen/classes/LightmapGI.ts +59 -47
- package/gen/classes/LightmapGIData.ts +20 -20
- package/gen/classes/LightmapProbe.ts +2 -2
- package/gen/classes/Lightmapper.ts +1 -1
- package/gen/classes/LightmapperRD.ts +2 -2
- package/gen/classes/LimitAngularVelocityModifier3D.ts +19 -19
- package/gen/classes/Line2D.ts +36 -36
- package/gen/classes/LineBase3D.ts +67 -0
- package/gen/classes/LineEdit.ts +108 -108
- package/gen/classes/LinkButton.ts +20 -20
- package/gen/classes/Logger.ts +2 -2
- package/gen/classes/LookAtModifier3D.ts +76 -68
- package/gen/classes/MainLoop.ts +4 -4
- package/gen/classes/MarginContainer.ts +2 -2
- package/gen/classes/Marker2D.ts +5 -5
- package/gen/classes/Marker3D.ts +5 -5
- package/gen/classes/Marshalls.ts +8 -8
- package/gen/classes/Material.ts +8 -8
- package/gen/classes/MenuBar.ts +26 -26
- package/gen/classes/MenuButton.ts +11 -11
- package/gen/classes/Mesh.ts +27 -23
- package/gen/classes/MeshConvexDecompositionSettings.ts +28 -28
- package/gen/classes/MeshDataTool.ts +40 -40
- package/gen/classes/MeshInstance2D.ts +8 -8
- package/gen/classes/MeshInstance3D.ts +23 -23
- package/gen/classes/MeshLibrary.ts +38 -28
- package/gen/classes/MeshTexture.ts +8 -8
- package/gen/classes/MethodTweener.ts +5 -5
- package/gen/classes/MissingNode.ts +10 -10
- package/gen/classes/MissingResource.ts +6 -6
- package/gen/classes/MobileVRInterface.ts +22 -22
- package/gen/classes/ModifierBoneTarget3D.ts +6 -6
- package/gen/classes/MovieWriter.ts +3 -3
- package/gen/classes/MultiMesh.ts +40 -40
- package/gen/classes/MultiMeshInstance2D.ts +8 -8
- package/gen/classes/MultiMeshInstance3D.ts +4 -4
- package/gen/classes/MultiplayerAPI.ts +25 -25
- package/gen/classes/MultiplayerAPIExtension.ts +2 -2
- package/gen/classes/MultiplayerPeer.ts +23 -23
- package/gen/classes/MultiplayerPeerExtension.ts +2 -2
- package/gen/classes/MultiplayerSpawner.ts +17 -17
- package/gen/classes/MultiplayerSynchronizer.ts +25 -25
- package/gen/classes/Mutex.ts +5 -5
- package/gen/classes/NativeMenu.ts +84 -71
- package/gen/classes/NavigationAgent2D.ts +98 -98
- package/gen/classes/NavigationAgent3D.ts +104 -104
- package/gen/classes/NavigationLink2D.ts +26 -26
- package/gen/classes/NavigationLink3D.ts +26 -26
- package/gen/classes/NavigationMesh.ts +62 -62
- package/gen/classes/NavigationMeshGenerator.ts +6 -6
- package/gen/classes/NavigationMeshSourceGeometryData2D.ts +18 -18
- package/gen/classes/NavigationMeshSourceGeometryData3D.ts +18 -18
- package/gen/classes/NavigationObstacle2D.ts +24 -23
- package/gen/classes/NavigationObstacle3D.ts +31 -30
- package/gen/classes/NavigationPathQueryParameters2D.ts +34 -34
- package/gen/classes/NavigationPathQueryParameters3D.ts +34 -34
- package/gen/classes/NavigationPathQueryResult2D.ts +13 -13
- package/gen/classes/NavigationPathQueryResult3D.ts +13 -13
- package/gen/classes/NavigationPolygon.ts +44 -44
- package/gen/classes/NavigationRegion2D.ts +28 -28
- package/gen/classes/NavigationRegion3D.ts +28 -28
- package/gen/classes/NavigationServer2D.ts +157 -157
- package/gen/classes/NavigationServer2DManager.ts +4 -4
- package/gen/classes/NavigationServer3D.ts +176 -176
- package/gen/classes/NavigationServer3DManager.ts +4 -4
- package/gen/classes/NinePatchRect.ts +22 -22
- package/gen/classes/Node.ts +145 -145
- package/gen/classes/Node2D.ts +37 -37
- package/gen/classes/Node3D.ts +75 -75
- package/gen/classes/Node3DGizmo.ts +1 -1
- package/gen/classes/Noise.ts +10 -10
- package/gen/classes/NoiseTexture2D.ts +26 -26
- package/gen/classes/NoiseTexture3D.ts +20 -20
- package/gen/classes/ORMMaterial3D.ts +2 -2
- package/gen/classes/OS.ts +101 -90
- package/gen/classes/Object.ts +60 -60
- package/gen/classes/Occluder3D.ts +3 -3
- package/gen/classes/OccluderInstance3D.ts +10 -10
- package/gen/classes/OccluderPolygon2D.ts +8 -8
- package/gen/classes/OfflineMultiplayerPeer.ts +2 -2
- package/gen/classes/OggPacketSequence.ts +9 -9
- package/gen/classes/OggPacketSequencePlayback.ts +2 -2
- package/gen/classes/OmniLight3D.ts +8 -8
- package/gen/classes/OpenXRAPIExtension.ts +58 -53
- package/gen/classes/OpenXRAction.ts +8 -8
- package/gen/classes/OpenXRActionBindingModifier.ts +2 -2
- package/gen/classes/OpenXRActionMap.ts +17 -17
- package/gen/classes/OpenXRActionSet.ts +11 -11
- package/gen/classes/OpenXRAnalogThresholdModifier.ts +10 -10
- package/gen/classes/OpenXRAnchorTracker.ts +7 -7
- package/gen/classes/OpenXRAndroidThreadSettingsExtension.ts +3 -3
- package/gen/classes/OpenXRBindingModifier.ts +1 -1
- package/gen/classes/OpenXRCompositionLayer.ts +42 -42
- package/gen/classes/OpenXRCompositionLayerCylinder.ts +10 -10
- package/gen/classes/OpenXRCompositionLayerEquirect.ts +12 -12
- package/gen/classes/OpenXRCompositionLayerQuad.ts +4 -4
- package/gen/classes/OpenXRDpadBindingModifier.ts +20 -20
- package/gen/classes/OpenXRExtensionWrapper.ts +6 -5
- package/gen/classes/OpenXRExtensionWrapperExtension.ts +2 -2
- package/gen/classes/OpenXRFoveatedInsetViewport.ts +26 -0
- package/gen/classes/OpenXRFrameSynthesisExtension.ts +8 -8
- package/gen/classes/OpenXRFutureExtension.ts +5 -5
- package/gen/classes/OpenXRFutureResult.ts +8 -8
- package/gen/classes/OpenXRHand.ts +12 -12
- package/gen/classes/OpenXRHapticBase.ts +1 -1
- package/gen/classes/OpenXRHapticVibration.ts +8 -8
- package/gen/classes/OpenXRIPBinding.ts +16 -16
- package/gen/classes/OpenXRIPBindingModifier.ts +2 -2
- package/gen/classes/OpenXRInteractionProfile.ts +12 -12
- package/gen/classes/OpenXRInteractionProfileMetadata.ts +7 -7
- package/gen/classes/OpenXRInterface.ts +100 -63
- package/gen/classes/OpenXRMarkerTracker.ts +12 -12
- package/gen/classes/OpenXRPlaneTracker.ts +26 -16
- package/gen/classes/OpenXRRenderModel.ts +7 -7
- package/gen/classes/OpenXRRenderModelExtension.ts +21 -21
- package/gen/classes/OpenXRRenderModelManager.ts +10 -10
- package/gen/classes/OpenXRSpatialAnchorCapability.ts +15 -15
- package/gen/classes/OpenXRSpatialCapabilityConfigurationAnchor.ts +3 -3
- package/gen/classes/OpenXRSpatialCapabilityConfigurationAprilTag.ts +5 -5
- package/gen/classes/OpenXRSpatialCapabilityConfigurationAruco.ts +23 -23
- package/gen/classes/OpenXRSpatialCapabilityConfigurationBaseHeader.ts +4 -4
- package/gen/classes/OpenXRSpatialCapabilityConfigurationMicroQrCode.ts +3 -3
- package/gen/classes/OpenXRSpatialCapabilityConfigurationPlaneTracking.ts +6 -6
- package/gen/classes/OpenXRSpatialCapabilityConfigurationQrCode.ts +3 -3
- package/gen/classes/OpenXRSpatialComponentAnchorList.ts +3 -3
- package/gen/classes/OpenXRSpatialComponentBounded2DList.ts +4 -4
- package/gen/classes/OpenXRSpatialComponentBounded3DList.ts +4 -4
- package/gen/classes/OpenXRSpatialComponentData.ts +4 -4
- package/gen/classes/OpenXRSpatialComponentMarkerList.ts +7 -7
- package/gen/classes/OpenXRSpatialComponentMesh2DList.ts +5 -5
- package/gen/classes/OpenXRSpatialComponentMesh3DList.ts +4 -4
- package/gen/classes/OpenXRSpatialComponentParentList.ts +3 -3
- package/gen/classes/OpenXRSpatialComponentPersistenceList.ts +4 -4
- package/gen/classes/OpenXRSpatialComponentPlaneAlignmentList.ts +3 -3
- package/gen/classes/OpenXRSpatialComponentPlaneSemanticLabelList.ts +3 -3
- package/gen/classes/OpenXRSpatialComponentPolygon2DList.ts +4 -4
- package/gen/classes/OpenXRSpatialContainerExtension.ts +92 -0
- package/gen/classes/OpenXRSpatialContainerSelfRenderingExtension.ts +19 -0
- package/gen/classes/OpenXRSpatialContainerState.ts +43 -0
- package/gen/classes/OpenXRSpatialContextPersistenceConfig.ts +5 -5
- package/gen/classes/OpenXRSpatialEntityExtension.ts +63 -32
- package/gen/classes/OpenXRSpatialEntityTracker.ts +15 -15
- package/gen/classes/OpenXRSpatialMarkerTrackingCapability.ts +47 -9
- package/gen/classes/OpenXRSpatialPlaneTrackingCapability.ts +20 -4
- package/gen/classes/OpenXRSpatialQueryResultData.ts +5 -5
- package/gen/classes/OpenXRStructureBase.ts +10 -5
- package/gen/classes/OpenXRVisibilityMask.ts +2 -2
- package/gen/classes/OptimizedTranslation.ts +3 -3
- package/gen/classes/OptionButton.ts +51 -51
- package/gen/classes/PCKPacker.ts +7 -7
- package/gen/classes/PackedDataContainer.ts +4 -4
- package/gen/classes/PackedDataContainerRef.ts +2 -2
- package/gen/classes/PackedScene.ts +6 -6
- package/gen/classes/PacketPeer.ts +10 -10
- package/gen/classes/PacketPeerDTLS.ts +7 -7
- package/gen/classes/PacketPeerExtension.ts +2 -2
- package/gen/classes/PacketPeerStream.ts +9 -9
- package/gen/classes/PacketPeerUDP.ts +16 -16
- package/gen/classes/Panel.ts +2 -2
- package/gen/classes/PanelContainer.ts +2 -2
- package/gen/classes/PanoramaSkyMaterial.ts +8 -8
- package/gen/classes/Parallax2D.ts +22 -22
- package/gen/classes/ParallaxBackground.ts +14 -14
- package/gen/classes/ParallaxLayer.ts +9 -9
- package/gen/classes/ParticleProcessMaterial.ts +269 -253
- package/gen/classes/Path2D.ts +4 -4
- package/gen/classes/Path3D.ts +10 -10
- package/gen/classes/PathFollow2D.ts +16 -16
- package/gen/classes/PathFollow3D.ts +21 -21
- package/gen/classes/Performance.ts +15 -11
- package/gen/classes/PhysicalBone2D.ts +14 -14
- package/gen/classes/PhysicalBone3D.ts +45 -39
- package/gen/classes/PhysicalBoneSimulator3D.ts +7 -7
- package/gen/classes/PhysicalSkyMaterial.ts +24 -24
- package/gen/classes/PhysicsBody2D.ts +7 -7
- package/gen/classes/PhysicsBody3D.ts +19 -19
- package/gen/classes/PhysicsCastMotionResult2D.ts +25 -0
- package/gen/classes/PhysicsCastMotionResult3D.ts +25 -0
- package/gen/classes/PhysicsCollideShapeResult2D.ts +38 -0
- package/gen/classes/PhysicsCollideShapeResult3D.ts +38 -0
- package/gen/classes/PhysicsDirectBodyState2D.ts +49 -49
- package/gen/classes/PhysicsDirectBodyState2DExtension.ts +2 -2
- package/gen/classes/PhysicsDirectBodyState3D.ts +51 -51
- package/gen/classes/PhysicsDirectBodyState3DExtension.ts +2 -2
- package/gen/classes/PhysicsDirectSpaceState2D.ts +61 -14
- package/gen/classes/PhysicsDirectSpaceState2DExtension.ts +3 -3
- package/gen/classes/PhysicsDirectSpaceState3D.ts +64 -15
- package/gen/classes/PhysicsDirectSpaceState3DExtension.ts +3 -3
- package/gen/classes/PhysicsGetRestInfoResult2D.ts +48 -0
- package/gen/classes/PhysicsGetRestInfoResult3D.ts +48 -0
- package/gen/classes/PhysicsIntersectPointResult2D.ts +49 -0
- package/gen/classes/PhysicsIntersectPointResult3D.ts +49 -0
- package/gen/classes/PhysicsIntersectRayResult2D.ts +49 -0
- package/gen/classes/PhysicsIntersectRayResult3D.ts +55 -0
- package/gen/classes/PhysicsIntersectShapeResult2D.ts +49 -0
- package/gen/classes/PhysicsIntersectShapeResult3D.ts +49 -0
- package/gen/classes/PhysicsMaterial.ts +10 -10
- package/gen/classes/PhysicsPointQueryParameters2D.ts +15 -14
- package/gen/classes/PhysicsPointQueryParameters3D.ts +13 -12
- package/gen/classes/PhysicsRayQueryParameters2D.ts +18 -17
- package/gen/classes/PhysicsRayQueryParameters3D.ts +20 -19
- package/gen/classes/PhysicsServer2D.ts +122 -122
- package/gen/classes/PhysicsServer2DExtension.ts +4 -4
- package/gen/classes/PhysicsServer2DManager.ts +4 -4
- package/gen/classes/PhysicsServer3D.ts +210 -182
- package/gen/classes/PhysicsServer3DExtension.ts +5 -5
- package/gen/classes/PhysicsServer3DManager.ts +4 -4
- package/gen/classes/PhysicsServer3DRenderingServerHandler.ts +5 -5
- package/gen/classes/PhysicsShapeQueryParameters2D.ts +21 -20
- package/gen/classes/PhysicsShapeQueryParameters3D.ts +21 -20
- package/gen/classes/PhysicsTestMotionParameters2D.ts +17 -16
- package/gen/classes/PhysicsTestMotionParameters3D.ts +19 -18
- package/gen/classes/PhysicsTestMotionResult2D.ts +16 -15
- package/gen/classes/PhysicsTestMotionResult3D.ts +17 -16
- package/gen/classes/PinJoint2D.ts +14 -14
- package/gen/classes/PinJoint3D.ts +4 -4
- package/gen/classes/PlaceholderCubemap.ts +2 -2
- package/gen/classes/PlaceholderCubemapArray.ts +2 -2
- package/gen/classes/PlaceholderMaterial.ts +2 -2
- package/gen/classes/PlaceholderMesh.ts +4 -4
- package/gen/classes/PlaceholderTexture2D.ts +4 -4
- package/gen/classes/PlaceholderTexture2DArray.ts +2 -2
- package/gen/classes/PlaceholderTexture3D.ts +4 -4
- package/gen/classes/PlaceholderTextureLayered.ts +5 -5
- package/gen/classes/PlaneMesh.ts +12 -12
- package/gen/classes/PointLight2D.ts +10 -10
- package/gen/classes/PointMesh.ts +2 -2
- package/gen/classes/Polygon2D.ts +42 -42
- package/gen/classes/PolygonOccluder3D.ts +4 -4
- package/gen/classes/PolygonPathFinder.ts +12 -12
- package/gen/classes/Popup.ts +4 -4
- package/gen/classes/PopupMenu.ts +125 -112
- package/gen/classes/PopupPanel.ts +2 -2
- package/gen/classes/PortableCompressedTexture2D.ts +11 -11
- package/gen/classes/PrimitiveMesh.ts +15 -15
- package/gen/classes/PrismMesh.ts +12 -12
- package/gen/classes/ProceduralSkyMaterial.ts +30 -30
- package/gen/classes/ProgressBar.ts +10 -10
- package/gen/classes/ProjectSettings.ts +26 -26
- package/gen/classes/PropertyTweener.ts +9 -9
- package/gen/classes/QuadMesh.ts +2 -2
- package/gen/classes/QuadOccluder3D.ts +4 -4
- package/gen/classes/RDAccelerationStructureGeometry.ts +20 -20
- package/gen/classes/RDAccelerationStructureInstance.ts +14 -14
- package/gen/classes/RDAttachmentFormat.ts +8 -8
- package/gen/classes/RDFramebufferPass.ts +12 -12
- package/gen/classes/RDHitGroup.ts +8 -8
- package/gen/classes/RDPipelineColorBlendState.ts +10 -10
- package/gen/classes/RDPipelineColorBlendStateAttachment.ts +25 -25
- package/gen/classes/RDPipelineDepthStencilState.ts +44 -44
- package/gen/classes/RDPipelineMultisampleState.ts +14 -14
- package/gen/classes/RDPipelineRasterizationState.ts +25 -25
- package/gen/classes/RDPipelineShader.ts +6 -6
- package/gen/classes/RDPipelineSpecializationConstant.ts +6 -6
- package/gen/classes/RDSamplerState.ts +32 -32
- package/gen/classes/RDShaderFile.ts +7 -7
- package/gen/classes/RDShaderSPIRV.ts +42 -42
- package/gen/classes/RDShaderSource.ts +24 -24
- package/gen/classes/RDTextureFormat.ts +26 -26
- package/gen/classes/RDTextureView.ts +12 -12
- package/gen/classes/RDUniform.ts +9 -9
- package/gen/classes/RDVertexAttribute.ts +14 -14
- package/gen/classes/RandomNumberGenerator.ts +13 -13
- package/gen/classes/Range.ts +29 -29
- package/gen/classes/RayCast2D.ts +30 -30
- package/gen/classes/RayCast3D.ts +37 -37
- package/gen/classes/RectangleShape2D.ts +4 -4
- package/gen/classes/RefCounted.ts +6 -6
- package/gen/classes/ReferenceRect.ts +8 -8
- package/gen/classes/ReflectionProbe.ts +32 -32
- package/gen/classes/RegEx.ts +13 -13
- package/gen/classes/RegExMatch.ts +9 -9
- package/gen/classes/RemoteTransform2D.ts +13 -13
- package/gen/classes/RemoteTransform3D.ts +13 -13
- package/gen/classes/RenderData.ts +5 -5
- package/gen/classes/RenderDataExtension.ts +2 -2
- package/gen/classes/RenderDataRD.ts +2 -2
- package/gen/classes/RenderSceneBuffers.ts +2 -2
- package/gen/classes/RenderSceneBuffersConfiguration.ts +22 -22
- package/gen/classes/RenderSceneBuffersExtension.ts +2 -2
- package/gen/classes/RenderSceneBuffersRD.ts +29 -29
- package/gen/classes/RenderSceneData.ts +7 -7
- package/gen/classes/RenderSceneDataExtension.ts +2 -2
- package/gen/classes/RenderSceneDataRD.ts +2 -2
- package/gen/classes/RenderingDevice.ts +152 -140
- package/gen/classes/RenderingServer.ts +603 -550
- package/gen/classes/Resource.ts +29 -29
- package/gen/classes/ResourceFormatLoader.ts +2 -2
- package/gen/classes/ResourceFormatSaver.ts +2 -2
- package/gen/classes/ResourceImporter.ts +1 -1
- package/gen/classes/ResourceLoader.ts +21 -16
- package/gen/classes/ResourcePreloader.ts +10 -10
- package/gen/classes/ResourceSaver.ts +8 -8
- package/gen/classes/ResourceUID.ts +11 -11
- package/gen/classes/RetargetModifier3D.ts +22 -14
- package/gen/classes/RibbonTrailMesh.ts +14 -14
- package/gen/classes/RichTextEffect.ts +2 -2
- package/gen/classes/RichTextLabel.ts +236 -181
- package/gen/classes/RigidBody2D.ts +84 -70
- package/gen/classes/RigidBody3D.ts +85 -71
- package/gen/classes/RootMotionView.ts +12 -12
- package/gen/classes/SceneMultiplayer.ts +31 -31
- package/gen/classes/SceneReplicationConfig.ts +15 -15
- package/gen/classes/SceneState.ts +24 -24
- package/gen/classes/SceneTree.ts +67 -68
- package/gen/classes/SceneTreeTimer.ts +5 -5
- package/gen/classes/Script.ts +21 -20
- package/gen/classes/ScriptBacktrace.ts +18 -18
- package/gen/classes/ScriptExtension.ts +2 -2
- package/gen/classes/ScriptLanguage.ts +16 -1
- package/gen/classes/ScriptLanguageExtension.ts +2 -2
- package/gen/classes/ScrollBar.ts +5 -5
- package/gen/classes/ScrollContainer.ts +58 -34
- package/gen/classes/SegmentShape2D.ts +6 -6
- package/gen/classes/Semaphore.ts +5 -5
- package/gen/classes/SeparationRayShape2D.ts +6 -6
- package/gen/classes/SeparationRayShape3D.ts +6 -6
- package/gen/classes/Separator.ts +1 -1
- package/gen/classes/Shader.ts +14 -9
- package/gen/classes/ShaderGlobalsOverride.ts +2 -2
- package/gen/classes/ShaderInclude.ts +4 -4
- package/gen/classes/ShaderIncludeDB.ts +5 -5
- package/gen/classes/ShaderMaterial.ts +6 -6
- package/gen/classes/Shape2D.ts +9 -9
- package/gen/classes/Shape3D.ts +6 -6
- package/gen/classes/ShapeCast2D.ts +38 -38
- package/gen/classes/ShapeCast3D.ts +41 -41
- package/gen/classes/Shortcut.ts +7 -7
- package/gen/classes/Skeleton2D.ts +12 -12
- package/gen/classes/Skeleton3D.ts +82 -70
- package/gen/classes/SkeletonIK3D.ts +27 -27
- package/gen/classes/SkeletonModification2D.ts +12 -12
- package/gen/classes/SkeletonModification2DCCDIK.ts +22 -22
- package/gen/classes/SkeletonModification2DFABRIK.ts +14 -14
- package/gen/classes/SkeletonModification2DJiggle.ts +37 -37
- package/gen/classes/SkeletonModification2DLookAt.ts +18 -18
- package/gen/classes/SkeletonModification2DPhysicalBones.ts +9 -9
- package/gen/classes/SkeletonModification2DStackHolder.ts +4 -4
- package/gen/classes/SkeletonModification2DTwoBoneIK.ts +18 -18
- package/gen/classes/SkeletonModificationStack2D.ts +18 -18
- package/gen/classes/SkeletonModifier3D.ts +9 -9
- package/gen/classes/SkeletonProfile.ts +34 -34
- package/gen/classes/SkeletonProfileHumanoid.ts +2 -2
- package/gen/classes/Skin.ts +49 -13
- package/gen/classes/SkinReference.ts +3 -3
- package/gen/classes/Sky.ts +8 -8
- package/gen/classes/Slider.ts +15 -15
- package/gen/classes/SliderJoint3D.ts +4 -4
- package/gen/classes/SocketServer.ts +5 -5
- package/gen/classes/SoftBody3D.ts +47 -42
- package/gen/classes/SphereMesh.ts +12 -12
- package/gen/classes/SphereOccluder3D.ts +4 -4
- package/gen/classes/SphereShape3D.ts +4 -4
- package/gen/classes/SpinBox.ts +50 -27
- package/gen/classes/SplineIK3D.ts +12 -12
- package/gen/classes/SplitContainer.ts +35 -35
- package/gen/classes/SpotLight3D.ts +10 -10
- package/gen/classes/SpringArm3D.ts +14 -14
- package/gen/classes/SpringBoneCollision3D.ts +11 -11
- package/gen/classes/SpringBoneCollisionCapsule3D.ts +10 -10
- package/gen/classes/SpringBoneCollisionPlane3D.ts +2 -2
- package/gen/classes/SpringBoneCollisionSphere3D.ts +6 -6
- package/gen/classes/SpringBoneSimulator3D.ts +86 -86
- package/gen/classes/Sprite2D.ts +32 -32
- package/gen/classes/Sprite3D.ts +20 -20
- package/gen/classes/SpriteBase3D.ts +43 -43
- package/gen/classes/SpriteFrames.ts +24 -24
- package/gen/classes/StandardMaterial3D.ts +2 -2
- package/gen/classes/StaticBody2D.ts +8 -8
- package/gen/classes/StaticBody3D.ts +8 -8
- package/gen/classes/StatusIndicator.ts +17 -13
- package/gen/classes/StreamPeer.ts +37 -37
- package/gen/classes/StreamPeerBuffer.ts +10 -10
- package/gen/classes/StreamPeerExtension.ts +2 -2
- package/gen/classes/StreamPeerGZIP.ts +6 -6
- package/gen/classes/StreamPeerSocket.ts +4 -4
- package/gen/classes/StreamPeerTCP.ts +9 -9
- package/gen/classes/StreamPeerTLS.ts +9 -9
- package/gen/classes/StreamPeerUDS.ts +5 -5
- package/gen/classes/StreamedTexture2D.ts +34 -0
- package/gen/classes/StyleBox.ts +17 -17
- package/gen/classes/StyleBoxEmpty.ts +2 -2
- package/gen/classes/StyleBoxFlat.ts +52 -52
- package/gen/classes/StyleBoxLine.ts +12 -12
- package/gen/classes/StyleBoxTexture.ts +32 -32
- package/gen/classes/SubViewport.ts +14 -14
- package/gen/classes/SubViewportContainer.ts +9 -9
- package/gen/classes/SubtweenTweener.ts +3 -3
- package/gen/classes/SurfaceTool.ts +35 -35
- package/gen/classes/SyntaxHighlighter.ts +30 -6
- package/gen/classes/SystemFont.ts +36 -36
- package/gen/classes/TCPServer.ts +6 -6
- package/gen/classes/TLSOptions.ts +10 -10
- package/gen/classes/TabBar.ts +109 -78
- package/gen/classes/TabContainer.ts +75 -68
- package/gen/classes/TextEdit.ts +275 -269
- package/gen/classes/TextLine.ts +41 -41
- package/gen/classes/TextMesh.ts +38 -38
- package/gen/classes/TextParagraph.ts +64 -64
- package/gen/classes/TextServer.ts +250 -245
- package/gen/classes/TextServerAdvanced.ts +2 -2
- package/gen/classes/TextServerDummy.ts +2 -2
- package/gen/classes/TextServerExtension.ts +2 -2
- package/gen/classes/TextServerManager.ts +14 -14
- package/gen/classes/Texture.ts +2 -2
- package/gen/classes/Texture2D.ts +14 -14
- package/gen/classes/Texture2DArray.ts +3 -3
- package/gen/classes/Texture2DArrayRD.ts +2 -2
- package/gen/classes/Texture2DRD.ts +4 -4
- package/gen/classes/Texture3D.ts +9 -9
- package/gen/classes/Texture3DRD.ts +4 -4
- package/gen/classes/TextureButton.ts +22 -22
- package/gen/classes/TextureCubemapArrayRD.ts +2 -2
- package/gen/classes/TextureCubemapRD.ts +2 -2
- package/gen/classes/TextureLayered.ts +9 -9
- package/gen/classes/TextureLayeredRD.ts +3 -3
- package/gen/classes/TextureProgressBar.ts +34 -34
- package/gen/classes/TextureRect.ts +13 -12
- package/gen/classes/TextureStreaming.ts +54 -0
- package/gen/classes/Theme.ts +116 -73
- package/gen/classes/ThemeDB.ts +23 -16
- package/gen/classes/Thread.ts +9 -9
- package/gen/classes/TileData.ts +58 -58
- package/gen/classes/TileMap.ts +65 -65
- package/gen/classes/TileMapLayer.ts +60 -60
- package/gen/classes/TileMapPattern.ts +12 -12
- package/gen/classes/TileSet.ts +93 -93
- package/gen/classes/TileSetAtlasSource.ts +43 -43
- package/gen/classes/TileSetScenesCollectionSource.ts +13 -13
- package/gen/classes/TileSetSource.ts +7 -7
- package/gen/classes/Time.ts +23 -23
- package/gen/classes/Timer.ts +20 -20
- package/gen/classes/TorusMesh.ts +10 -10
- package/gen/classes/TouchScreenButton.ts +25 -25
- package/gen/classes/Trail3D.ts +173 -0
- package/gen/classes/Translation.ts +16 -16
- package/gen/classes/TranslationDomain.ts +35 -35
- package/gen/classes/TranslationServer.ts +36 -36
- package/gen/classes/Tree.ts +104 -104
- package/gen/classes/TreeItem.ts +126 -126
- package/gen/classes/TriangleMesh.ts +6 -6
- package/gen/classes/TubeTrailMesh.ts +18 -18
- package/gen/classes/Tween.ts +58 -43
- package/gen/classes/Tweener.ts +3 -3
- package/gen/classes/TwoBoneIK3D.ts +32 -32
- package/gen/classes/UDPServer.ts +11 -11
- package/gen/classes/UDSServer.ts +4 -4
- package/gen/classes/UPNP.ts +19 -19
- package/gen/classes/UPNPDevice.ts +18 -18
- package/gen/classes/UndoRedo.ts +28 -28
- package/gen/classes/UniformSetCacheRD.ts +3 -3
- package/gen/classes/VBoxContainer.ts +2 -2
- package/gen/classes/VFlowContainer.ts +2 -2
- package/gen/classes/VScrollBar.ts +2 -2
- package/gen/classes/VSeparator.ts +2 -2
- package/gen/classes/VSlider.ts +2 -2
- package/gen/classes/VSplitContainer.ts +2 -2
- package/gen/classes/VehicleBody3D.ts +8 -8
- package/gen/classes/VehicleWheel3D.ts +36 -36
- package/gen/classes/VideoStream.ts +4 -4
- package/gen/classes/VideoStreamPlayback.ts +3 -3
- package/gen/classes/VideoStreamPlayer.ts +38 -36
- package/gen/classes/VideoStreamTheora.ts +2 -2
- package/gen/classes/Viewport.ts +148 -148
- package/gen/classes/ViewportTexture.ts +5 -13
- package/gen/classes/VirtualJoystick.ts +34 -34
- package/gen/classes/VisibleOnScreenEnabler2D.ts +6 -6
- package/gen/classes/VisibleOnScreenEnabler3D.ts +6 -6
- package/gen/classes/VisibleOnScreenNotifier2D.ts +11 -11
- package/gen/classes/VisibleOnScreenNotifier3D.ts +9 -9
- package/gen/classes/VisualInstance3D.ts +14 -14
- package/gen/classes/VisualShader.ts +25 -25
- package/gen/classes/VisualShaderGroup.ts +190 -0
- package/gen/classes/VisualShaderNode.ts +15 -15
- package/gen/classes/VisualShaderNodeBillboard.ts +6 -6
- package/gen/classes/VisualShaderNodeBooleanConstant.ts +4 -4
- package/gen/classes/VisualShaderNodeBooleanParameter.ts +6 -6
- package/gen/classes/VisualShaderNodeClamp.ts +4 -4
- package/gen/classes/VisualShaderNodeColorConstant.ts +4 -4
- package/gen/classes/VisualShaderNodeColorFunc.ts +4 -4
- package/gen/classes/VisualShaderNodeColorOp.ts +4 -4
- package/gen/classes/VisualShaderNodeColorParameter.ts +6 -6
- package/gen/classes/VisualShaderNodeComment.ts +4 -4
- package/gen/classes/VisualShaderNodeCompare.ts +8 -8
- package/gen/classes/VisualShaderNodeConstant.ts +1 -1
- package/gen/classes/VisualShaderNodeCubemap.ts +8 -8
- package/gen/classes/VisualShaderNodeCubemapParameter.ts +2 -2
- package/gen/classes/VisualShaderNodeCurveTexture.ts +4 -4
- package/gen/classes/VisualShaderNodeCurveXYZTexture.ts +4 -4
- package/gen/classes/VisualShaderNodeCustom.ts +7 -7
- package/gen/classes/VisualShaderNodeDerivativeFunc.ts +8 -8
- package/gen/classes/VisualShaderNodeDeterminant.ts +2 -2
- package/gen/classes/VisualShaderNodeDistanceFade.ts +2 -2
- package/gen/classes/VisualShaderNodeDotProduct.ts +2 -2
- package/gen/classes/VisualShaderNodeExpression.ts +4 -4
- package/gen/classes/VisualShaderNodeFaceForward.ts +2 -2
- package/gen/classes/VisualShaderNodeFloatConstant.ts +4 -4
- package/gen/classes/VisualShaderNodeFloatFunc.ts +4 -4
- package/gen/classes/VisualShaderNodeFloatOp.ts +4 -4
- package/gen/classes/VisualShaderNodeFloatParameter.ts +14 -14
- package/gen/classes/VisualShaderNodeFrame.ts +14 -14
- package/gen/classes/VisualShaderNodeFresnel.ts +2 -2
- package/gen/classes/VisualShaderNodeGlobalExpression.ts +2 -2
- package/gen/classes/VisualShaderNodeGroup.ts +22 -0
- package/gen/classes/VisualShaderNodeGroupBase.ts +22 -22
- package/gen/classes/VisualShaderNodeGroupInput.ts +14 -0
- package/gen/classes/VisualShaderNodeGroupOutput.ts +14 -0
- package/gen/classes/VisualShaderNodeIf.ts +2 -2
- package/gen/classes/VisualShaderNodeInput.ts +7 -7
- package/gen/classes/VisualShaderNodeIntConstant.ts +4 -4
- package/gen/classes/VisualShaderNodeIntFunc.ts +4 -4
- package/gen/classes/VisualShaderNodeIntOp.ts +4 -4
- package/gen/classes/VisualShaderNodeIntParameter.ts +16 -16
- package/gen/classes/VisualShaderNodeIs.ts +4 -4
- package/gen/classes/VisualShaderNodeLinearSceneDepth.ts +2 -2
- package/gen/classes/VisualShaderNodeMix.ts +4 -4
- package/gen/classes/VisualShaderNodeMultiplyAdd.ts +4 -4
- package/gen/classes/VisualShaderNodeOuterProduct.ts +2 -2
- package/gen/classes/VisualShaderNodeOutput.ts +1 -1
- package/gen/classes/VisualShaderNodeParameter.ts +7 -7
- package/gen/classes/VisualShaderNodeParameterRef.ts +6 -6
- package/gen/classes/VisualShaderNodeParticleAccelerator.ts +4 -4
- package/gen/classes/VisualShaderNodeParticleBoxEmitter.ts +2 -2
- package/gen/classes/VisualShaderNodeParticleConeVelocity.ts +2 -2
- package/gen/classes/VisualShaderNodeParticleEmit.ts +5 -5
- package/gen/classes/VisualShaderNodeParticleEmitter.ts +3 -3
- package/gen/classes/VisualShaderNodeParticleMeshEmitter.ts +8 -8
- package/gen/classes/VisualShaderNodeParticleMultiplyByAxisAngle.ts +4 -4
- package/gen/classes/VisualShaderNodeParticleOutput.ts +2 -2
- package/gen/classes/VisualShaderNodeParticleRandomness.ts +4 -4
- package/gen/classes/VisualShaderNodeParticleRingEmitter.ts +2 -2
- package/gen/classes/VisualShaderNodeParticleSphereEmitter.ts +2 -2
- package/gen/classes/VisualShaderNodeProximityFade.ts +2 -2
- package/gen/classes/VisualShaderNodeRandomRange.ts +2 -2
- package/gen/classes/VisualShaderNodeRemap.ts +4 -4
- package/gen/classes/VisualShaderNodeReroute.ts +4 -4
- package/gen/classes/VisualShaderNodeResizableBase.ts +3 -3
- package/gen/classes/VisualShaderNodeRotationByAxis.ts +2 -2
- package/gen/classes/VisualShaderNodeSDFRaymarch.ts +2 -2
- package/gen/classes/VisualShaderNodeSDFToScreenUV.ts +2 -2
- package/gen/classes/VisualShaderNodeSample3D.ts +3 -3
- package/gen/classes/VisualShaderNodeScreenNormalWorldSpace.ts +2 -2
- package/gen/classes/VisualShaderNodeScreenUVToSDF.ts +2 -2
- package/gen/classes/VisualShaderNodeSmoothStep.ts +4 -4
- package/gen/classes/VisualShaderNodeStep.ts +4 -4
- package/gen/classes/VisualShaderNodeSwitch.ts +4 -4
- package/gen/classes/VisualShaderNodeTexture.ts +8 -8
- package/gen/classes/VisualShaderNodeTexture2DArray.ts +4 -4
- package/gen/classes/VisualShaderNodeTexture2DArrayParameter.ts +2 -2
- package/gen/classes/VisualShaderNodeTexture2DParameter.ts +2 -2
- package/gen/classes/VisualShaderNodeTexture3D.ts +4 -4
- package/gen/classes/VisualShaderNodeTexture3DParameter.ts +2 -2
- package/gen/classes/VisualShaderNodeTextureParameter.ts +11 -11
- package/gen/classes/VisualShaderNodeTextureParameterTriplanar.ts +2 -2
- package/gen/classes/VisualShaderNodeTextureSDF.ts +2 -2
- package/gen/classes/VisualShaderNodeTextureSDFNormal.ts +2 -2
- package/gen/classes/VisualShaderNodeTransformCompose.ts +2 -2
- package/gen/classes/VisualShaderNodeTransformConstant.ts +4 -4
- package/gen/classes/VisualShaderNodeTransformDecompose.ts +2 -2
- package/gen/classes/VisualShaderNodeTransformFunc.ts +4 -4
- package/gen/classes/VisualShaderNodeTransformOp.ts +4 -4
- package/gen/classes/VisualShaderNodeTransformParameter.ts +6 -6
- package/gen/classes/VisualShaderNodeTransformVecMult.ts +4 -4
- package/gen/classes/VisualShaderNodeUIntConstant.ts +4 -4
- package/gen/classes/VisualShaderNodeUIntFunc.ts +4 -4
- package/gen/classes/VisualShaderNodeUIntOp.ts +4 -4
- package/gen/classes/VisualShaderNodeUIntParameter.ts +6 -6
- package/gen/classes/VisualShaderNodeUVFunc.ts +4 -4
- package/gen/classes/VisualShaderNodeUVPolarCoord.ts +2 -2
- package/gen/classes/VisualShaderNodeVarying.ts +5 -5
- package/gen/classes/VisualShaderNodeVaryingGetter.ts +2 -2
- package/gen/classes/VisualShaderNodeVaryingSetter.ts +2 -2
- package/gen/classes/VisualShaderNodeVec2Constant.ts +4 -4
- package/gen/classes/VisualShaderNodeVec2Parameter.ts +6 -6
- package/gen/classes/VisualShaderNodeVec3Constant.ts +4 -4
- package/gen/classes/VisualShaderNodeVec3Parameter.ts +6 -6
- package/gen/classes/VisualShaderNodeVec4Constant.ts +6 -6
- package/gen/classes/VisualShaderNodeVec4Parameter.ts +6 -6
- package/gen/classes/VisualShaderNodeVectorBase.ts +3 -3
- package/gen/classes/VisualShaderNodeVectorCompose.ts +2 -2
- package/gen/classes/VisualShaderNodeVectorDecompose.ts +2 -2
- package/gen/classes/VisualShaderNodeVectorDistance.ts +2 -2
- package/gen/classes/VisualShaderNodeVectorFunc.ts +4 -4
- package/gen/classes/VisualShaderNodeVectorLen.ts +2 -2
- package/gen/classes/VisualShaderNodeVectorOp.ts +4 -4
- package/gen/classes/VisualShaderNodeVectorRefract.ts +2 -2
- package/gen/classes/VisualShaderNodeWorldPositionFromDepth.ts +2 -2
- package/gen/classes/VoxelGI.ts +12 -12
- package/gen/classes/VoxelGIData.ts +23 -23
- package/gen/classes/WeakRef.ts +3 -3
- package/gen/classes/WebRTCDataChannel.ts +15 -15
- package/gen/classes/WebRTCDataChannelExtension.ts +2 -2
- package/gen/classes/WebRTCMultiplayerPeer.ts +12 -12
- package/gen/classes/WebRTCPeerConnection.ts +21 -21
- package/gen/classes/WebRTCPeerConnectionExtension.ts +2 -2
- package/gen/classes/WebSocketMultiplayerPeer.ts +20 -20
- package/gen/classes/WebSocketPeer.ts +32 -32
- package/gen/classes/WebXRInterface.ts +57 -49
- package/gen/classes/Window.ts +245 -202
- package/gen/classes/WorkerThreadPool.ts +11 -11
- package/gen/classes/World2D.ts +6 -6
- package/gen/classes/World3D.ts +12 -12
- package/gen/classes/WorldBoundaryShape2D.ts +6 -6
- package/gen/classes/WorldBoundaryShape3D.ts +4 -4
- package/gen/classes/WorldEnvironment.ts +8 -8
- package/gen/classes/X509Certificate.ts +6 -6
- package/gen/classes/XMLParser.ts +19 -19
- package/gen/classes/XRAnchor3D.ts +4 -4
- package/gen/classes/XRBodyModifier3D.ts +8 -8
- package/gen/classes/XRBodyTracker.ts +10 -10
- package/gen/classes/XRCamera3D.ts +11 -4
- package/gen/classes/XRController3D.ts +17 -17
- package/gen/classes/XRControllerTracker.ts +2 -2
- package/gen/classes/XRFaceModifier3D.ts +6 -6
- package/gen/classes/XRFaceTracker.ts +6 -6
- package/gen/classes/XRHandModifier3D.ts +6 -6
- package/gen/classes/XRHandTracker.ts +16 -16
- package/gen/classes/XRInterface.ts +45 -31
- package/gen/classes/XRInterfaceExtension.ts +9 -9
- package/gen/classes/XRNode3D.ts +14 -14
- package/gen/classes/XROrigin3D.ts +6 -6
- package/gen/classes/XRPose.ts +15 -15
- package/gen/classes/XRPositionalTracker.ts +26 -26
- package/gen/classes/XRServer.ts +57 -41
- package/gen/classes/XRTracker.ts +7 -7
- package/gen/classes/XRVRS.ts +9 -9
- package/gen/classes/ZIPPacker.ts +10 -10
- package/gen/classes/ZIPReader.ts +8 -8
- package/gen/classes/index.ts +31 -0
- package/gen/global-enums.ts +7 -3
- package/gen/heap-types/GodotArray.ts +65 -65
- package/gen/heap-types/GodotDictionary.ts +38 -38
- package/gen/heap-types/PackedByteArray.ts +76 -76
- package/gen/heap-types/PackedColorArray.ts +27 -27
- package/gen/heap-types/PackedFloat32Array.ts +27 -27
- package/gen/heap-types/PackedFloat64Array.ts +27 -27
- package/gen/heap-types/PackedInt32Array.ts +27 -27
- package/gen/heap-types/PackedInt64Array.ts +27 -27
- package/gen/heap-types/PackedStringArray.ts +27 -27
- package/gen/heap-types/PackedVector2Array.ts +27 -27
- package/gen/heap-types/PackedVector3Array.ts +27 -27
- package/gen/heap-types/PackedVector4Array.ts +27 -27
- package/gen/heap-types/Signal.ts +13 -13
- package/gen/utility-functions.ts +116 -116
- package/gen/value-types/AABB.ts +25 -25
- package/gen/value-types/Basis.ts +24 -24
- package/gen/value-types/Color.ts +26 -26
- package/gen/value-types/Plane.ts +11 -11
- package/gen/value-types/Projection.ts +26 -26
- package/gen/value-types/Quaternion.ts +21 -21
- package/gen/value-types/Rect2.ts +16 -16
- package/gen/value-types/Rect2i.ts +13 -13
- package/gen/value-types/Transform2D.ts +21 -21
- package/gen/value-types/Transform3D.ts +13 -13
- package/gen/value-types/Vector2.ts +55 -50
- package/gen/value-types/Vector2i.ts +17 -17
- package/gen/value-types/Vector3.ts +52 -51
- package/gen/value-types/Vector3i.ts +16 -16
- package/gen/value-types/Vector4.ts +36 -35
- package/gen/value-types/Vector4i.ts +16 -16
- package/package.json +8 -8
- package/src/assets.d.ts +167 -167
- package/src/boot.ts +1 -0
- package/src/debug.ts +357 -357
- package/src/editor.ts +102 -122
- package/src/export_presets.example.cfg +41 -41
- package/src/index.ts +54 -54
- package/src/load.ts +480 -479
- package/src/preload.ts +164 -164
- package/src/runtime.ts +107 -107
- package/src/serve.ts +67 -67
- package/src/web-image.ts +302 -388
package/gen/classes/TextEdit.ts
CHANGED
|
@@ -23,233 +23,233 @@ import type { VScrollBar } from './VScrollBar.ts';
|
|
|
23
23
|
* **Note:** When holding down `Alt`, the vertical scroll wheel will scroll 5 times as fast as it would normally do. This also works in the Godot script editor.
|
|
24
24
|
*/
|
|
25
25
|
export class TextEdit extends Control {
|
|
26
|
-
constructor(name =
|
|
26
|
+
constructor(name = 792) { super(name); }
|
|
27
27
|
|
|
28
28
|
/**
|
|
29
29
|
* Returns `true` if the user has text in the [Input Method Editor](https://en.wikipedia.org/wiki/Input_method) (IME).
|
|
30
30
|
*/
|
|
31
|
-
hasImeText(): boolean { return _C(this,
|
|
31
|
+
hasImeText(): boolean { return _C(this, 7551) as boolean; }
|
|
32
32
|
|
|
33
33
|
/**
|
|
34
34
|
* Closes the [Input Method Editor](https://en.wikipedia.org/wiki/Input_method) (IME) if it is open. Any text in the IME will be lost.
|
|
35
35
|
*/
|
|
36
|
-
cancelIme(): void { _C(this,
|
|
36
|
+
cancelIme(): void { _C(this, 2056); }
|
|
37
37
|
|
|
38
38
|
/**
|
|
39
39
|
* Applies text from the [Input Method Editor](https://en.wikipedia.org/wiki/Input_method) (IME) to each caret and closes the IME if it is open.
|
|
40
40
|
*/
|
|
41
|
-
applyIme(): void { _C(this,
|
|
41
|
+
applyIme(): void { _C(this, 1563); }
|
|
42
42
|
|
|
43
43
|
/**
|
|
44
44
|
* Sets the tab size for the {@link TextEdit} to use.
|
|
45
45
|
*/
|
|
46
|
-
setTabSize(size: number): void { _C(this,
|
|
46
|
+
setTabSize(size: number): void { _C(this, 13249, size); }
|
|
47
47
|
|
|
48
48
|
/**
|
|
49
|
-
* Returns the {@link TextEdit}'s
|
|
49
|
+
* Returns the {@link TextEdit}'s tab size.
|
|
50
50
|
*/
|
|
51
|
-
getTabSize(): number { return _C(this,
|
|
51
|
+
getTabSize(): number { return _C(this, 6815) as number; }
|
|
52
52
|
|
|
53
53
|
/**
|
|
54
54
|
* If `true`, enables overtype mode. In this mode, typing overrides existing text instead of inserting text. The {@link ProjectSettings.input/uiTextToggleInsertMode} action toggles overtype mode. See {@link isOvertypeModeEnabled}.
|
|
55
55
|
*/
|
|
56
|
-
setOvertypeModeEnabled(enabled: boolean): void { _C(this,
|
|
56
|
+
setOvertypeModeEnabled(enabled: boolean): void { _C(this, 12491, enabled); }
|
|
57
57
|
|
|
58
58
|
/**
|
|
59
59
|
* Returns `true` if overtype mode is enabled. See {@link setOvertypeModeEnabled}.
|
|
60
60
|
*/
|
|
61
|
-
isOvertypeModeEnabled(): boolean { return _C(this,
|
|
61
|
+
isOvertypeModeEnabled(): boolean { return _C(this, 8332) as boolean; }
|
|
62
62
|
|
|
63
63
|
/**
|
|
64
|
-
*
|
|
64
|
+
* Clears all text and related state. This clears the text content, selections, carets, and gutter line data. If {@link editable} is `false`, clears the undo history, otherwise preserves it. Does **not** reset other values (such as {@link placeholderText}, font, colors) to their defaults.
|
|
65
65
|
*/
|
|
66
|
-
clear(): void { _C(this,
|
|
66
|
+
clear(): void { _C(this, 2267); }
|
|
67
67
|
|
|
68
68
|
/**
|
|
69
69
|
* Returns the number of lines in the text.
|
|
70
70
|
*/
|
|
71
|
-
getLineCount(): number { return _C(this,
|
|
71
|
+
getLineCount(): number { return _C(this, 5451) as number; }
|
|
72
72
|
|
|
73
73
|
/**
|
|
74
74
|
* Sets the text for a specific `line`.
|
|
75
75
|
* Carets on the line will attempt to keep their visual x position.
|
|
76
76
|
*/
|
|
77
|
-
setLine(line: number, newText: string): void { _C(this,
|
|
77
|
+
setLine(line: number, newText: string): void { _C(this, 12157, line, newText); }
|
|
78
78
|
|
|
79
79
|
/**
|
|
80
80
|
* Returns the text of a specific line.
|
|
81
81
|
*/
|
|
82
|
-
getLine(line: number): string { return _C(this,
|
|
82
|
+
getLine(line: number): string { return _C(this, 5447, line) as string; }
|
|
83
83
|
|
|
84
84
|
/**
|
|
85
85
|
* Returns line text as it is currently displayed, including IME composition string.
|
|
86
86
|
*/
|
|
87
|
-
getLineWithIme(line: number): string { return _C(this,
|
|
87
|
+
getLineWithIme(line: number): string { return _C(this, 5473, line) as string; }
|
|
88
88
|
|
|
89
89
|
/**
|
|
90
90
|
* Returns the width in pixels of the `wrapIndex` on `line`.
|
|
91
91
|
*/
|
|
92
|
-
getLineWidth(line: number, wrapIndex?: number /* = -1 */): number { return _C(this,
|
|
92
|
+
getLineWidth(line: number, wrapIndex?: number /* = -1 */): number { return _C(this, 5472, line, wrapIndex) as number; }
|
|
93
93
|
|
|
94
94
|
/**
|
|
95
95
|
* Returns the maximum value of the line height among all lines.
|
|
96
96
|
* **Note:** The return value is influenced by {@link line_spacing} and {@link font_size}. And it will not be less than `1`.
|
|
97
97
|
*/
|
|
98
|
-
getLineHeight(): number { return _C(this,
|
|
98
|
+
getLineHeight(): number { return _C(this, 5458) as number; }
|
|
99
99
|
|
|
100
100
|
/**
|
|
101
101
|
* Returns the indent level of the given line. This is the number of spaces and tabs at the beginning of the line, with the tabs taking the tab size into account (see {@link getTabSize}).
|
|
102
102
|
*/
|
|
103
|
-
getIndentLevel(line: number): number { return _C(this,
|
|
103
|
+
getIndentLevel(line: number): number { return _C(this, 5170, line) as number; }
|
|
104
104
|
|
|
105
105
|
/**
|
|
106
106
|
* Returns the first column containing a non-whitespace character on the given line. If there is only whitespace, returns the number of characters.
|
|
107
107
|
*/
|
|
108
|
-
getFirstNonWhitespaceColumn(line: number): number { return _C(this,
|
|
108
|
+
getFirstNonWhitespaceColumn(line: number): number { return _C(this, 4879, line) as number; }
|
|
109
109
|
|
|
110
110
|
/**
|
|
111
111
|
* Swaps the two lines. Carets will be swapped with the lines.
|
|
112
112
|
*/
|
|
113
|
-
swapLines(fromLine: number, toLine: number): void { _C(this,
|
|
113
|
+
swapLines(fromLine: number, toLine: number): void { _C(this, 14343, fromLine, toLine); }
|
|
114
114
|
|
|
115
115
|
/**
|
|
116
116
|
* Inserts a new line with `text` at `line`.
|
|
117
117
|
*/
|
|
118
|
-
insertLineAt(line: number, text: string): void { _C(this,
|
|
118
|
+
insertLineAt(line: number, text: string): void { _C(this, 7788, line, text); }
|
|
119
119
|
|
|
120
120
|
/**
|
|
121
121
|
* Removes the line of text at `line`. Carets on this line will attempt to match their previous visual x position.
|
|
122
122
|
* If `moveCaretsDown` is `true` carets will move to the next line down, otherwise carets will move up.
|
|
123
123
|
*/
|
|
124
|
-
removeLineAt(line: number, moveCaretsDown?: boolean /* = true */): void { _C(this,
|
|
124
|
+
removeLineAt(line: number, moveCaretsDown?: boolean /* = true */): void { _C(this, 10136, line, moveCaretsDown); }
|
|
125
125
|
|
|
126
126
|
/**
|
|
127
127
|
* Insert the specified text at the caret position.
|
|
128
128
|
*/
|
|
129
|
-
insertTextAtCaret(text: string, caretIndex?: number /* = -1 */): void { _C(this,
|
|
129
|
+
insertTextAtCaret(text: string, caretIndex?: number /* = -1 */): void { _C(this, 7791, text, caretIndex); }
|
|
130
130
|
|
|
131
131
|
/**
|
|
132
132
|
* Inserts the `text` at `line` and `column`.
|
|
133
133
|
* If `beforeSelectionBegin` is `true`, carets and selections that begin at `line` and `column` will moved to the end of the inserted text, along with all carets after it.
|
|
134
134
|
* If `beforeSelectionEnd` is `true`, selections that end at `line` and `column` will be extended to the end of the inserted text. These parameters can be used to insert text inside of or outside of selections.
|
|
135
135
|
*/
|
|
136
|
-
insertText(text: string, line: number, column: number, beforeSelectionBegin?: boolean /* = true */, beforeSelectionEnd?: boolean /* = false */): void { _C(this,
|
|
136
|
+
insertText(text: string, line: number, column: number, beforeSelectionBegin?: boolean /* = true */, beforeSelectionEnd?: boolean /* = false */): void { _C(this, 7790, text, line, column, beforeSelectionBegin, beforeSelectionEnd); }
|
|
137
137
|
|
|
138
138
|
/**
|
|
139
139
|
* Removes text between the given positions.
|
|
140
140
|
*/
|
|
141
|
-
removeText(fromLine: number, fromColumn: number, toLine: number, toColumn: number): void { _C(this,
|
|
141
|
+
removeText(fromLine: number, fromColumn: number, toLine: number, toColumn: number): void { _C(this, 10174, fromLine, fromColumn, toLine, toColumn); }
|
|
142
142
|
|
|
143
143
|
/**
|
|
144
144
|
* Returns the last unhidden line in the entire {@link TextEdit}.
|
|
145
145
|
*/
|
|
146
|
-
getLastUnhiddenLine(): number { return _C(this,
|
|
146
|
+
getLastUnhiddenLine(): number { return _C(this, 5405) as number; }
|
|
147
147
|
|
|
148
148
|
/**
|
|
149
149
|
* Returns the count to the next visible line from `line` to `line + visible_amount`. Can also count backwards. For example if a {@link TextEdit} has 5 lines with lines 2 and 3 hidden, calling this with `line = 1, visible_amount = 1` would return 3.
|
|
150
150
|
*/
|
|
151
|
-
getNextVisibleLineOffsetFrom(line: number, visibleAmount: number): number { return _C(this,
|
|
151
|
+
getNextVisibleLineOffsetFrom(line: number, visibleAmount: number): number { return _C(this, 5743, line, visibleAmount) as number; }
|
|
152
152
|
|
|
153
153
|
/**
|
|
154
154
|
* Similar to {@link getNextVisibleLineOffsetFrom}, but takes into account the line wrap indexes. In the returned vector, `x` is the line, `y` is the wrap index.
|
|
155
155
|
*/
|
|
156
|
-
getNextVisibleLineIndexOffsetFrom(line: number, wrapIndex: number, visibleAmount: number): Vector2i { return _C(this,
|
|
156
|
+
getNextVisibleLineIndexOffsetFrom(line: number, wrapIndex: number, visibleAmount: number): Vector2i { return _C(this, 5742, line, wrapIndex, visibleAmount) as Vector2i; }
|
|
157
157
|
|
|
158
158
|
/**
|
|
159
159
|
* Called when the user presses the backspace key. Can be overridden with {@link _backspace}.
|
|
160
160
|
*/
|
|
161
|
-
backspace(caretIndex?: number /* = -1 */): void { _C(this,
|
|
161
|
+
backspace(caretIndex?: number /* = -1 */): void { _C(this, 1738, caretIndex); }
|
|
162
162
|
|
|
163
163
|
/**
|
|
164
|
-
*
|
|
164
|
+
* Cuts the current selection. Can be overridden with {@link _cut}.
|
|
165
165
|
*/
|
|
166
|
-
cut(caretIndex?: number /* = -1 */): void { _C(this,
|
|
166
|
+
cut(caretIndex?: number /* = -1 */): void { _C(this, 2684, caretIndex); }
|
|
167
167
|
|
|
168
168
|
/**
|
|
169
169
|
* Copies the current text selection. Can be overridden with {@link _copy}.
|
|
170
170
|
*/
|
|
171
|
-
copy(caretIndex?: number /* = -1 */): void { _C(this,
|
|
171
|
+
copy(caretIndex?: number /* = -1 */): void { _C(this, 2533, caretIndex); }
|
|
172
172
|
|
|
173
173
|
/**
|
|
174
174
|
* Paste at the current location. Can be overridden with {@link _paste}.
|
|
175
175
|
*/
|
|
176
|
-
paste(caretIndex?: number /* = -1 */): void { _C(this,
|
|
176
|
+
paste(caretIndex?: number /* = -1 */): void { _C(this, 9547, caretIndex); }
|
|
177
177
|
|
|
178
178
|
/**
|
|
179
179
|
* Pastes the primary clipboard.
|
|
180
180
|
*/
|
|
181
|
-
pastePrimaryClipboard(caretIndex?: number /* = -1 */): void { _C(this,
|
|
181
|
+
pastePrimaryClipboard(caretIndex?: number /* = -1 */): void { _C(this, 9549, caretIndex); }
|
|
182
182
|
|
|
183
183
|
/**
|
|
184
184
|
* Starts an action, will end the current action if `action` is different.
|
|
185
185
|
* An action will also end after a call to {@link endAction}, after {@link ProjectSettings.gui/timers/textEditIdleDetectSec} is triggered or a new undoable step outside the {@link startAction} and {@link endAction} calls.
|
|
186
186
|
*/
|
|
187
|
-
startAction(action: EditAction): void { _C(this,
|
|
187
|
+
startAction(action: EditAction): void { _C(this, 14117, action); }
|
|
188
188
|
|
|
189
189
|
/**
|
|
190
190
|
* Marks the end of steps in the current action started with {@link startAction}.
|
|
191
191
|
*/
|
|
192
|
-
endAction(): void { _C(this,
|
|
192
|
+
endAction(): void { _C(this, 3146); }
|
|
193
193
|
|
|
194
194
|
/**
|
|
195
195
|
* Starts a multipart edit. All edits will be treated as one action until {@link endComplexOperation} is called.
|
|
196
196
|
*/
|
|
197
|
-
beginComplexOperation(): void { _C(this,
|
|
197
|
+
beginComplexOperation(): void { _C(this, 1780); }
|
|
198
198
|
|
|
199
199
|
/**
|
|
200
200
|
* Ends a multipart edit, started with {@link beginComplexOperation}. If called outside a complex operation, the current operation is pushed onto the undo/redo stack.
|
|
201
201
|
*/
|
|
202
|
-
endComplexOperation(): void { _C(this,
|
|
202
|
+
endComplexOperation(): void { _C(this, 3149); }
|
|
203
203
|
|
|
204
204
|
/**
|
|
205
205
|
* Returns `true` if an "undo" action is available.
|
|
206
206
|
*/
|
|
207
|
-
hasUndo(): boolean { return _C(this,
|
|
207
|
+
hasUndo(): boolean { return _C(this, 7630) as boolean; }
|
|
208
208
|
|
|
209
209
|
/**
|
|
210
210
|
* Returns `true` if a "redo" action is available.
|
|
211
211
|
*/
|
|
212
|
-
hasRedo(): boolean { return _C(this,
|
|
212
|
+
hasRedo(): boolean { return _C(this, 7581) as boolean; }
|
|
213
213
|
|
|
214
214
|
/**
|
|
215
215
|
* Perform undo operation.
|
|
216
216
|
*/
|
|
217
|
-
undo(): void { _C(this,
|
|
217
|
+
undo(): void { _C(this, 14756); }
|
|
218
218
|
|
|
219
219
|
/**
|
|
220
220
|
* Perform redo operation.
|
|
221
221
|
*/
|
|
222
|
-
redo(): void { _C(this,
|
|
222
|
+
redo(): void { _C(this, 9976); }
|
|
223
223
|
|
|
224
224
|
/**
|
|
225
225
|
* Clears the undo history.
|
|
226
226
|
*/
|
|
227
|
-
clearUndoHistory(): void { _C(this,
|
|
227
|
+
clearUndoHistory(): void { _C(this, 2346); }
|
|
228
228
|
|
|
229
229
|
/**
|
|
230
230
|
* Tag the current version as saved.
|
|
231
231
|
*/
|
|
232
|
-
tagSavedVersion(): void { _C(this,
|
|
232
|
+
tagSavedVersion(): void { _C(this, 14402); }
|
|
233
233
|
|
|
234
234
|
/**
|
|
235
235
|
* Returns the current version of the {@link TextEdit}. The version is a count of recorded operations by the undo/redo history.
|
|
236
236
|
*/
|
|
237
|
-
getVersion(): number { return _C(this,
|
|
237
|
+
getVersion(): number { return _C(this, 7183) as number; }
|
|
238
238
|
|
|
239
239
|
/**
|
|
240
240
|
* Returns the last tagged saved version from {@link tagSavedVersion}.
|
|
241
241
|
*/
|
|
242
|
-
getSavedVersion(): number { return _C(this,
|
|
242
|
+
getSavedVersion(): number { return _C(this, 6358) as number; }
|
|
243
243
|
|
|
244
244
|
/**
|
|
245
245
|
* Sets the search text. See {@link setSearchFlags}.
|
|
246
246
|
*/
|
|
247
|
-
setSearchText(searchText: string): void { _C(this,
|
|
247
|
+
setSearchText(searchText: string): void { _C(this, 12932, searchText); }
|
|
248
248
|
|
|
249
249
|
/**
|
|
250
250
|
* Sets the search `flags`. This is used with {@link setSearchText} to highlight occurrences of the searched text. Search flags can be specified from the {@link SearchFlags} enum.
|
|
251
251
|
*/
|
|
252
|
-
setSearchFlags(flags: number /* uint32 */): void { _C(this,
|
|
252
|
+
setSearchFlags(flags: number /* uint32 */): void { _C(this, 12931, flags); }
|
|
253
253
|
|
|
254
254
|
/**
|
|
255
255
|
* Perform a search inside the text. Search flags can be specified in the {@link SearchFlags} enum.
|
|
@@ -266,88 +266,88 @@ export class TextEdit extends Control {
|
|
|
266
266
|
*
|
|
267
267
|
* ```
|
|
268
268
|
*/
|
|
269
|
-
search(text: string, flags: number /* uint32 */, fromLine: number, fromColumn: number): Vector2i { return _C(this,
|
|
269
|
+
search(text: string, flags: number /* uint32 */, fromLine: number, fromColumn: number): Vector2i { return _C(this, 10539, text, flags, fromLine, fromColumn) as Vector2i; }
|
|
270
270
|
|
|
271
271
|
/**
|
|
272
272
|
* Provide custom tooltip text. The callback method must take the following args: `hovered_word: String`.
|
|
273
273
|
*/
|
|
274
|
-
setTooltipRequestFunc(callback: Callable): void { _C(this,
|
|
274
|
+
setTooltipRequestFunc(callback: Callable): void { _C(this, 13386, callback); }
|
|
275
275
|
|
|
276
276
|
/**
|
|
277
277
|
* Returns the local mouse position adjusted for the text direction.
|
|
278
278
|
*/
|
|
279
|
-
getLocalMousePos(): Vector2 { return _C(this,
|
|
279
|
+
getLocalMousePos(): Vector2 { return _C(this, 5492) as Vector2; }
|
|
280
280
|
|
|
281
281
|
/**
|
|
282
|
-
* Returns the word at `position
|
|
282
|
+
* Returns the word at `position` (in pixels).
|
|
283
283
|
*/
|
|
284
|
-
getWordAtPos(position: Vector2): string { return _C(this,
|
|
284
|
+
getWordAtPos(position: Vector2): string { return _C(this, 7301, position) as string; }
|
|
285
285
|
|
|
286
286
|
/**
|
|
287
287
|
* Returns the line and column at the given position. In the returned vector, `x` is the column and `y` is the line.
|
|
288
288
|
* If `clampLine` is `false` and `position` is below the last line, `Vector2i(-1, -1)` is returned.
|
|
289
289
|
* If `clampColumn` is `false` and `position` is outside the column range of the line, `Vector2i(-1, -1)` is returned.
|
|
290
290
|
*/
|
|
291
|
-
getLineColumnAtPos(position: Vector2i, clampLine?: boolean /* = true */, clampColumn?: boolean /* = true */): Vector2i { return _C(this,
|
|
291
|
+
getLineColumnAtPos(position: Vector2i, clampLine?: boolean /* = true */, clampColumn?: boolean /* = true */): Vector2i { return _C(this, 5450, position, clampLine, clampColumn) as Vector2i; }
|
|
292
292
|
|
|
293
293
|
/**
|
|
294
294
|
* Returns the local position for the given `line` and `column`. If `x` or `y` of the returned vector equal `-1`, the position is outside of the viewable area of the control.
|
|
295
295
|
* **Note:** The Y position corresponds to the bottom side of the line. Use {@link getRectAtLineColumn} to get the top side position.
|
|
296
296
|
*/
|
|
297
|
-
getPosAtLineColumn(line: number, column: number): Vector2i { return _C(this,
|
|
297
|
+
getPosAtLineColumn(line: number, column: number): Vector2i { return _C(this, 6085, line, column) as Vector2i; }
|
|
298
298
|
|
|
299
299
|
/**
|
|
300
300
|
* Returns the local position and size for the grapheme at the given `line` and `column`. If `x` or `y` position of the returned rect equal `-1`, the position is outside of the viewable area of the control.
|
|
301
301
|
* **Note:** The Y position of the returned rect corresponds to the top side of the line, unlike {@link getPosAtLineColumn} which returns the bottom side.
|
|
302
302
|
*/
|
|
303
|
-
getRectAtLineColumn(line: number, column: number): Rect2i { return _C(this,
|
|
303
|
+
getRectAtLineColumn(line: number, column: number): Rect2i { return _C(this, 6211, line, column) as Rect2i; }
|
|
304
304
|
|
|
305
305
|
/**
|
|
306
306
|
* Returns the equivalent minimap line at `position`.
|
|
307
307
|
*/
|
|
308
|
-
getMinimapLineAtPos(position: Vector2i): number { return _C(this,
|
|
308
|
+
getMinimapLineAtPos(position: Vector2i): number { return _C(this, 5655, position) as number; }
|
|
309
309
|
|
|
310
310
|
/**
|
|
311
311
|
* Returns `true` if the user is dragging their mouse for scrolling, selecting, or text dragging.
|
|
312
312
|
*/
|
|
313
|
-
isDraggingCursor(): boolean { return _C(this,
|
|
313
|
+
isDraggingCursor(): boolean { return _C(this, 8062) as boolean; }
|
|
314
314
|
|
|
315
315
|
/**
|
|
316
316
|
* Returns `true` if the mouse is over a selection. If `edges` is `true`, the edges are considered part of the selection.
|
|
317
317
|
*/
|
|
318
|
-
isMouseOverSelection(edges: boolean, caretIndex?: number /* = -1 */): boolean { return _C(this,
|
|
318
|
+
isMouseOverSelection(edges: boolean, caretIndex?: number /* = -1 */): boolean { return _C(this, 8287, edges, caretIndex) as boolean; }
|
|
319
319
|
|
|
320
320
|
/**
|
|
321
321
|
* Adds a new caret at the given location. Returns the index of the new caret, or `-1` if the location is invalid.
|
|
322
322
|
*/
|
|
323
|
-
addCaret(line: number, column: number): number { return _C(this,
|
|
323
|
+
addCaret(line: number, column: number): number { return _C(this, 1221, line, column) as number; }
|
|
324
324
|
|
|
325
325
|
/**
|
|
326
326
|
* Removes the given caret index.
|
|
327
327
|
* **Note:** This can result in adjustment of all other caret indices.
|
|
328
328
|
*/
|
|
329
|
-
removeCaret(caret: number): void { _C(this,
|
|
329
|
+
removeCaret(caret: number): void { _C(this, 10100, caret); }
|
|
330
330
|
|
|
331
331
|
/**
|
|
332
332
|
* Removes all additional carets.
|
|
333
333
|
*/
|
|
334
|
-
removeSecondaryCarets(): void { _C(this,
|
|
334
|
+
removeSecondaryCarets(): void { _C(this, 10161); }
|
|
335
335
|
|
|
336
336
|
/**
|
|
337
337
|
* Returns the number of carets in this {@link TextEdit}.
|
|
338
338
|
*/
|
|
339
|
-
getCaretCount(): number { return _C(this,
|
|
339
|
+
getCaretCount(): number { return _C(this, 4163) as number; }
|
|
340
340
|
|
|
341
341
|
/**
|
|
342
342
|
* Adds an additional caret above or below every caret. If `below` is `true` the new caret will be added below and above otherwise.
|
|
343
343
|
*/
|
|
344
|
-
addCaretAtCarets(below: boolean): void { _C(this,
|
|
344
|
+
addCaretAtCarets(below: boolean): void { _C(this, 1222, below); }
|
|
345
345
|
|
|
346
346
|
/**
|
|
347
347
|
* Returns the carets sorted by selection beginning from lowest line and column to highest (from top to bottom of text).
|
|
348
348
|
* If `includeIgnoredCarets` is `false`, carets from {@link multicaretEditIgnoreCaret} will be ignored.
|
|
349
349
|
*/
|
|
350
|
-
getSortedCarets(includeIgnoredCarets?: boolean /* = false */): PackedInt32Array { return _C(this,
|
|
350
|
+
getSortedCarets(includeIgnoredCarets?: boolean /* = false */): PackedInt32Array { return _C(this, 6579, includeIgnoredCarets) as PackedInt32Array; }
|
|
351
351
|
|
|
352
352
|
/**
|
|
353
353
|
* Collapse all carets in the given range to the `fromLine` and `fromColumn` position.
|
|
@@ -355,14 +355,14 @@ export class TextEdit extends Control {
|
|
|
355
355
|
* If {@link isInMulitcaretEdit} is `true`, carets that are collapsed will be `true` for {@link multicaretEditIgnoreCaret}.
|
|
356
356
|
* {@link mergeOverlappingCarets} will be called if any carets were collapsed.
|
|
357
357
|
*/
|
|
358
|
-
collapseCarets(fromLine: number, fromColumn: number, toLine: number, toColumn: number, inclusive?: boolean /* = false */): void { _C(this,
|
|
358
|
+
collapseCarets(fromLine: number, fromColumn: number, toLine: number, toColumn: number, inclusive?: boolean /* = false */): void { _C(this, 2381, fromLine, fromColumn, toLine, toColumn, inclusive); }
|
|
359
359
|
|
|
360
360
|
/**
|
|
361
361
|
* Merges any overlapping carets. Will favor the newest caret, or the caret with a selection.
|
|
362
362
|
* If {@link isInMulitcaretEdit} is `true`, the merge will be queued to happen at the end of the multicaret edit. See {@link beginMulticaretEdit} and {@link endMulticaretEdit}.
|
|
363
363
|
* **Note:** This is not called when a caret changes position but after certain actions, so it is possible to get into a state where carets overlap.
|
|
364
364
|
*/
|
|
365
|
-
mergeOverlappingCarets(): void { _C(this,
|
|
365
|
+
mergeOverlappingCarets(): void { _C(this, 9039); }
|
|
366
366
|
|
|
367
367
|
/**
|
|
368
368
|
* Starts an edit for multiple carets. The edit must be ended with {@link endMulticaretEdit}. Multicaret edits can be used to edit text at multiple carets and delay merging the carets until the end, so the caret indexes aren't affected immediately. {@link beginMulticaretEdit} and {@link endMulticaretEdit} can be nested, and the merge will happen at the last {@link endMulticaretEdit}.
|
|
@@ -380,35 +380,35 @@ export class TextEdit extends Control {
|
|
|
380
380
|
*
|
|
381
381
|
* ```
|
|
382
382
|
*/
|
|
383
|
-
beginMulticaretEdit(): void { _C(this,
|
|
383
|
+
beginMulticaretEdit(): void { _C(this, 1782); }
|
|
384
384
|
|
|
385
385
|
/**
|
|
386
386
|
* Ends an edit for multiple carets, that was started with {@link beginMulticaretEdit}. If this was the last {@link endMulticaretEdit} and {@link mergeOverlappingCarets} was called, carets will be merged.
|
|
387
387
|
*/
|
|
388
|
-
endMulticaretEdit(): void { _C(this,
|
|
388
|
+
endMulticaretEdit(): void { _C(this, 3152); }
|
|
389
389
|
|
|
390
390
|
/**
|
|
391
391
|
* Returns `true` if a {@link beginMulticaretEdit} has been called and {@link endMulticaretEdit} has not yet been called.
|
|
392
392
|
*/
|
|
393
|
-
isInMulitcaretEdit(): boolean { return _C(this,
|
|
393
|
+
isInMulitcaretEdit(): boolean { return _C(this, 8180) as boolean; }
|
|
394
394
|
|
|
395
395
|
/**
|
|
396
396
|
* Returns `true` if the given `caretIndex` should be ignored as part of a multicaret edit. See {@link beginMulticaretEdit} and {@link endMulticaretEdit}. Carets that should be ignored are ones that were part of removed text and will likely be merged at the end of the edit, or carets that were added during the edit.
|
|
397
397
|
* It is recommended to `continue` within a loop iterating on multiple carets if a caret should be ignored.
|
|
398
398
|
*/
|
|
399
|
-
multicaretEditIgnoreCaret(caretIndex: number): boolean { return _C(this,
|
|
399
|
+
multicaretEditIgnoreCaret(caretIndex: number): boolean { return _C(this, 9208, caretIndex) as boolean; }
|
|
400
400
|
|
|
401
401
|
/**
|
|
402
402
|
* Returns `true` if the caret is visible, `false` otherwise. A caret will be considered hidden if it is outside the scrollable area when scrolling is enabled.
|
|
403
403
|
* **Note:** {@link isCaretVisible} does not account for a caret being off-screen if it is still within the scrollable area. It will return `true` even if the caret is off-screen as long as it meets {@link TextEdit}'s own conditions for being visible. This includes uses of {@link scrollFitContentWidth} and {@link scrollFitContentHeight} that cause the {@link TextEdit} to expand beyond the viewport's bounds.
|
|
404
404
|
* **Note:** This method does *not* guarantee an accurate visibility check immediately after setting the caret position. The correct value may only be available in the next frame after the {@link TextEdit} has finished drawing. This also applies to any operation that causes the {@link TextEdit} to change in size.
|
|
405
405
|
*/
|
|
406
|
-
isCaretVisible(caretIndex?: number /* = 0 */): boolean { return _C(this,
|
|
406
|
+
isCaretVisible(caretIndex?: number /* = 0 */): boolean { return _C(this, 7981, caretIndex) as boolean; }
|
|
407
407
|
|
|
408
408
|
/**
|
|
409
409
|
* Returns the caret pixel draw position.
|
|
410
410
|
*/
|
|
411
|
-
getCaretDrawPos(caretIndex?: number /* = 0 */): Vector2 { return _C(this,
|
|
411
|
+
getCaretDrawPos(caretIndex?: number /* = 0 */): Vector2 { return _C(this, 4164, caretIndex) as Vector2; }
|
|
412
412
|
|
|
413
413
|
/**
|
|
414
414
|
* Moves the caret to the specified `line` index. The caret column will be moved to the same visual position it was at the last time {@link setCaretColumn} was called, or clamped to the end of the line.
|
|
@@ -417,413 +417,413 @@ export class TextEdit extends Control {
|
|
|
417
417
|
* If `wrapIndex` is `-1`, the caret column will be clamped to the `line`'s length. If `wrapIndex` is greater than `-1`, the column will be moved to attempt to match the visual x position on the line's `wrapIndex` to the position from the last time {@link setCaretColumn} was called.
|
|
418
418
|
* **Note:** If supporting multiple carets this will not check for any overlap. See {@link mergeOverlappingCarets}.
|
|
419
419
|
*/
|
|
420
|
-
setCaretLine(line: number, adjustViewport?: boolean /* = true */, canBeHidden?: boolean /* = true */, wrapIndex?: number /* = 0 */, caretIndex?: number /* = 0 */): void { _C(this,
|
|
420
|
+
setCaretLine(line: number, adjustViewport?: boolean /* = true */, canBeHidden?: boolean /* = true */, wrapIndex?: number /* = 0 */, caretIndex?: number /* = 0 */): void { _C(this, 11028, line, adjustViewport, canBeHidden, wrapIndex, caretIndex); }
|
|
421
421
|
|
|
422
422
|
/**
|
|
423
423
|
* Returns the line the editing caret is on.
|
|
424
424
|
*/
|
|
425
|
-
getCaretLine(caretIndex?: number /* = 0 */): number { return _C(this,
|
|
425
|
+
getCaretLine(caretIndex?: number /* = 0 */): number { return _C(this, 4166, caretIndex) as number; }
|
|
426
426
|
|
|
427
427
|
/**
|
|
428
428
|
* Moves the caret to the specified `column` index.
|
|
429
429
|
* If `adjustViewport` is `true`, the viewport will center at the caret position after the move occurs.
|
|
430
430
|
* **Note:** If supporting multiple carets this will not check for any overlap. See {@link mergeOverlappingCarets}.
|
|
431
431
|
*/
|
|
432
|
-
setCaretColumn(column: number, adjustViewport?: boolean /* = true */, caretIndex?: number /* = 0 */): void { _C(this,
|
|
432
|
+
setCaretColumn(column: number, adjustViewport?: boolean /* = true */, caretIndex?: number /* = 0 */): void { _C(this, 11026, column, adjustViewport, caretIndex); }
|
|
433
433
|
|
|
434
434
|
/**
|
|
435
435
|
* Returns the column the editing caret is at.
|
|
436
436
|
*/
|
|
437
|
-
getCaretColumn(caretIndex?: number /* = 0 */): number { return _C(this,
|
|
437
|
+
getCaretColumn(caretIndex?: number /* = 0 */): number { return _C(this, 4162, caretIndex) as number; }
|
|
438
438
|
|
|
439
439
|
/**
|
|
440
440
|
* Returns the correct column at the end of a composite character like ❤️🩹 (mending heart; Unicode: `U+2764 U+FE0F U+200D U+1FA79`) which is comprised of more than one Unicode code point, if the caret is at the start of the composite character. Also returns the correct column with the caret at mid grapheme and for non-composite characters.
|
|
441
441
|
* **Note:** To check at caret location use `get_next_composite_character_column(get_caret_line(), get_caret_column())`
|
|
442
442
|
*/
|
|
443
|
-
getNextCompositeCharacterColumn(line: number, column: number): number { return _C(this,
|
|
443
|
+
getNextCompositeCharacterColumn(line: number, column: number): number { return _C(this, 5732, line, column) as number; }
|
|
444
444
|
|
|
445
445
|
/**
|
|
446
446
|
* Returns the correct column at the start of a composite character like ❤️🩹 (mending heart; Unicode: `U+2764 U+FE0F U+200D U+1FA79`) which is comprised of more than one Unicode code point, if the caret is at the end of the composite character. Also returns the correct column with the caret at mid grapheme and for non-composite characters.
|
|
447
447
|
* **Note:** To check at caret location use `get_previous_composite_character_column(get_caret_line(), get_caret_column())`
|
|
448
448
|
*/
|
|
449
|
-
getPreviousCompositeCharacterColumn(line: number, column: number): number { return _C(this,
|
|
449
|
+
getPreviousCompositeCharacterColumn(line: number, column: number): number { return _C(this, 6118, line, column) as number; }
|
|
450
450
|
|
|
451
451
|
/**
|
|
452
452
|
* Returns the wrap index the editing caret is on.
|
|
453
453
|
*/
|
|
454
|
-
getCaretWrapIndex(caretIndex?: number /* = 0 */): number { return _C(this,
|
|
454
|
+
getCaretWrapIndex(caretIndex?: number /* = 0 */): number { return _C(this, 4168, caretIndex) as number; }
|
|
455
455
|
|
|
456
456
|
/**
|
|
457
457
|
* Returns a {@link String} text with the word under the caret's location.
|
|
458
458
|
*/
|
|
459
|
-
getWordUnderCaret(caretIndex?: number /* = -1 */): string { return _C(this,
|
|
459
|
+
getWordUnderCaret(caretIndex?: number /* = -1 */): string { return _C(this, 7302, caretIndex) as string; }
|
|
460
460
|
|
|
461
461
|
/**
|
|
462
462
|
* Sets the current selection mode.
|
|
463
463
|
*/
|
|
464
|
-
setSelectionMode(mode: SelectionMode): void { _C(this,
|
|
464
|
+
setSelectionMode(mode: SelectionMode): void { _C(this, 12957, mode); }
|
|
465
465
|
|
|
466
466
|
/**
|
|
467
467
|
* Returns the current selection mode.
|
|
468
468
|
*/
|
|
469
|
-
getSelectionMode(): SelectionMode { return _C(this,
|
|
469
|
+
getSelectionMode(): SelectionMode { return _C(this, 6461) as SelectionMode; }
|
|
470
470
|
|
|
471
471
|
/**
|
|
472
472
|
* Select all the text.
|
|
473
473
|
* If {@link selectingEnabled} is `false`, no selection will occur.
|
|
474
474
|
*/
|
|
475
|
-
selectAll(): void { _C(this,
|
|
475
|
+
selectAll(): void { _C(this, 10569); }
|
|
476
476
|
|
|
477
477
|
/**
|
|
478
478
|
* Selects the word under the caret.
|
|
479
479
|
*/
|
|
480
|
-
selectWordUnderCaret(caretIndex?: number /* = -1 */): void { _C(this,
|
|
480
|
+
selectWordUnderCaret(caretIndex?: number /* = -1 */): void { _C(this, 10575, caretIndex); }
|
|
481
481
|
|
|
482
482
|
/**
|
|
483
483
|
* Adds a selection and a caret for the next occurrence of the current selection. If there is no active selection, selects word under caret.
|
|
484
484
|
*/
|
|
485
|
-
addSelectionForNextOccurrence(): void { _C(this,
|
|
485
|
+
addSelectionForNextOccurrence(): void { _C(this, 1314); }
|
|
486
486
|
|
|
487
487
|
/**
|
|
488
488
|
* Moves a selection and a caret for the next occurrence of the current selection. If there is no active selection, moves to the next occurrence of the word under caret.
|
|
489
489
|
*/
|
|
490
|
-
skipSelectionForNextOccurrence(): void { _C(this,
|
|
490
|
+
skipSelectionForNextOccurrence(): void { _C(this, 13917); }
|
|
491
491
|
|
|
492
492
|
/**
|
|
493
493
|
* Selects text from `originLine` and `originColumn` to `caretLine` and `caretColumn` for the given `caretIndex`. This moves the selection origin and the caret. If the positions are the same, the selection will be deselected.
|
|
494
494
|
* If {@link selectingEnabled} is `false`, no selection will occur.
|
|
495
495
|
* **Note:** If supporting multiple carets this will not check for any overlap. See {@link mergeOverlappingCarets}.
|
|
496
496
|
*/
|
|
497
|
-
select(originLine: number, originColumn: number, caretLine: number, caretColumn: number, caretIndex?: number /* = 0 */): void { _C(this,
|
|
497
|
+
select(originLine: number, originColumn: number, caretLine: number, caretColumn: number, caretIndex?: number /* = 0 */): void { _C(this, 10568, originLine, originColumn, caretLine, caretColumn, caretIndex); }
|
|
498
498
|
|
|
499
499
|
/**
|
|
500
500
|
* Returns `true` if the user has selected text.
|
|
501
501
|
*/
|
|
502
|
-
hasSelection(caretIndex?: number /* = -1 */): boolean { return _C(this,
|
|
502
|
+
hasSelection(caretIndex?: number /* = -1 */): boolean { return _C(this, 7591, caretIndex) as boolean; }
|
|
503
503
|
|
|
504
504
|
/**
|
|
505
505
|
* Returns the text inside the selection of a caret, or all the carets if `caretIndex` is its default value `-1`.
|
|
506
506
|
*/
|
|
507
|
-
getSelectedText(caretIndex?: number /* = -1 */): string { return _C(this,
|
|
507
|
+
getSelectedText(caretIndex?: number /* = -1 */): string { return _C(this, 6453, caretIndex) as string; }
|
|
508
508
|
|
|
509
509
|
/**
|
|
510
510
|
* Returns the caret index of the selection at the given `line` and `column`, or `-1` if there is none.
|
|
511
511
|
* If `includeEdges` is `false`, the position must be inside the selection and not at either end. If `onlySelections` is `false`, carets without a selection will also be considered.
|
|
512
512
|
*/
|
|
513
|
-
getSelectionAtLineColumn(line: number, column: number, includeEdges?: boolean /* = true */, onlySelections?: boolean /* = true */): number { return _C(this,
|
|
513
|
+
getSelectionAtLineColumn(line: number, column: number, includeEdges?: boolean /* = true */, onlySelections?: boolean /* = true */): number { return _C(this, 6454, line, column, includeEdges, onlySelections) as number; }
|
|
514
514
|
|
|
515
515
|
/**
|
|
516
516
|
* Returns an {@link Array} of line ranges where `x` is the first line and `y` is the last line. All lines within these ranges will have a caret on them or be part of a selection. Each line will only be part of one line range, even if it has multiple carets on it.
|
|
517
517
|
* If a selection's end column ({@link getSelectionToColumn}) is at column `0`, that line will not be included. If a selection begins on the line after another selection ends and `mergeAdjacent` is `true`, or they begin and end on the same line, one line range will include both selections.
|
|
518
518
|
*/
|
|
519
|
-
getLineRangesFromCarets(onlySelections?: boolean /* = false */, mergeAdjacent?: boolean /* = true */): GodotArray<Vector2i> { return _C(this,
|
|
519
|
+
getLineRangesFromCarets(onlySelections?: boolean /* = false */, mergeAdjacent?: boolean /* = true */): GodotArray<Vector2i> { return _C(this, 5465, onlySelections, mergeAdjacent) as GodotArray<Vector2i>; }
|
|
520
520
|
|
|
521
521
|
/**
|
|
522
522
|
* Returns the origin line of the selection. This is the opposite end from the caret.
|
|
523
523
|
*/
|
|
524
|
-
getSelectionOriginLine(caretIndex?: number /* = 0 */): number { return _C(this,
|
|
524
|
+
getSelectionOriginLine(caretIndex?: number /* = 0 */): number { return _C(this, 6463, caretIndex) as number; }
|
|
525
525
|
|
|
526
526
|
/**
|
|
527
527
|
* Returns the origin column of the selection. This is the opposite end from the caret.
|
|
528
528
|
*/
|
|
529
|
-
getSelectionOriginColumn(caretIndex?: number /* = 0 */): number { return _C(this,
|
|
529
|
+
getSelectionOriginColumn(caretIndex?: number /* = 0 */): number { return _C(this, 6462, caretIndex) as number; }
|
|
530
530
|
|
|
531
531
|
/**
|
|
532
532
|
* Sets the selection origin line to the `line` for the given `caretIndex`. If the selection origin is moved to the caret position, the selection will deselect.
|
|
533
533
|
* If `canBeHidden` is `false`, The line will be set to the nearest unhidden line below or above.
|
|
534
534
|
* If `wrapIndex` is `-1`, the selection origin column will be clamped to the `line`'s length. If `wrapIndex` is greater than `-1`, the column will be moved to attempt to match the visual x position on the line's `wrapIndex` to the position from the last time {@link setSelectionOriginColumn} or {@link select} was called.
|
|
535
535
|
*/
|
|
536
|
-
setSelectionOriginLine(line: number, canBeHidden?: boolean /* = true */, wrapIndex?: number /* = -1 */, caretIndex?: number /* = 0 */): void { _C(this,
|
|
536
|
+
setSelectionOriginLine(line: number, canBeHidden?: boolean /* = true */, wrapIndex?: number /* = -1 */, caretIndex?: number /* = 0 */): void { _C(this, 12959, line, canBeHidden, wrapIndex, caretIndex); }
|
|
537
537
|
|
|
538
538
|
/**
|
|
539
539
|
* Sets the selection origin column to the `column` for the given `caretIndex`. If the selection origin is moved to the caret position, the selection will deselect.
|
|
540
540
|
*/
|
|
541
|
-
setSelectionOriginColumn(column: number, caretIndex?: number /* = 0 */): void { _C(this,
|
|
541
|
+
setSelectionOriginColumn(column: number, caretIndex?: number /* = 0 */): void { _C(this, 12958, column, caretIndex); }
|
|
542
542
|
|
|
543
543
|
/**
|
|
544
544
|
* Returns the selection begin line. Returns the caret line if there is no selection.
|
|
545
545
|
*/
|
|
546
|
-
getSelectionFromLine(caretIndex?: number /* = 0 */): number { return _C(this,
|
|
546
|
+
getSelectionFromLine(caretIndex?: number /* = 0 */): number { return _C(this, 6458, caretIndex) as number; }
|
|
547
547
|
|
|
548
548
|
/**
|
|
549
549
|
* Returns the selection begin column. Returns the caret column if there is no selection.
|
|
550
550
|
*/
|
|
551
|
-
getSelectionFromColumn(caretIndex?: number /* = 0 */): number { return _C(this,
|
|
551
|
+
getSelectionFromColumn(caretIndex?: number /* = 0 */): number { return _C(this, 6457, caretIndex) as number; }
|
|
552
552
|
|
|
553
553
|
/**
|
|
554
554
|
* Returns the selection end line. Returns the caret line if there is no selection.
|
|
555
555
|
*/
|
|
556
|
-
getSelectionToLine(caretIndex?: number /* = 0 */): number { return _C(this,
|
|
556
|
+
getSelectionToLine(caretIndex?: number /* = 0 */): number { return _C(this, 6466, caretIndex) as number; }
|
|
557
557
|
|
|
558
558
|
/**
|
|
559
559
|
* Returns the selection end column. Returns the caret column if there is no selection.
|
|
560
560
|
*/
|
|
561
|
-
getSelectionToColumn(caretIndex?: number /* = 0 */): number { return _C(this,
|
|
561
|
+
getSelectionToColumn(caretIndex?: number /* = 0 */): number { return _C(this, 6465, caretIndex) as number; }
|
|
562
562
|
|
|
563
563
|
/**
|
|
564
564
|
* Returns `true` if the caret of the selection is after the selection origin. This can be used to determine the direction of the selection.
|
|
565
565
|
*/
|
|
566
|
-
isCaretAfterSelectionOrigin(caretIndex?: number /* = 0 */): boolean { return _C(this,
|
|
566
|
+
isCaretAfterSelectionOrigin(caretIndex?: number /* = 0 */): boolean { return _C(this, 7977, caretIndex) as boolean; }
|
|
567
567
|
|
|
568
568
|
/**
|
|
569
569
|
* Deselects the current selection.
|
|
570
570
|
*/
|
|
571
|
-
deselect(caretIndex?: number /* = -1 */): void { _C(this,
|
|
571
|
+
deselect(caretIndex?: number /* = -1 */): void { _C(this, 2805, caretIndex); }
|
|
572
572
|
|
|
573
573
|
/**
|
|
574
574
|
* Deletes the selected text.
|
|
575
575
|
*/
|
|
576
|
-
deleteSelection(caretIndex?: number /* = -1 */): void { _C(this,
|
|
576
|
+
deleteSelection(caretIndex?: number /* = -1 */): void { _C(this, 2776, caretIndex); }
|
|
577
577
|
|
|
578
578
|
/**
|
|
579
579
|
* Returns if the given line is wrapped.
|
|
580
580
|
*/
|
|
581
|
-
isLineWrapped(line: number): boolean { return _C(this,
|
|
581
|
+
isLineWrapped(line: number): boolean { return _C(this, 8253, line) as boolean; }
|
|
582
582
|
|
|
583
583
|
/**
|
|
584
584
|
* Returns the number of times the given line is wrapped.
|
|
585
585
|
*/
|
|
586
|
-
getLineWrapCount(line: number): number { return _C(this,
|
|
586
|
+
getLineWrapCount(line: number): number { return _C(this, 5474, line) as number; }
|
|
587
587
|
|
|
588
588
|
/**
|
|
589
589
|
* Returns the wrap index of the given column on the given line. This ranges from `0` to {@link getLineWrapCount}.
|
|
590
590
|
*/
|
|
591
|
-
getLineWrapIndexAtColumn(line: number, column: number): number { return _C(this,
|
|
591
|
+
getLineWrapIndexAtColumn(line: number, column: number): number { return _C(this, 5475, line, column) as number; }
|
|
592
592
|
|
|
593
593
|
/**
|
|
594
594
|
* Returns an array of {@link String}s representing each wrapped index.
|
|
595
595
|
*/
|
|
596
|
-
getLineWrappedText(line: number): PackedStringArray { return _C(this,
|
|
596
|
+
getLineWrappedText(line: number): PackedStringArray { return _C(this, 5476, line) as PackedStringArray; }
|
|
597
597
|
|
|
598
598
|
/**
|
|
599
599
|
* Returns the {@link VScrollBar} of the {@link TextEdit}.
|
|
600
600
|
*/
|
|
601
|
-
getVScrollBar(): VScrollBar { return _C(this,
|
|
601
|
+
getVScrollBar(): VScrollBar { return _C(this, 7155) as VScrollBar; }
|
|
602
602
|
|
|
603
603
|
/**
|
|
604
604
|
* Returns the {@link HScrollBar} used by {@link TextEdit}.
|
|
605
605
|
*/
|
|
606
|
-
getHScrollBar(): HScrollBar { return _C(this,
|
|
606
|
+
getHScrollBar(): HScrollBar { return _C(this, 5089) as HScrollBar; }
|
|
607
607
|
|
|
608
608
|
/**
|
|
609
609
|
* Returns the scroll position for `wrapIndex` of `line`.
|
|
610
610
|
*/
|
|
611
|
-
getScrollPosForLine(line: number, wrapIndex?: number /* = 0 */): number { return _C(this,
|
|
611
|
+
getScrollPosForLine(line: number, wrapIndex?: number /* = 0 */): number { return _C(this, 6406, line, wrapIndex) as number; }
|
|
612
612
|
|
|
613
613
|
/**
|
|
614
614
|
* Positions the `wrapIndex` of `line` at the top of the viewport.
|
|
615
615
|
*/
|
|
616
|
-
setLineAsFirstVisible(line: number, wrapIndex?: number /* = 0 */): void { _C(this,
|
|
616
|
+
setLineAsFirstVisible(line: number, wrapIndex?: number /* = 0 */): void { _C(this, 12162, line, wrapIndex); }
|
|
617
617
|
|
|
618
618
|
/**
|
|
619
619
|
* Returns the first visible line.
|
|
620
620
|
*/
|
|
621
|
-
getFirstVisibleLine(): number { return _C(this,
|
|
621
|
+
getFirstVisibleLine(): number { return _C(this, 4880) as number; }
|
|
622
622
|
|
|
623
623
|
/**
|
|
624
624
|
* Returns `true` if the given line is within the scope of the scrollable area of the viewport.
|
|
625
625
|
*/
|
|
626
|
-
isLineInViewport(line: number): boolean { return _C(this,
|
|
626
|
+
isLineInViewport(line: number): boolean { return _C(this, 8251, line) as boolean; }
|
|
627
627
|
|
|
628
628
|
/**
|
|
629
629
|
* Positions the `wrapIndex` of `line` at the center of the viewport.
|
|
630
630
|
*/
|
|
631
|
-
setLineAsCenterVisible(line: number, wrapIndex?: number /* = 0 */): void { _C(this,
|
|
631
|
+
setLineAsCenterVisible(line: number, wrapIndex?: number /* = 0 */): void { _C(this, 12160, line, wrapIndex); }
|
|
632
632
|
|
|
633
633
|
/**
|
|
634
634
|
* Positions the `wrapIndex` of `line` at the bottom of the viewport.
|
|
635
635
|
*/
|
|
636
|
-
setLineAsLastVisible(line: number, wrapIndex?: number /* = 0 */): void { _C(this,
|
|
636
|
+
setLineAsLastVisible(line: number, wrapIndex?: number /* = 0 */): void { _C(this, 12163, line, wrapIndex); }
|
|
637
637
|
|
|
638
638
|
/**
|
|
639
639
|
* Returns the last visible line. Use {@link getLastFullVisibleLineWrapIndex} for the wrap index.
|
|
640
640
|
*/
|
|
641
|
-
getLastFullVisibleLine(): number { return _C(this,
|
|
641
|
+
getLastFullVisibleLine(): number { return _C(this, 5399) as number; }
|
|
642
642
|
|
|
643
643
|
/**
|
|
644
644
|
* Returns the last visible wrap index of the last visible line.
|
|
645
645
|
*/
|
|
646
|
-
getLastFullVisibleLineWrapIndex(): number { return _C(this,
|
|
646
|
+
getLastFullVisibleLineWrapIndex(): number { return _C(this, 5400) as number; }
|
|
647
647
|
|
|
648
648
|
/**
|
|
649
649
|
* Returns the number of lines that can visually fit, rounded down, based on this control's height.
|
|
650
650
|
*/
|
|
651
|
-
getVisibleLineCount(): number { return _C(this,
|
|
651
|
+
getVisibleLineCount(): number { return _C(this, 7250) as number; }
|
|
652
652
|
|
|
653
653
|
/**
|
|
654
654
|
* Returns the total number of lines between `fromLine` and `toLine` (inclusive) in the text. This includes wrapped lines and excludes folded lines. If the range covers all lines it is equivalent to {@link getTotalVisibleLineCount}.
|
|
655
655
|
*/
|
|
656
|
-
getVisibleLineCountInRange(fromLine: number, toLine: number): number { return _C(this,
|
|
656
|
+
getVisibleLineCountInRange(fromLine: number, toLine: number): number { return _C(this, 7251, fromLine, toLine) as number; }
|
|
657
657
|
|
|
658
658
|
/**
|
|
659
659
|
* Returns the total number of lines in the text. This includes wrapped lines and excludes folded lines. If {@link wrapMode} is set to {@link LINE_WRAPPING_NONE} and no lines are folded (see {@link CodeEdit.isLineFolded}) then this is equivalent to {@link getLineCount}. See {@link getVisibleLineCountInRange} for a limited range of lines.
|
|
660
660
|
*/
|
|
661
|
-
getTotalVisibleLineCount(): number { return _C(this,
|
|
661
|
+
getTotalVisibleLineCount(): number { return _C(this, 6995) as number; }
|
|
662
662
|
|
|
663
663
|
/**
|
|
664
664
|
* Adjust the viewport so the caret is visible.
|
|
665
665
|
*/
|
|
666
|
-
adjustViewportToCaret(caretIndex?: number /* = 0 */): void { _C(this,
|
|
666
|
+
adjustViewportToCaret(caretIndex?: number /* = 0 */): void { _C(this, 1370, caretIndex); }
|
|
667
667
|
|
|
668
668
|
/**
|
|
669
669
|
* Centers the viewport on the line the editing caret is at. This also resets the {@link scrollHorizontal} value to `0`.
|
|
670
670
|
*/
|
|
671
|
-
centerViewportToCaret(caretIndex?: number /* = 0 */): void { _C(this,
|
|
671
|
+
centerViewportToCaret(caretIndex?: number /* = 0 */): void { _C(this, 2215, caretIndex); }
|
|
672
672
|
|
|
673
673
|
/**
|
|
674
674
|
* Returns the number of lines that may be drawn on the minimap.
|
|
675
675
|
*/
|
|
676
|
-
getMinimapVisibleLines(): number { return _C(this,
|
|
676
|
+
getMinimapVisibleLines(): number { return _C(this, 5658) as number; }
|
|
677
677
|
|
|
678
678
|
/**
|
|
679
679
|
* Register a new gutter to this {@link TextEdit}. Use `at` to have a specific gutter order. A value of `-1` appends the gutter to the right.
|
|
680
680
|
*/
|
|
681
|
-
addGutter(at?: number /* = -1 */): void { _C(this,
|
|
681
|
+
addGutter(at?: number /* = -1 */): void { _C(this, 1254, at); }
|
|
682
682
|
|
|
683
683
|
/**
|
|
684
684
|
* Removes the gutter at the given index.
|
|
685
685
|
*/
|
|
686
|
-
removeGutter(gutter: number): void { _C(this,
|
|
686
|
+
removeGutter(gutter: number): void { _C(this, 10123, gutter); }
|
|
687
687
|
|
|
688
688
|
/**
|
|
689
689
|
* Returns the number of gutters registered.
|
|
690
690
|
*/
|
|
691
|
-
getGutterCount(): number { return _C(this,
|
|
691
|
+
getGutterCount(): number { return _C(this, 5080) as number; }
|
|
692
692
|
|
|
693
693
|
/**
|
|
694
694
|
* Sets the name of the gutter at the given index.
|
|
695
695
|
*/
|
|
696
|
-
setGutterName(gutter: number, name: string): void { _C(this,
|
|
696
|
+
setGutterName(gutter: number, name: string): void { _C(this, 11816, gutter, name); }
|
|
697
697
|
|
|
698
698
|
/**
|
|
699
699
|
* Returns the name of the gutter at the given index.
|
|
700
700
|
*/
|
|
701
|
-
getGutterName(gutter: number): string { return _C(this,
|
|
701
|
+
getGutterName(gutter: number): string { return _C(this, 5081, gutter) as string; }
|
|
702
702
|
|
|
703
703
|
/**
|
|
704
704
|
* Sets the type of gutter at the given index. Gutters can contain icons, text, or custom visuals.
|
|
705
705
|
*/
|
|
706
|
-
setGutterType(gutter: number, type: GutterType): void { _C(this,
|
|
706
|
+
setGutterType(gutter: number, type: GutterType): void { _C(this, 11818, gutter, type); }
|
|
707
707
|
|
|
708
708
|
/**
|
|
709
709
|
* Returns the type of the gutter at the given index. Gutters can contain icons, text, or custom visuals.
|
|
710
710
|
*/
|
|
711
|
-
getGutterType(gutter: number): GutterType { return _C(this,
|
|
711
|
+
getGutterType(gutter: number): GutterType { return _C(this, 5082, gutter) as GutterType; }
|
|
712
712
|
|
|
713
713
|
/**
|
|
714
714
|
* Set the width of the gutter at the given index.
|
|
715
715
|
*/
|
|
716
|
-
setGutterWidth(gutter: number, width: number): void { _C(this,
|
|
716
|
+
setGutterWidth(gutter: number, width: number): void { _C(this, 11819, gutter, width); }
|
|
717
717
|
|
|
718
718
|
/**
|
|
719
719
|
* Returns the width of the gutter at the given index.
|
|
720
720
|
*/
|
|
721
|
-
getGutterWidth(gutter: number): number { return _C(this,
|
|
721
|
+
getGutterWidth(gutter: number): number { return _C(this, 5083, gutter) as number; }
|
|
722
722
|
|
|
723
723
|
/**
|
|
724
724
|
* If `true`, the gutter at the given index is drawn. The gutter type ({@link setGutterType}) determines how it is drawn. See {@link isGutterDrawn}.
|
|
725
725
|
*/
|
|
726
|
-
setGutterDraw(gutter: number, draw: boolean): void { _C(this,
|
|
726
|
+
setGutterDraw(gutter: number, draw: boolean): void { _C(this, 11815, gutter, draw); }
|
|
727
727
|
|
|
728
728
|
/**
|
|
729
729
|
* Returns `true` if the gutter at the given index is currently drawn. See {@link setGutterDraw}.
|
|
730
730
|
*/
|
|
731
|
-
isGutterDrawn(gutter: number): boolean { return _C(this,
|
|
731
|
+
isGutterDrawn(gutter: number): boolean { return _C(this, 8146, gutter) as boolean; }
|
|
732
732
|
|
|
733
733
|
/**
|
|
734
734
|
* If `true`, the mouse cursor will change to a pointing hand ({@link Control.CURSOR_POINTING_HAND}) when hovering over the gutter at the given index. See {@link isGutterClickable} and {@link setLineGutterClickable}.
|
|
735
735
|
*/
|
|
736
|
-
setGutterClickable(gutter: number, clickable: boolean): void { _C(this,
|
|
736
|
+
setGutterClickable(gutter: number, clickable: boolean): void { _C(this, 11813, gutter, clickable); }
|
|
737
737
|
|
|
738
738
|
/**
|
|
739
739
|
* Returns `true` if the gutter at the given index is clickable. See {@link setGutterClickable}.
|
|
740
740
|
*/
|
|
741
|
-
isGutterClickable(gutter: number): boolean { return _C(this,
|
|
741
|
+
isGutterClickable(gutter: number): boolean { return _C(this, 8145, gutter) as boolean; }
|
|
742
742
|
|
|
743
743
|
/**
|
|
744
744
|
* If `true`, the line data of the gutter at the given index can be overridden when using {@link mergeGutters}. See {@link isGutterOverwritable}.
|
|
745
745
|
*/
|
|
746
|
-
setGutterOverwritable(gutter: number, overwritable: boolean): void { _C(this,
|
|
746
|
+
setGutterOverwritable(gutter: number, overwritable: boolean): void { _C(this, 11817, gutter, overwritable); }
|
|
747
747
|
|
|
748
748
|
/**
|
|
749
749
|
* Returns `true` if the gutter at the given index is overwritable. See {@link setGutterOverwritable}.
|
|
750
750
|
*/
|
|
751
|
-
isGutterOverwritable(gutter: number): boolean { return _C(this,
|
|
751
|
+
isGutterOverwritable(gutter: number): boolean { return _C(this, 8147, gutter) as boolean; }
|
|
752
752
|
|
|
753
753
|
/**
|
|
754
754
|
* Merge the gutters from `fromLine` into `toLine`. Only overwritable gutters will be copied. See {@link setGutterOverwritable}.
|
|
755
755
|
*/
|
|
756
|
-
mergeGutters(fromLine: number, toLine: number): void { _C(this,
|
|
756
|
+
mergeGutters(fromLine: number, toLine: number): void { _C(this, 9037, fromLine, toLine); }
|
|
757
757
|
|
|
758
758
|
/**
|
|
759
759
|
* Set a custom draw callback for the gutter at the given index. `drawCallback` must take the following arguments: A line index {@link int}, a gutter index {@link int}, and an area {@link Rect2}. This callback only works when the gutter type is {@link GUTTER_TYPE_CUSTOM} (see {@link setGutterType}).
|
|
760
760
|
*/
|
|
761
|
-
setGutterCustomDraw(column: number, drawCallback: Callable): void { _C(this,
|
|
761
|
+
setGutterCustomDraw(column: number, drawCallback: Callable): void { _C(this, 11814, column, drawCallback); }
|
|
762
762
|
|
|
763
763
|
/**
|
|
764
764
|
* Returns the total width of all gutters and internal padding.
|
|
765
765
|
*/
|
|
766
|
-
getTotalGutterWidth(): number { return _C(this,
|
|
766
|
+
getTotalGutterWidth(): number { return _C(this, 6992) as number; }
|
|
767
767
|
|
|
768
768
|
/**
|
|
769
769
|
* Sets the metadata for `gutter` on `line` to `metadata`.
|
|
770
770
|
*/
|
|
771
|
-
setLineGutterMetadata(line: number, gutter: number, metadata: Variant): void { _C(this,
|
|
771
|
+
setLineGutterMetadata(line: number, gutter: number, metadata: Variant): void { _C(this, 12169, line, gutter, metadata); }
|
|
772
772
|
|
|
773
773
|
/**
|
|
774
774
|
* Returns the metadata currently in `gutter` at `line`.
|
|
775
775
|
*/
|
|
776
|
-
getLineGutterMetadata(line: number, gutter: number): Variant { return _C(this,
|
|
776
|
+
getLineGutterMetadata(line: number, gutter: number): Variant { return _C(this, 5456, line, gutter) as Variant; }
|
|
777
777
|
|
|
778
778
|
/**
|
|
779
779
|
* Sets the text for `gutter` on `line` to `text`. This only works when the gutter type is {@link GUTTER_TYPE_STRING} (see {@link setGutterType}).
|
|
780
780
|
*/
|
|
781
|
-
setLineGutterText(line: number, gutter: number, text: string): void { _C(this,
|
|
781
|
+
setLineGutterText(line: number, gutter: number, text: string): void { _C(this, 12170, line, gutter, text); }
|
|
782
782
|
|
|
783
783
|
/**
|
|
784
784
|
* Returns the text currently in `gutter` at `line`. This only works when the gutter type is {@link GUTTER_TYPE_STRING} (see {@link setGutterType}).
|
|
785
785
|
*/
|
|
786
|
-
getLineGutterText(line: number, gutter: number): string { return _C(this,
|
|
786
|
+
getLineGutterText(line: number, gutter: number): string { return _C(this, 5457, line, gutter) as string; }
|
|
787
787
|
|
|
788
788
|
/**
|
|
789
789
|
* Sets the icon for `gutter` on `line` to `icon`. This only works when the gutter type is {@link GUTTER_TYPE_ICON} (see {@link setGutterType}).
|
|
790
790
|
*/
|
|
791
|
-
setLineGutterIcon(line: number, gutter: number, icon: Texture2D): void { _C(this,
|
|
791
|
+
setLineGutterIcon(line: number, gutter: number, icon: Texture2D): void { _C(this, 12167, line, gutter, icon); }
|
|
792
792
|
|
|
793
793
|
/**
|
|
794
794
|
* Returns the icon currently in `gutter` at `line`. This only works when the gutter type is {@link GUTTER_TYPE_ICON} (see {@link setGutterType}).
|
|
795
795
|
*/
|
|
796
|
-
getLineGutterIcon(line: number, gutter: number): Texture2D { return _C(this,
|
|
796
|
+
getLineGutterIcon(line: number, gutter: number): Texture2D { return _C(this, 5454, line, gutter) as Texture2D; }
|
|
797
797
|
|
|
798
798
|
/**
|
|
799
799
|
* Sets the color for `gutter` on `line` to `color`.
|
|
800
800
|
*/
|
|
801
|
-
setLineGutterItemColor(line: number, gutter: number, color: Color): void { _C(this,
|
|
801
|
+
setLineGutterItemColor(line: number, gutter: number, color: Color): void { _C(this, 12168, line, gutter, color); }
|
|
802
802
|
|
|
803
803
|
/**
|
|
804
804
|
* Returns the color currently in `gutter` at `line`.
|
|
805
805
|
*/
|
|
806
|
-
getLineGutterItemColor(line: number, gutter: number): Color { return _C(this,
|
|
806
|
+
getLineGutterItemColor(line: number, gutter: number): Color { return _C(this, 5455, line, gutter) as Color; }
|
|
807
807
|
|
|
808
808
|
/**
|
|
809
809
|
* If `clickable` is `true`, makes the `gutter` on the given `line` clickable. This is like {@link setGutterClickable}, but for a single line. If {@link isGutterClickable} is `true`, this will not have any effect. See {@link isLineGutterClickable} and {@link gutter_clicked}.
|
|
810
810
|
*/
|
|
811
|
-
setLineGutterClickable(line: number, gutter: number, clickable: boolean): void { _C(this,
|
|
811
|
+
setLineGutterClickable(line: number, gutter: number, clickable: boolean): void { _C(this, 12166, line, gutter, clickable); }
|
|
812
812
|
|
|
813
813
|
/**
|
|
814
814
|
* Returns `true` if the gutter at the given index on the given line is clickable. See {@link setLineGutterClickable}.
|
|
815
815
|
*/
|
|
816
|
-
isLineGutterClickable(line: number, gutter: number): boolean { return _C(this,
|
|
816
|
+
isLineGutterClickable(line: number, gutter: number): boolean { return _C(this, 8250, line, gutter) as boolean; }
|
|
817
817
|
|
|
818
818
|
/**
|
|
819
819
|
* Sets the custom background color of the given line. If transparent, this color is applied on top of the default background color (See {@link background_color}). If set to `Color(0, 0, 0, 0)`, no additional color is applied.
|
|
820
820
|
*/
|
|
821
|
-
setLineBackgroundColor(line: number, color: Color): void { _C(this,
|
|
821
|
+
setLineBackgroundColor(line: number, color: Color): void { _C(this, 12164, line, color); }
|
|
822
822
|
|
|
823
823
|
/**
|
|
824
824
|
* Returns the custom background color of the given line. If no color is set, returns `Color(0, 0, 0, 0)`.
|
|
825
825
|
*/
|
|
826
|
-
getLineBackgroundColor(line: number): Color { return _C(this,
|
|
826
|
+
getLineBackgroundColor(line: number): Color { return _C(this, 5449, line) as Color; }
|
|
827
827
|
|
|
828
828
|
/**
|
|
829
829
|
* Returns the {@link PopupMenu} of this {@link TextEdit}. By default, this menu is displayed when right-clicking on the {@link TextEdit}.
|
|
@@ -852,369 +852,375 @@ export class TextEdit extends Control {
|
|
|
852
852
|
*
|
|
853
853
|
* **Warning:** This is a required internal node, removing and freeing it may cause a crash. If you wish to hide it or any of its children, use their {@link Window.visible} property.
|
|
854
854
|
*/
|
|
855
|
-
getMenu(): PopupMenu { return _C(this,
|
|
855
|
+
getMenu(): PopupMenu { return _C(this, 5609) as PopupMenu; }
|
|
856
856
|
|
|
857
857
|
/**
|
|
858
858
|
* Returns `true` if the menu is visible. Use this instead of `get_menu().visible` to improve performance (so the creation of the menu is avoided). See {@link getMenu}.
|
|
859
859
|
*/
|
|
860
|
-
isMenuVisible(): boolean { return _C(this,
|
|
860
|
+
isMenuVisible(): boolean { return _C(this, 8271) as boolean; }
|
|
861
861
|
|
|
862
862
|
/**
|
|
863
863
|
* Executes a given action as defined in the {@link MenuItems} enum.
|
|
864
864
|
*/
|
|
865
|
-
menuOption(option: number): void { _C(this,
|
|
865
|
+
menuOption(option: number): void { _C(this, 9035, option); }
|
|
866
866
|
|
|
867
867
|
/**
|
|
868
868
|
* This method does nothing.
|
|
869
869
|
*/
|
|
870
|
-
adjustCaretsAfterEdit(caret: number, fromLine: number, fromCol: number, toLine: number, toCol: number): void { _C(this,
|
|
870
|
+
adjustCaretsAfterEdit(caret: number, fromLine: number, fromCol: number, toLine: number, toCol: number): void { _C(this, 1369, caret, fromLine, fromCol, toLine, toCol); }
|
|
871
871
|
|
|
872
872
|
/**
|
|
873
873
|
* Returns a list of caret indexes in their edit order, this done from bottom to top. Edit order refers to the way actions such as {@link insertTextAtCaret} are applied.
|
|
874
874
|
*/
|
|
875
|
-
getCaretIndexEditOrder(): PackedInt32Array { return _C(this,
|
|
875
|
+
getCaretIndexEditOrder(): PackedInt32Array { return _C(this, 4165) as PackedInt32Array; }
|
|
876
876
|
|
|
877
877
|
/**
|
|
878
878
|
* Returns the original start line of the selection.
|
|
879
879
|
*/
|
|
880
|
-
getSelectionLine(caretIndex?: number /* = 0 */): number { return _C(this,
|
|
880
|
+
getSelectionLine(caretIndex?: number /* = 0 */): number { return _C(this, 6459, caretIndex) as number; }
|
|
881
881
|
|
|
882
882
|
/**
|
|
883
883
|
* Returns the original start column of the selection.
|
|
884
884
|
*/
|
|
885
|
-
getSelectionColumn(caretIndex?: number /* = 0 */): number { return _C(this,
|
|
885
|
+
getSelectionColumn(caretIndex?: number /* = 0 */): number { return _C(this, 6455, caretIndex) as number; }
|
|
886
886
|
|
|
887
887
|
/**
|
|
888
888
|
* String value of the {@link TextEdit}.
|
|
889
889
|
*/
|
|
890
|
-
get text(): string { return _C(this,
|
|
891
|
-
set text(v: string) { _C(this,
|
|
890
|
+
get text(): string { return _C(this, 6852) as string; }
|
|
891
|
+
set text(v: string) { _C(this, 13290, v); }
|
|
892
892
|
|
|
893
893
|
/**
|
|
894
894
|
* Text shown when the {@link TextEdit} is empty. It is **not** the {@link TextEdit}'s default value (see {@link text}).
|
|
895
895
|
*/
|
|
896
|
-
get placeholderText(): string { return _C(this,
|
|
897
|
-
set placeholderText(v: string) { _C(this,
|
|
896
|
+
get placeholderText(): string { return _C(this, 6028) as string; }
|
|
897
|
+
set placeholderText(v: string) { _C(this, 12596, v); }
|
|
898
898
|
|
|
899
899
|
/**
|
|
900
900
|
* If `false`, existing text cannot be modified and new text cannot be added.
|
|
901
901
|
*/
|
|
902
|
-
get editable(): boolean { return _C(this,
|
|
903
|
-
set editable(v: boolean) { _C(this,
|
|
902
|
+
get editable(): boolean { return _C(this, 8078) as boolean; }
|
|
903
|
+
set editable(v: boolean) { _C(this, 11446, v); }
|
|
904
904
|
|
|
905
905
|
/**
|
|
906
906
|
* If `true`, a right-click displays the context menu.
|
|
907
907
|
*/
|
|
908
|
-
get contextMenuEnabled(): boolean { return _C(this,
|
|
909
|
-
set contextMenuEnabled(v: boolean) { _C(this,
|
|
908
|
+
get contextMenuEnabled(): boolean { return _C(this, 8021) as boolean; }
|
|
909
|
+
set contextMenuEnabled(v: boolean) { _C(this, 11184, v); }
|
|
910
910
|
|
|
911
911
|
/**
|
|
912
912
|
* If `true`, "Emoji and Symbols" menu is enabled.
|
|
913
913
|
*/
|
|
914
|
-
get emojiMenuEnabled(): boolean { return _C(this,
|
|
915
|
-
set emojiMenuEnabled(v: boolean) { _C(this,
|
|
914
|
+
get emojiMenuEnabled(): boolean { return _C(this, 8092) as boolean; }
|
|
915
|
+
set emojiMenuEnabled(v: boolean) { _C(this, 11487, v); }
|
|
916
916
|
|
|
917
917
|
/**
|
|
918
918
|
* If `true` and {@link caretMidGrapheme} is `false`, backspace deletes an entire composite character such as ❤️🩹, instead of deleting part of the composite character.
|
|
919
919
|
*/
|
|
920
|
-
get backspaceDeletesCompositeCharacterEnabled(): boolean { return _C(this,
|
|
921
|
-
set backspaceDeletesCompositeCharacterEnabled(v: boolean) { _C(this,
|
|
920
|
+
get backspaceDeletesCompositeCharacterEnabled(): boolean { return _C(this, 7947) as boolean; }
|
|
921
|
+
set backspaceDeletesCompositeCharacterEnabled(v: boolean) { _C(this, 10846, v); }
|
|
922
922
|
|
|
923
923
|
/**
|
|
924
924
|
* If `true`, shortcut keys for context menu items are enabled, even if the context menu is disabled.
|
|
925
925
|
*/
|
|
926
|
-
get shortcutKeysEnabled(): boolean { return _C(this,
|
|
927
|
-
set shortcutKeysEnabled(v: boolean) { _C(this,
|
|
926
|
+
get shortcutKeysEnabled(): boolean { return _C(this, 8478) as boolean; }
|
|
927
|
+
set shortcutKeysEnabled(v: boolean) { _C(this, 12995, v); }
|
|
928
928
|
|
|
929
929
|
/**
|
|
930
930
|
* If `true`, text can be selected.
|
|
931
931
|
* If `false`, text can not be selected by the user or by the {@link select} or {@link selectAll} methods.
|
|
932
932
|
*/
|
|
933
|
-
get selectingEnabled(): boolean { return _C(this,
|
|
934
|
-
set selectingEnabled(v: boolean) { _C(this,
|
|
933
|
+
get selectingEnabled(): boolean { return _C(this, 8460) as boolean; }
|
|
934
|
+
set selectingEnabled(v: boolean) { _C(this, 12954, v); }
|
|
935
935
|
|
|
936
936
|
/**
|
|
937
937
|
* If `true`, the selected text will be deselected when focus is lost.
|
|
938
938
|
*/
|
|
939
|
-
get deselectOnFocusLossEnabled(): boolean { return _C(this,
|
|
940
|
-
set deselectOnFocusLossEnabled(v: boolean) { _C(this,
|
|
939
|
+
get deselectOnFocusLossEnabled(): boolean { return _C(this, 8041) as boolean; }
|
|
940
|
+
set deselectOnFocusLossEnabled(v: boolean) { _C(this, 11327, v); }
|
|
941
941
|
|
|
942
942
|
/**
|
|
943
943
|
* If `true`, allow drag and drop of selected text. Text can still be dropped from other sources.
|
|
944
944
|
*/
|
|
945
|
-
get dragAndDropSelectionEnabled(): boolean { return _C(this,
|
|
946
|
-
set dragAndDropSelectionEnabled(v: boolean) { _C(this,
|
|
945
|
+
get dragAndDropSelectionEnabled(): boolean { return _C(this, 8055) as boolean; }
|
|
946
|
+
set dragAndDropSelectionEnabled(v: boolean) { _C(this, 11391, v); }
|
|
947
947
|
|
|
948
948
|
/**
|
|
949
949
|
* If `false`, using middle mouse button to paste clipboard will be disabled.
|
|
950
950
|
* **Note:** This method is only implemented on Linux.
|
|
951
951
|
*/
|
|
952
|
-
get middleMousePasteEnabled(): boolean { return _C(this,
|
|
953
|
-
set middleMousePasteEnabled(v: boolean) { _C(this,
|
|
952
|
+
get middleMousePasteEnabled(): boolean { return _C(this, 8276) as boolean; }
|
|
953
|
+
set middleMousePasteEnabled(v: boolean) { _C(this, 12298, v); }
|
|
954
954
|
|
|
955
955
|
/**
|
|
956
956
|
* If `true`, copying or cutting without a selection is performed on all lines with a caret. Otherwise, copy and cut require a selection.
|
|
957
957
|
*/
|
|
958
|
-
get emptySelectionClipboardEnabled(): boolean { return _C(this,
|
|
959
|
-
set emptySelectionClipboardEnabled(v: boolean) { _C(this,
|
|
958
|
+
get emptySelectionClipboardEnabled(): boolean { return _C(this, 8094) as boolean; }
|
|
959
|
+
set emptySelectionClipboardEnabled(v: boolean) { _C(this, 11488, v); }
|
|
960
960
|
|
|
961
961
|
/**
|
|
962
962
|
* Sets the line wrapping mode to use.
|
|
963
963
|
*/
|
|
964
|
-
get wrapMode(): LineWrappingMode { return _C(this,
|
|
965
|
-
set wrapMode(v: LineWrappingMode) { _C(this,
|
|
964
|
+
get wrapMode(): LineWrappingMode { return _C(this, 5477) as LineWrappingMode; }
|
|
965
|
+
set wrapMode(v: LineWrappingMode) { _C(this, 12176, v); }
|
|
966
966
|
|
|
967
967
|
/**
|
|
968
968
|
* If {@link wrapMode} is set to {@link LINE_WRAPPING_BOUNDARY}, sets text wrapping mode.
|
|
969
969
|
*/
|
|
970
|
-
get autowrapMode(): AutowrapMode { return _C(this,
|
|
971
|
-
set autowrapMode(v: AutowrapMode) { _C(this,
|
|
970
|
+
get autowrapMode(): AutowrapMode { return _C(this, 3915) as AutowrapMode; }
|
|
971
|
+
set autowrapMode(v: AutowrapMode) { _C(this, 10816, v); }
|
|
972
972
|
|
|
973
973
|
/**
|
|
974
974
|
* If `true`, all wrapped lines are indented to the same amount as the unwrapped line.
|
|
975
975
|
*/
|
|
976
|
-
get indentWrappedLines(): boolean { return _C(this,
|
|
977
|
-
set indentWrappedLines(v: boolean) { _C(this,
|
|
976
|
+
get indentWrappedLines(): boolean { return _C(this, 8185) as boolean; }
|
|
977
|
+
set indentWrappedLines(v: boolean) { _C(this, 11924, v); }
|
|
978
978
|
|
|
979
979
|
/**
|
|
980
980
|
* If `true`, {@link ProjectSettings.input/uiTextIndent} input `Tab` character, otherwise it moves keyboard focus to the next {@link Control} in the scene.
|
|
981
981
|
*/
|
|
982
|
-
get tabInputMode(): boolean { return _C(this,
|
|
983
|
-
set tabInputMode(v: boolean) { _C(this,
|
|
982
|
+
get tabInputMode(): boolean { return _C(this, 6810) as boolean; }
|
|
983
|
+
set tabInputMode(v: boolean) { _C(this, 13246, v); }
|
|
984
|
+
|
|
985
|
+
/**
|
|
986
|
+
* If `true`, enables the handles used for text selection. These handles are only visible on touchscreen and can be dragged to adjust the selected text range.
|
|
987
|
+
*/
|
|
988
|
+
get selectionHandleEnabled(): boolean { return _C(this, 8462) as boolean; }
|
|
989
|
+
set selectionHandleEnabled(v: boolean) { _C(this, 12956, v); }
|
|
984
990
|
|
|
985
991
|
/**
|
|
986
992
|
* If `true`, the native virtual keyboard is enabled on platforms that support it.
|
|
987
993
|
*/
|
|
988
|
-
get virtualKeyboardEnabled(): boolean { return _C(this,
|
|
989
|
-
set virtualKeyboardEnabled(v: boolean) { _C(this,
|
|
994
|
+
get virtualKeyboardEnabled(): boolean { return _C(this, 8624) as boolean; }
|
|
995
|
+
set virtualKeyboardEnabled(v: boolean) { _C(this, 13589, v); }
|
|
990
996
|
|
|
991
997
|
/**
|
|
992
998
|
* If `true`, the native virtual keyboard is shown on focus events on platforms that support it.
|
|
993
999
|
*/
|
|
994
|
-
get virtualKeyboardShowOnFocus(): boolean { return _C(this,
|
|
995
|
-
set virtualKeyboardShowOnFocus(v: boolean) { _C(this,
|
|
1000
|
+
get virtualKeyboardShowOnFocus(): boolean { return _C(this, 7229) as boolean; }
|
|
1001
|
+
set virtualKeyboardShowOnFocus(v: boolean) { _C(this, 13590, v); }
|
|
996
1002
|
|
|
997
1003
|
/**
|
|
998
1004
|
* Scroll smoothly over the text rather than jumping to the next location.
|
|
999
1005
|
*/
|
|
1000
|
-
get scrollSmooth(): boolean { return _C(this,
|
|
1001
|
-
set scrollSmooth(v: boolean) { _C(this,
|
|
1006
|
+
get scrollSmooth(): boolean { return _C(this, 8497) as boolean; }
|
|
1007
|
+
set scrollSmooth(v: boolean) { _C(this, 13064, v); }
|
|
1002
1008
|
|
|
1003
1009
|
/**
|
|
1004
1010
|
* Sets the scroll speed with the minimap or when {@link scrollSmooth} is enabled.
|
|
1005
1011
|
*/
|
|
1006
|
-
get scrollVScrollSpeed(): number { return _C(this,
|
|
1007
|
-
set scrollVScrollSpeed(v: number) { _C(this,
|
|
1012
|
+
get scrollVScrollSpeed(): number { return _C(this, 7156) as number; }
|
|
1013
|
+
set scrollVScrollSpeed(v: number) { _C(this, 13542, v); }
|
|
1008
1014
|
|
|
1009
1015
|
/**
|
|
1010
1016
|
* Allow scrolling past the last line into "virtual" space.
|
|
1011
1017
|
*/
|
|
1012
|
-
get scrollPastEndOfFile(): boolean { return _C(this,
|
|
1013
|
-
set scrollPastEndOfFile(v: boolean) { _C(this,
|
|
1018
|
+
get scrollPastEndOfFile(): boolean { return _C(this, 8449) as boolean; }
|
|
1019
|
+
set scrollPastEndOfFile(v: boolean) { _C(this, 12906, v); }
|
|
1014
1020
|
|
|
1015
1021
|
/**
|
|
1016
1022
|
* If there is a vertical scrollbar, this determines the current vertical scroll value in line numbers, starting at 0 for the top line.
|
|
1017
1023
|
*/
|
|
1018
|
-
get scrollVertical(): number { return _C(this,
|
|
1019
|
-
set scrollVertical(v: number) { _C(this,
|
|
1024
|
+
get scrollVertical(): number { return _C(this, 7154) as number; }
|
|
1025
|
+
set scrollVertical(v: number) { _C(this, 13540, v); }
|
|
1020
1026
|
|
|
1021
1027
|
/**
|
|
1022
1028
|
* If there is a horizontal scrollbar, this determines the current horizontal scroll value in pixels.
|
|
1023
1029
|
*/
|
|
1024
|
-
get scrollHorizontal(): number { return _C(this,
|
|
1025
|
-
set scrollHorizontal(v: number) { _C(this,
|
|
1030
|
+
get scrollHorizontal(): number { return _C(this, 5088) as number; }
|
|
1031
|
+
set scrollHorizontal(v: number) { _C(this, 11824, v); }
|
|
1026
1032
|
|
|
1027
1033
|
/**
|
|
1028
1034
|
* If `true`, {@link TextEdit} fits its minimum height to the number of visible lines instead of scrolling vertically. If a maximum height is set (for example via {@link Control.customMaximumSize}) and content exceeds it, a vertical scrollbar is shown.
|
|
1029
1035
|
*/
|
|
1030
|
-
get scrollFitContentHeight(): boolean { return _C(this,
|
|
1031
|
-
set scrollFitContentHeight(v: boolean) { _C(this,
|
|
1036
|
+
get scrollFitContentHeight(): boolean { return _C(this, 8115) as boolean; }
|
|
1037
|
+
set scrollFitContentHeight(v: boolean) { _C(this, 11632, v); }
|
|
1032
1038
|
|
|
1033
1039
|
/**
|
|
1034
1040
|
* If `true`, {@link TextEdit} fits its minimum width to the widest line instead of scrolling horizontally. If a maximum width is set (for example via {@link Control.customMaximumSize}) and content exceeds it, a horizontal scrollbar is shown.
|
|
1035
1041
|
*/
|
|
1036
|
-
get scrollFitContentWidth(): boolean { return _C(this,
|
|
1037
|
-
set scrollFitContentWidth(v: boolean) { _C(this,
|
|
1042
|
+
get scrollFitContentWidth(): boolean { return _C(this, 8116) as boolean; }
|
|
1043
|
+
set scrollFitContentWidth(v: boolean) { _C(this, 11633, v); }
|
|
1038
1044
|
|
|
1039
1045
|
/**
|
|
1040
1046
|
* If `true`, a minimap is shown, providing an outline of your source code. The minimap uses a fixed-width text size.
|
|
1041
1047
|
*/
|
|
1042
|
-
get minimapDraw(): boolean { return _C(this,
|
|
1043
|
-
set minimapDraw(v: boolean) { _C(this,
|
|
1048
|
+
get minimapDraw(): boolean { return _C(this, 8073) as boolean; }
|
|
1049
|
+
set minimapDraw(v: boolean) { _C(this, 11422, v); }
|
|
1044
1050
|
|
|
1045
1051
|
/**
|
|
1046
1052
|
* The width, in pixels, of the minimap.
|
|
1047
1053
|
*/
|
|
1048
|
-
get minimapWidth(): number { return _C(this,
|
|
1049
|
-
set minimapWidth(v: number) { _C(this,
|
|
1054
|
+
get minimapWidth(): number { return _C(this, 5659) as number; }
|
|
1055
|
+
set minimapWidth(v: number) { _C(this, 12317, v); }
|
|
1050
1056
|
|
|
1051
1057
|
/**
|
|
1052
1058
|
* Set the type of caret to draw.
|
|
1053
1059
|
*/
|
|
1054
|
-
get caretType(): CaretType { return _C(this,
|
|
1055
|
-
set caretType(v: CaretType) { _C(this,
|
|
1060
|
+
get caretType(): CaretType { return _C(this, 4167) as CaretType; }
|
|
1061
|
+
set caretType(v: CaretType) { _C(this, 11030, v); }
|
|
1056
1062
|
|
|
1057
1063
|
/**
|
|
1058
1064
|
* If `true`, makes the caret blink.
|
|
1059
1065
|
*/
|
|
1060
|
-
get caretBlink(): boolean { return _C(this,
|
|
1061
|
-
set caretBlink(v: boolean) { _C(this,
|
|
1066
|
+
get caretBlink(): boolean { return _C(this, 7978) as boolean; }
|
|
1067
|
+
set caretBlink(v: boolean) { _C(this, 11024, v); }
|
|
1062
1068
|
|
|
1063
1069
|
/**
|
|
1064
1070
|
* The interval at which the caret blinks (in seconds).
|
|
1065
1071
|
*/
|
|
1066
|
-
get caretBlinkInterval(): number { return _C(this,
|
|
1067
|
-
set caretBlinkInterval(v: number) { _C(this,
|
|
1072
|
+
get caretBlinkInterval(): number { return _C(this, 4161) as number; }
|
|
1073
|
+
set caretBlinkInterval(v: number) { _C(this, 11025, v); }
|
|
1068
1074
|
|
|
1069
1075
|
/**
|
|
1070
1076
|
* If `true`, caret will be visible when {@link editable} is disabled.
|
|
1071
1077
|
*/
|
|
1072
|
-
get caretDrawWhenEditableDisabled(): boolean { return _C(this,
|
|
1073
|
-
set caretDrawWhenEditableDisabled(v: boolean) { _C(this,
|
|
1078
|
+
get caretDrawWhenEditableDisabled(): boolean { return _C(this, 8070) as boolean; }
|
|
1079
|
+
set caretDrawWhenEditableDisabled(v: boolean) { _C(this, 11414, v); }
|
|
1074
1080
|
|
|
1075
1081
|
/**
|
|
1076
1082
|
* If `true`, a right-click moves the caret at the mouse position before displaying the context menu.
|
|
1077
1083
|
* If `false`, the context menu ignores mouse location.
|
|
1078
1084
|
*/
|
|
1079
|
-
get caretMoveOnRightClick(): boolean { return _C(this,
|
|
1080
|
-
set caretMoveOnRightClick(v: boolean) { _C(this,
|
|
1085
|
+
get caretMoveOnRightClick(): boolean { return _C(this, 8289) as boolean; }
|
|
1086
|
+
set caretMoveOnRightClick(v: boolean) { _C(this, 12355, v); }
|
|
1081
1087
|
|
|
1082
1088
|
/**
|
|
1083
1089
|
* Allow moving caret, selecting and removing the individual composite character components.
|
|
1084
1090
|
* **Note:** `Backspace` is always removing individual composite character components.
|
|
1085
1091
|
*/
|
|
1086
|
-
get caretMidGrapheme(): boolean { return _C(this,
|
|
1087
|
-
set caretMidGrapheme(v: boolean) { _C(this,
|
|
1092
|
+
get caretMidGrapheme(): boolean { return _C(this, 7980) as boolean; }
|
|
1093
|
+
set caretMidGrapheme(v: boolean) { _C(this, 11029, v); }
|
|
1088
1094
|
|
|
1089
1095
|
/**
|
|
1090
1096
|
* If `true`, multiple carets are allowed. Left-clicking with `Alt` adds a new caret. See {@link addCaret} and {@link getCaretCount}.
|
|
1091
1097
|
*/
|
|
1092
|
-
get caretMultiple(): boolean { return _C(this,
|
|
1093
|
-
set caretMultiple(v: boolean) { _C(this,
|
|
1098
|
+
get caretMultiple(): boolean { return _C(this, 8294) as boolean; }
|
|
1099
|
+
set caretMultiple(v: boolean) { _C(this, 12368, v); }
|
|
1094
1100
|
|
|
1095
1101
|
/**
|
|
1096
1102
|
* If `false`, using `Ctrl + Left` or `Ctrl + Right` (`Cmd + Left` or `Cmd + Right` on macOS) bindings will stop moving caret only if a space or punctuation is detected. If `true`, it will also stop the caret if a character is part of `!"#$%&'()*+,-./:;<=>?@[\]^`{|}~`, the Unicode General Punctuation table, or the Unicode CJK Punctuation table. Useful for subword moving. This behavior also will be applied to the behavior of text selection.
|
|
1097
1103
|
*/
|
|
1098
|
-
get useDefaultWordSeparators(): boolean { return _C(this,
|
|
1099
|
-
set useDefaultWordSeparators(v: boolean) { _C(this,
|
|
1104
|
+
get useDefaultWordSeparators(): boolean { return _C(this, 8037) as boolean; }
|
|
1105
|
+
set useDefaultWordSeparators(v: boolean) { _C(this, 13483, v); }
|
|
1100
1106
|
|
|
1101
1107
|
/**
|
|
1102
1108
|
* If `false`, using `Ctrl + Left` or `Ctrl + Right` (`Cmd + Left` or `Cmd + Right` on macOS) bindings will use the behavior of {@link useDefaultWordSeparators}. If `true`, it will also stop the caret if a character within {@link customWordSeparators} is detected. Useful for subword moving. This behavior also will be applied to the behavior of text selection.
|
|
1103
1109
|
*/
|
|
1104
|
-
get useCustomWordSeparators(): boolean { return _C(this,
|
|
1105
|
-
set useCustomWordSeparators(v: boolean) { _C(this,
|
|
1110
|
+
get useCustomWordSeparators(): boolean { return _C(this, 8028) as boolean; }
|
|
1111
|
+
set useCustomWordSeparators(v: boolean) { _C(this, 13481, v); }
|
|
1106
1112
|
|
|
1107
1113
|
/**
|
|
1108
1114
|
* The characters to consider as word delimiters if {@link useCustomWordSeparators} is `true`. The characters should be defined without separation, for example `#_!`.
|
|
1109
1115
|
*/
|
|
1110
|
-
get customWordSeparators(): string { return _C(this,
|
|
1111
|
-
set customWordSeparators(v: string) { _C(this,
|
|
1116
|
+
get customWordSeparators(): string { return _C(this, 4479) as string; }
|
|
1117
|
+
set customWordSeparators(v: string) { _C(this, 11251, v); }
|
|
1112
1118
|
|
|
1113
1119
|
/**
|
|
1114
1120
|
* The syntax highlighter to use.
|
|
1115
1121
|
* **Note:** A {@link SyntaxHighlighter} instance should not be used across multiple {@link TextEdit} nodes.
|
|
1116
1122
|
*/
|
|
1117
|
-
get syntaxHighlighter(): SyntaxHighlighter { return _C(this,
|
|
1118
|
-
set syntaxHighlighter(v: SyntaxHighlighter) { _C(this,
|
|
1123
|
+
get syntaxHighlighter(): SyntaxHighlighter { return _C(this, 6788) as SyntaxHighlighter; }
|
|
1124
|
+
set syntaxHighlighter(v: SyntaxHighlighter) { _C(this, 13233, v); }
|
|
1119
1125
|
|
|
1120
1126
|
/**
|
|
1121
1127
|
* If `true`, all occurrences of the selected text will be highlighted.
|
|
1122
1128
|
*/
|
|
1123
|
-
get highlightAllOccurrences(): boolean { return _C(this,
|
|
1124
|
-
set highlightAllOccurrences(v: boolean) { _C(this,
|
|
1129
|
+
get highlightAllOccurrences(): boolean { return _C(this, 8159) as boolean; }
|
|
1130
|
+
set highlightAllOccurrences(v: boolean) { _C(this, 11866, v); }
|
|
1125
1131
|
|
|
1126
1132
|
/**
|
|
1127
1133
|
* If `true`, the line containing the cursor is highlighted.
|
|
1128
1134
|
*/
|
|
1129
|
-
get highlightCurrentLine(): boolean { return _C(this,
|
|
1130
|
-
set highlightCurrentLine(v: boolean) { _C(this,
|
|
1135
|
+
get highlightCurrentLine(): boolean { return _C(this, 8160) as boolean; }
|
|
1136
|
+
set highlightCurrentLine(v: boolean) { _C(this, 11867, v); }
|
|
1131
1137
|
|
|
1132
1138
|
/**
|
|
1133
1139
|
* If `true`, control characters are displayed.
|
|
1134
1140
|
*/
|
|
1135
|
-
get drawControlChars(): boolean { return _C(this,
|
|
1136
|
-
set drawControlChars(v: boolean) { _C(this,
|
|
1141
|
+
get drawControlChars(): boolean { return _C(this, 4645) as boolean; }
|
|
1142
|
+
set drawControlChars(v: boolean) { _C(this, 11416, v); }
|
|
1137
1143
|
|
|
1138
1144
|
/**
|
|
1139
1145
|
* If `true`, the "tab" character will have a visible representation.
|
|
1140
1146
|
*/
|
|
1141
|
-
get drawTabs(): boolean { return _C(this,
|
|
1142
|
-
set drawTabs(v: boolean) { _C(this,
|
|
1147
|
+
get drawTabs(): boolean { return _C(this, 8075) as boolean; }
|
|
1148
|
+
set drawTabs(v: boolean) { _C(this, 11427, v); }
|
|
1143
1149
|
|
|
1144
1150
|
/**
|
|
1145
1151
|
* If `true`, the "space" character will have a visible representation.
|
|
1146
1152
|
*/
|
|
1147
|
-
get drawSpaces(): boolean { return _C(this,
|
|
1148
|
-
set drawSpaces(v: boolean) { _C(this,
|
|
1153
|
+
get drawSpaces(): boolean { return _C(this, 8074) as boolean; }
|
|
1154
|
+
set drawSpaces(v: boolean) { _C(this, 11426, v); }
|
|
1149
1155
|
|
|
1150
1156
|
/**
|
|
1151
1157
|
* Base text writing direction.
|
|
1152
1158
|
*/
|
|
1153
|
-
get textDirection(): TextDirection { return _C(this,
|
|
1154
|
-
set textDirection(v: TextDirection) { _C(this,
|
|
1159
|
+
get textDirection(): TextDirection { return _C(this, 6854) as TextDirection; }
|
|
1160
|
+
set textDirection(v: TextDirection) { _C(this, 13292, v); }
|
|
1155
1161
|
|
|
1156
1162
|
/**
|
|
1157
1163
|
* Language code used for line-breaking and text shaping algorithms. If left empty, the current locale is used instead.
|
|
1158
1164
|
*/
|
|
1159
|
-
get language(): string { return _C(this,
|
|
1160
|
-
set language(v: string) { _C(this,
|
|
1165
|
+
get language(): string { return _C(this, 5394) as string; }
|
|
1166
|
+
set language(v: string) { _C(this, 12116, v); }
|
|
1161
1167
|
|
|
1162
1168
|
/**
|
|
1163
1169
|
* Set BiDi algorithm override for the structured text.
|
|
1164
1170
|
*/
|
|
1165
|
-
get structuredTextBidiOverride(): StructuredTextParser { return _C(this,
|
|
1166
|
-
set structuredTextBidiOverride(v: StructuredTextParser) { _C(this,
|
|
1171
|
+
get structuredTextBidiOverride(): StructuredTextParser { return _C(this, 6717) as StructuredTextParser; }
|
|
1172
|
+
set structuredTextBidiOverride(v: StructuredTextParser) { _C(this, 13182, v); }
|
|
1167
1173
|
|
|
1168
1174
|
/**
|
|
1169
1175
|
* Set additional options for BiDi override.
|
|
1170
1176
|
*/
|
|
1171
|
-
get structuredTextBidiOverrideOptions(): GodotArray { return _C(this,
|
|
1172
|
-
set structuredTextBidiOverrideOptions(v: GodotArray | unknown[]) { _C(this,
|
|
1177
|
+
get structuredTextBidiOverrideOptions(): GodotArray { return _C(this, 6718) as GodotArray; }
|
|
1178
|
+
set structuredTextBidiOverrideOptions(v: GodotArray | unknown[]) { _C(this, 13183, v); }
|
|
1173
1179
|
|
|
1174
1180
|
/**
|
|
1175
1181
|
* Emitted when {@link clear} is called or {@link text} is set.
|
|
1176
1182
|
*/
|
|
1177
|
-
get textSet(): Signal<() => void> { return _G(this,
|
|
1178
|
-
set textSet(v: (() => void) | null) { _G(this,
|
|
1183
|
+
get textSet(): Signal<() => void> { return _G(this, 14448) as Signal<() => void>; }
|
|
1184
|
+
set textSet(v: (() => void) | null) { _G(this, 14448, v); }
|
|
1179
1185
|
|
|
1180
1186
|
/**
|
|
1181
1187
|
* Emitted when the text changes.
|
|
1182
1188
|
*/
|
|
1183
|
-
get textChanged(): Signal<() => void> { return _G(this,
|
|
1184
|
-
set textChanged(v: (() => void) | null) { _G(this,
|
|
1189
|
+
get textChanged(): Signal<() => void> { return _G(this, 14445) as Signal<() => void>; }
|
|
1190
|
+
set textChanged(v: (() => void) | null) { _G(this, 14445, v); }
|
|
1185
1191
|
|
|
1186
1192
|
/**
|
|
1187
1193
|
* Emitted immediately when the text changes.
|
|
1188
1194
|
* When text is added `fromLine` will be less than `toLine`. On a remove `toLine` will be less than `fromLine`.
|
|
1189
1195
|
*/
|
|
1190
|
-
get linesEditedFrom(): Signal<(fromLine: number, toLine: number) => void> { return _G(this,
|
|
1191
|
-
set linesEditedFrom(v: ((fromLine: number, toLine: number) => void) | null) { _G(this,
|
|
1196
|
+
get linesEditedFrom(): Signal<(fromLine: number, toLine: number) => void> { return _G(this, 8815) as Signal<(fromLine: number, toLine: number) => void>; }
|
|
1197
|
+
set linesEditedFrom(v: ((fromLine: number, toLine: number) => void) | null) { _G(this, 8815, v); }
|
|
1192
1198
|
|
|
1193
1199
|
/**
|
|
1194
1200
|
* Emitted when any caret changes position.
|
|
1195
1201
|
*/
|
|
1196
|
-
get caretChanged(): Signal<() => void> { return _G(this,
|
|
1197
|
-
set caretChanged(v: (() => void) | null) { _G(this,
|
|
1202
|
+
get caretChanged(): Signal<() => void> { return _G(this, 2176) as Signal<() => void>; }
|
|
1203
|
+
set caretChanged(v: (() => void) | null) { _G(this, 2176, v); }
|
|
1198
1204
|
|
|
1199
1205
|
/**
|
|
1200
1206
|
* Emitted when a gutter is clicked.
|
|
1201
1207
|
*/
|
|
1202
|
-
get gutterClicked(): Signal<(line: number, gutter: number) => void> { return _G(this,
|
|
1203
|
-
set gutterClicked(v: ((line: number, gutter: number) => void) | null) { _G(this,
|
|
1208
|
+
get gutterClicked(): Signal<(line: number, gutter: number) => void> { return _G(this, 7476) as Signal<(line: number, gutter: number) => void>; }
|
|
1209
|
+
set gutterClicked(v: ((line: number, gutter: number) => void) | null) { _G(this, 7476, v); }
|
|
1204
1210
|
|
|
1205
1211
|
/**
|
|
1206
1212
|
* Emitted when a gutter is added.
|
|
1207
1213
|
*/
|
|
1208
|
-
get gutterAdded(): Signal<() => void> { return _G(this,
|
|
1209
|
-
set gutterAdded(v: (() => void) | null) { _G(this,
|
|
1214
|
+
get gutterAdded(): Signal<() => void> { return _G(this, 7475) as Signal<() => void>; }
|
|
1215
|
+
set gutterAdded(v: (() => void) | null) { _G(this, 7475, v); }
|
|
1210
1216
|
|
|
1211
1217
|
/**
|
|
1212
1218
|
* Emitted when a gutter is removed.
|
|
1213
1219
|
*/
|
|
1214
|
-
get gutterRemoved(): Signal<() => void> { return _G(this,
|
|
1215
|
-
set gutterRemoved(v: (() => void) | null) { _G(this,
|
|
1220
|
+
get gutterRemoved(): Signal<() => void> { return _G(this, 7477) as Signal<() => void>; }
|
|
1221
|
+
set gutterRemoved(v: (() => void) | null) { _G(this, 7477, v); }
|
|
1216
1222
|
|
|
1217
|
-
static readonly name = _R(
|
|
1223
|
+
static readonly name = _R(792, TextEdit);
|
|
1218
1224
|
}
|
|
1219
1225
|
|
|
1220
1226
|
export const MenuItems = {
|