lykahb / neotools

Command-line tools for AlphaSmart NEO
GNU General Public License v3.0
39 stars 7 forks source link

Fix problem with space versus index #2

Closed egh closed 3 years ago

egh commented 3 years ago

The file index seems related but not equal to the "space". Fix a few places where these two concepts were used interchangeably.

Fix for #1

lykahb commented 3 years ago

You are right that Neo has a confusing difference between file index and space. Alphasync converts the space value into a file index like this. The space 0 means that the file is not bound to any key.

I think that this PR looks good but I'll need to check it with a few scenarios. I remember that indexes were buggy before.

egh commented 3 years ago

@lykahb Thank you!