Prat 3.0

492 - Debug print of the achors

local anchorDebugString = "";
local tagLength = 0;

for i = 1, #Prat.SplitMessageIdx do
   tagLength = tagLength + strlen(Prat.SplitMessageIdx[i]);
   if tagLength > 100 then
      print(anchorDebugString .. " >>>>");
      anchorDebugString = "";
      tagLength = 0;
   end
   
   
   if anchorDebugString ~= "" then
      anchorDebugString = anchorDebugString .. RED_FONT_COLOR_CODE .. "." .. FONT_COLOR_CODE_CLOSE;
   end
   anchorDebugString = anchorDebugString .. Prat.SplitMessageIdx[i];
end

print(anchorDebugString);
User When Change
sylvanaar Dec 13, 2010 at 02:22 UTC Changed assigned to from None to sylvanaar
sylvanaar Dec 13, 2010 at 02:18 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

Facts

Last updated
Dec 13, 2010
Reported
Dec 13, 2010
Status
Accepted - Problem reproduced / Need acknowledged.
Type
Enhancement - A change which is intended to better the project in some way
Priority
Medium - Normal priority.
Votes
0

Reported by

Possible assignees