titoBouzout / WordCount

Real-time Word, Char, Line and Page counter, in the status-bar for the document, line or selection. Sublime Text
Other
291 stars 50 forks source link

current page value not incrementing properly #48

Open buzzgary opened 9 years ago

buzzgary commented 9 years ago

There is a bug- the value for current page is currently only incrementing once I reach the last line of my document.

Right now, when I surpass line 293 in my document, the page count increments to 2/7, where 7 is the correct number of pages based on the document having 1829 words... However, the display should read page 7/7.

titoBouzout commented 8 years ago

Problem with this is to define what a "page" means... in the context of ST a page for me is the amount of line you are seeing on the screen.