little tool for tournament cross-tables
Go to file
Kartik K. Agaram ec410d5223 bugfix: ensure Cursor_line is always on a text line
Manual test used here:

  abc
  ```lines
  {"p1":{"y":72,"x":82},"mode":"line","p2":{"y":29,"x":169}}
  ```
  def
  ```lines
  {"p1":{"y":36,"x":56},"mode":"line","p2":{"y":59,"x":163}}
  ```
  ```lines
  ```
  ghi
  jkl

Hitting page-down moves the cursor from abc to ghi. The 'ghi' line
should be fully visible on screen.
2022-05-18 18:19:27 -07:00
LICENSE.txt
README.md bugfix: ensure Cursor_line is always on a text line 2022-05-18 18:19:27 -07:00
button.lua
drawing.lua scroll past first page 2022-05-18 17:42:08 -07:00
file.lua
geom.lua
help.lua
icons.lua
json.lua
keychord.lua
main.lua bugfix: ensure Cursor_line is always on a text line 2022-05-18 18:19:27 -07:00
manual_tests
text.lua bugfix: ensure Cursor_line is always on a text line 2022-05-18 18:19:27 -07:00

README.md

Known issues:

  • Touchpads can drag the mouse pointer using a light touch or a heavy click. On Linux, drags using the light touch get interrupted when a key is pressed. You'll have to press down to drag.
  • No support yet for Unicode graphemes spanning multiple codepoints.
  • The text cursor will always stay on the screen. This can have some strange implications:
    • A long series of drawings will get silently skipped when you hit page-down, until a line of text can be showed on screen.
    • If there's no line of text at the bottom of the file, one will be created. So far this app isn't really designed for all-drawing files. I'm really just targeting mostly-text files with a few drawings mixed in.