darthlukan Posted December 26, 2015 Share Posted December 26, 2015 I'm in the process of debugging a loop which is supposed to vertically scroll some text contained in a table. My loop is verified as looping over the keys in order (ipairs(array) vs pairs(array)) but in the debugger (pictured) the keys appear out of order once we get to "k=10", where it appears after the first index. It's a small thing, but it confused me for a minute before I double-checked the loop again and verified that it is in fact iterating in the correct order. This is literally just a display issue in the debugger. Here's the screenshot of what I'm talking about (nevermind my improperly incremented values): Expected behavior: Keys in "txt_y" table are displayed in order Current behavior: Keys in "txt_y" table are displayed out of order once there are more than 9 keys. Quote GPG: 3694569D | Peppermint OS | i7 | GTX 960 | Github Link to comment Share on other sites More sharing options...
Josh Posted January 3, 2016 Share Posted January 3, 2016 Yeah, they are sorted in alphabetical order to make it easier to view. But in this case I see how this is not good. 1 Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Josh Posted January 7, 2016 Share Posted January 7, 2016 I can change this behavior, but I am not going to work on it right now. 1 Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
darthlukan Posted January 7, 2016 Author Share Posted January 7, 2016 No worries, it's not some super-high priority bug. If nothing else, it's just more of a confusion point at first and can honestly be counted as one of those "fixes of convenience" Quote GPG: 3694569D | Peppermint OS | i7 | GTX 960 | Github Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.