hwhw/kindlepdfviewer — pull request #628 by tigran123 (2012-11-21 12:50:17+00:00)
Title: Fix deleting highlights via Shift-N

When deleting highlights the tables pointing to a highlight's page number and sequential number within that page must be rebuilt. The present implementation illustrates the typical use of local functions in Lua, i.e. for this situation the lexical scope feature of Lua's local functions is ideally suited.

The bug was reported in the issue \#625