Modify

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#476 closed Bug (Fixed)

Function Trace lines have to be removed manually

Reported by: Bowmore Owned by: Jos
Milestone: Future Release Component: SciTE4AutoIt
Version: Other Severity: None
Keywords: Cc:

Description

SciTE4AutoIt 17-5-2008 release
AutoIt 3.2.13.5
Win XP Pro SP2

In SciTE4AutoIt function trace lines inserted using the 'Tools->Trace:Add Func Trace Lines' tool have to be removed manually as neither the
'Tools->Trace:Remove ALL Trace Lines'
or
'Tools->Debug Remove Lines'
remove the ConsoleWrite lines inserted by 'Tools->Trace:Add Func Trace Lines'

Attachments (0)

Change History (4)

comment:1 by TicketCleanup, 18 years ago

Version: Other

Automatic ticket cleanup.

comment:2 by Jos, 18 years ago

Resolution: Fixed
Status: newclosed

Will be fixed in the next version.
In the mean time you could update these lines:
Line 442-449:function AutoItTools:FunctionTracePattern(with_comment)

local nl = self:NewLineInUse()
if with_comment then

return nl .. "[%s]*;[%s]*(ConsoleWrite%([" .. nl .. "]-%)[%s]*;### Function Trace[" .. nl .. "]?)"

else

return nl .. "[%s]*(ConsoleWrite%([" .. nl .. "]-%)[%s]*;### Function Trace[" .. nl .. "]?)"

end

end -- FunctionTracePattern()

line 473 in AutoItTools.lua:

return m2 .. m4 .. self:NewLineInUse() .. "\tConsoleWrite('@@ (" .. editor:LineFromPosition(m1)+i .. ") :(' & @MIN & ':' & @SEC & ') " .. m3 .. "()' & @CR) ;### Function Trace"

in reply to:  2 comment:3 by Bowmore, 18 years ago

Thanks for the fix Jos

comment:4 by TicketCleanup, 18 years ago

Milestone: Future Release

Automatic ticket cleanup.

Modify Ticket

Action
as closed The owner will remain Jos.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.