From echicken@1:103/705 to CVS commit on Tue May 5 19:48:43 2020
exec/load scrollbox.js 1.7 1.8
Update of /cvsroot/sbbs/exec/load
In directory cvs:/tmp/cvs-serv9452
Modified Files:
scrollbox.js
Log Message:
Added line_map property, mapping a line in the displayed document
(post word-wrap) to a line from the source document/array.
Added mouse support to getcmd (scrolling, left click).
If it returns a number, that's the line (from the original document)
that was clicked. This needs some enhancement.
From echicken@1:103/705 to CVS commit on Tue May 5 19:55:40 2020
exec/load scrollbox.js 1.8 1.9
Update of /cvsroot/sbbs/exec/load
In directory cvs:/tmp/cvs-serv11178
Modified Files:
scrollbox.js
Log Message:
If it was a left click, return an object.
Currently this only has a 'line' property, being which line from the
source document was clicked.
It may later become useful to report which position in the original
string was clicked, or what word, etc.