hi
trying to get indenting working with
1.
if x then y
rather than
2.
if x then
y
endif
I've tried telling ue to only indent on "then$" but it seems to do it no matter where the string is found. any way around this?
Welcome to the IDM Forum. This forum is meant as a user-to-user support mechanism where users can share knowledge and tips for all IDM software.
Since these forums are user-to-user based, IDM does not regularly read or reply to the posts in this forum. For problem reports, suggestions, or feature requests, you must email us directly. Our trained technical support staff answers most inquiries within 30 minutes.
[color=green]your code block[/color]
if x then y
next line indented
if x then
y
endif


If bStatus Then bStatus=File_CopyFile(gsRoot & "\Files\UV-Data.RDP", gsFiles & "\UV-Data.RDP", False)
Custom=bStatus
If bStatus And (sClientDir<>"") Then
Set oLocalFSO = CreateObject("Scripting.FileSystemObject")
sCmd = oLocalFSO.OpenTextFile(sClientDir & "\Lib\" & sScriptFile,1).ReadAll
Else
bStatus=False
End If
/Indent Strings = "If" "Select Case" "Do While" "Do Until" "Else" "ElseIF" "Do" "<td>" "<tr>"
/Unindent Strings = "Next" "End Function" "End If" "End Select" "End Sub" "End With" "Loop" "Loop While" "Else" "ElseIF" "</TD>" "</tr>"