Opened 15 years ago

Last modified 15 years ago

#824 closed Bug

Long line don't work — at Version 1

Reported by: PlentyWork Owned by: Jos
Milestone: Component: SciTE4AutoIt
Version: 3.3.0.0 Severity: None
Keywords: Cc:

Description (last modified by Jos)

Tidy crashes when one line is very long ( I think ~2000 chars)
Reproducer:

Global Const $IUnknown_vTable = "ptr QueryInterface; ptr AddRef; ptr Release;"
Global Const $Direct3DDevice9_vTable = $IUnknown_vTable & "ptr TestCooperativeLevel;ptr GetAvailableTextureMem;ptr EvictManagedResources;" & _

"ptr GetDirect3D;ptr GetDeviceCaps;ptr GetDisplayMode;ptr GetCreationParameters;ptr SetCursorParameters;" & _
"ptr SetCursorPosition;ptr ShowCursor;ptr CreateAdditionalSwapChain;ptr GetSwapChain;ptr GetNumberOfSwapChains;" & _
"ptr Reset;ptr Present;ptr GetBackBuffer;ptr GetRasterStatus;ptr SetDialogBoxMode;ptr SetGammaRamp;ptr GetGammaRamp;" & _
"ptr CreateTexture;ptr CreateVolumeTexture;ptr CreateCubeTexture;ptr CreateVertexBuffer;ptr CreateIndexBuffer;" & _
"ptr CreateRenderTarget;ptr CreateDepthStencilSurface;ptr UpdateSurface;ptr UpdateTexture;ptr GetRenderTargetData;" & _
"ptr GetFrontBufferData;ptr StretchRect;ptr ColorFill;ptr CreateOffscreenPlainSurface;ptr SetRenderTarget;ptr GetRenderTarget;" & _
"ptr SetDepthStencilSurface;ptr GetDepthStencilSurface;ptr BeginScene;ptr EndScene;ptr Clear;ptr SetTransform;ptr GetTransform;" & _
"ptr MultiplyTransform;ptr SetViewport;ptr GetViewPort;ptr SetMaterial;ptr GetMaterial;ptr SetLight;ptr GetLight;ptr LightEnable;" & _
"ptr GetLightEnable;ptr SetClipPlane;ptr GetClipPlane;ptr SetRenderState;ptr GetRenderState;ptr CreateStateBlock;ptr BeginStateBlock;" & _
"ptr EndStateBlock;ptr SetClipStatus;ptr GetClipStatus;ptr GetTexture;ptr SetTexture;ptr GetTextureStageState;ptr SetTextureStageState;" & _
"ptr GetSamplerState;ptr SetSamplerState;ptr ValidateDevice;ptr SetPaletteEntries;ptr GetPaletteEntries;" & _
"ptr SetCurrentTexturePalette;ptr GetCurrentTexturePalette;ptr SetScissorRect;ptr GetScissorRect;ptr SetSoftwareVertexProcessing;" & _
"ptr GetSoftwareVertexProcessing;ptr SetNPatchMode;ptr GetNPatchMode;ptr DrawPrimitive;ptr DrawIndexedPrimitive;" & _
"ptr DrawPrimitiveUP;ptr DrawIndexedPrimitiveUP;ptr ProcessVertices;ptr CreateVertexDeclaration;ptr SetVertexDeclaration;ptr GetVertexDeclaration;" & _
"ptr SetFVF;ptr GetFVF;ptr CreateVertexShader;ptr SetVertexShader;ptr GetVertexShader;ptr SetVertexConstantF;ptr GetVertexShaderConstantF;" & _
"ptr SetVertexShaderConstantI;ptr GetVertexShaderConstantI;ptr SetVertexShaderConstantB;ptr GetVertexShaderConstantB;"

Change History (1)

comment:1 Changed 15 years ago by Jos

  • Description modified (diff)

Works fine for me with:

Tidy AutoIt3 v2.0.26.0   Copyright (c) Jos van der Zande  Februari 6, 2009

What version of Tidy are you using and did you try the latest available Beta?

Jos

Note: See TracTickets for help on using tickets.