Fork of lines.love without drawings; useful starting point for further forks http://akkartik.name/lines.html
Go to file
Kartik K. Agaram 778bc78416 make online help fit within a drawing 2022-06-04 21:58:06 -07:00
LICENSE.txt add a license 2022-05-16 18:51:28 -07:00
README.md one more known issue 2022-06-03 14:42:08 -07:00
app.lua select text with shift + mouseclick 2022-06-04 14:54:40 -07:00
button.lua highlight another global 2022-05-17 23:24:46 -07:00
drawing.lua yet another key conflict 2022-06-04 21:48:35 -07:00
file.lua ignore 'deleted' shapes when saving to disk 2022-05-30 15:26:31 -07:00
geom.lua bugfix: checking if a point is on a manhattan line 2022-05-30 15:27:03 -07:00
help.lua make online help fit within a drawing 2022-06-04 21:58:06 -07:00
icons.lua rectangle and square shapes 2022-05-18 15:29:18 -07:00
json.lua forgot to add json.lua 2022-05-15 14:36:25 -07:00
keychord.lua select text with shift + mouseclick 2022-06-04 14:54:40 -07:00
main.lua regression: couldn't do many drawing operations because line.y was reset 2022-06-04 20:52:36 -07:00
manual_tests support for naming points 2022-05-21 14:03:06 -07:00
search.lua extract a couple of files 2022-06-03 14:17:41 -07:00
select.lua more precise search highlighting 2022-06-03 14:37:32 -07:00
test.lua selecting text and deleting selections 2022-05-29 08:12:47 -07:00
text.lua regression: couldn't do many drawing operations because line.y was reset 2022-06-04 20:52:36 -07:00
text_tests.lua experiment: slightly adaptive scrolling 2022-06-04 14:55:52 -07:00
undo.lua crisp font rendering 2022-06-02 23:36:07 -07:00

README.md

Plain text with lines

http://akkartik.name/lines.html

Known issues

  • There's a bug in freehand drawings (C-p mode) that causes them to be highlighted even when the mouse is nowhere near them.

  • No support yet for Unicode graphemes spanning multiple codepoints.

  • Undo/redo can be sluggish in large files. If things get sluggish, killing the process can lose data.

  • 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 top of the file, you may not be able to scroll back up to the top with page-up.

    So far this app isn't really designed for drawing-heavy files. For now I'm targeting mostly-text files with a few drawings mixed in.

  • No clipping yet for drawings. In particular, circles and point labels can overflow a drawing.

  • Insufficient handling of constraints when moving points. For example, if you draw a manhattan line and then move one of the points, you may not be able to hover on it anymore.

    There's two broad ways to fix this. The first is to relax constraints, switch the manhattan line to not be manhattan. The second is to try to maintain constraints. Either constrain the point to only move along one line (but what if it's connected to two manhattan lines?!), or constrain the other end of the line to move alongside. I'm not sure yet which would be more useful. Getting into constraints would also make the program more complex.

    Bottomline: at the moment moving points connected to manhattan lines, rectangles or squares can break drawings in subtle ways.

  • 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.

  • Can't scroll while selecting text with mouse.

  • No scrollbars yet. That stuff is hard.