File opening with duplicate name bug.

LuaPineappleLuaPineapple Join Date: 2008-10-25 Member: 65296Members, Reinforced - Silver
edited January 2009 in Decoda
I was trying to access an old version of a file I was working on when I noticed that I couldn't open a file if it's file name is the same as one opened in the IDE, even if they're in different directories. Hope you get a chance to stab this bug in time for the next update.

EDIT:

I've also noticed the parser doesn't handle long comments correctly, try entering this:

<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->local Thing = {}
function Think:Init()
       self.Answer = 42
end
--[[
--[[
function Thing:Proxy()
       return self:DoSomething()
end
--]]
library.RegisterThingy(Thing)<!--c2--></div><!--ec2-->

You'll see that library.RegisterThingy is commented out according to the IDE. Removing one of the two '--[[' will 'fix' everything back to normal.

EDIT:

Sometimes copy and paste with select-all can be uncooperative.

EDIT:

When you add an existing file that is open in the editor into your active project it duplicates the entry in the listings.
Sign In or Register to comment.