Commit Graph

42 Commits

Author SHA1 Message Date
Kartik K. Agaram 0075298a29 new fork: show raw text for drawing below it
https://merveilles.town/@maleza/109398870908062135

Lots of issues:
* can't edit the raw text
* ..but it confusingly displays a second cursor
* raw text doesn't update when drawing (need to constantly deserialize
  the drawing to JSON)
* ... lots of others

This is an early experiment.
2022-11-24 09:21:58 -08:00
Kartik K. Agaram 44aa8226c4 ctrl+a: select entire buffer 2022-11-19 00:27:20 -08:00
Kartik K. Agaram b210ce7b36 one issue less
Selecting text is also almost done. I just need to figure out what to do
with bifold text.
2022-09-06 22:01:23 -07:00
Kartik K. Agaram e1c5a42f31 editing source code from within the app
integrated from pong.love via text.love:
  https://merveilles.town/@akkartik/108933336531898243
2022-09-03 14:13:22 -07:00
Kartik K. Agaram 418ce8480a include pensieve.love even though it's in development 2022-08-22 20:26:44 -07:00
Kartik K. Agaram 038f054ede include a fork 2022-08-21 14:29:05 -07:00
Kartik K. Agaram 974d17ffc0 new mirror 2022-08-14 09:08:44 -07:00
Kartik K. Agaram 27913df486 more cogent onboarding instructions
Someone looking at the repo will probably prefer the terminal.
2022-08-14 08:52:58 -07:00
Kartik K. Agaram 0218980add click to the left of a line 2022-07-29 14:38:45 -07:00
Kartik K. Agaram 6667c37066 affirm a priority 2022-07-08 14:16:55 -07:00
Kartik K. Agaram 826207a54a link to export tool 2022-07-02 15:23:44 -07:00
Kartik K. Agaram df5b7a8245 deemphasize the terminal in Readme 2022-07-01 20:34:13 -07:00
Kartik K. Agaram 9fd82439ec drop stale flag from documentation 2022-07-01 20:28:05 -07:00
Kartik K. Agaram feba7bf3c2 clarify what "large files" means 2022-06-29 17:34:44 -07:00
Kartik K. Agaram 97bbc7da7f clean up 2022-06-17 23:16:49 -07:00
Kartik K. Agaram f3abc2cbf2 better handle moving points
This should hopefully address #5. I'm removing some constraints from
manhattan lines, rectangles and squares.
2022-06-17 21:40:59 -07:00
Kartik K. Agaram 482d07778d document one more shortcut 2022-06-17 10:28:25 -07:00
Kartik K. Agaram c188cd31ba tweak to Readme 2022-06-15 20:57:14 -07:00
Kartik K. Agaram cad09c0ec1 new fork for #1 2022-06-15 13:35:55 -07:00
Kartik K. Agaram f8cdd01661 . 2022-06-11 16:07:34 -07:00
Kartik K. Agaram 66b17d798d things seem to feel snappier now
However, I think a lot of the benefit comes from just turning JIT off.
Turning it on is still noticably sluggish.
2022-06-10 15:08:51 -07:00
Kartik K. Agaram d202e2ce99 slight reorg in Readme 2022-06-10 14:19:27 -07:00
Kartik K. Agaram feedc51227 faster paste
We don't need to perform the scroll calculations after inserting every
single character from the clipboard.
2022-06-10 14:19:02 -07:00
Kartik K. Agaram 7be2718f0f fix contact link 2022-06-09 12:16:03 -07:00
Kartik K. Agaram 12f5fa9bed forgot to commit documentation for the commandline arg 2022-06-07 14:20:54 -07:00
Kartik K. Agaram 7b78c359b6 clearer discription of how to run lines.love 2022-06-07 13:58:38 -07:00
Kartik K. Agaram 1e33eeeffc a likely source of issues 2022-06-07 13:48:59 -07:00
Kartik K. Agaram bc46cef4e5 freudian typo 2022-06-07 12:34:58 -07:00
Kartik K. Agaram f0e967d2a1 flesh out Readme 2022-06-06 18:33:44 -07:00
Kartik K. Agaram 8780276f0c another known issue 2022-06-06 17:30:03 -07:00
Kartik K. Agaram d043745ccd record another known issue I don't know how to fix yet
Perhaps I need to switch to the next more sophisticated data structure for Lines:
a gap buffer around the line the cursor is on.

I'm not sure why it would help here, though.
2022-06-05 10:28:42 -07:00
Kartik K. Agaram a4cec2f58a one more known issue 2022-06-03 14:42:08 -07:00
Kartik K. Agaram ac83252684 taking stock
couple of more temporary bugs:
  find sometimes draws highlighted text in wrong place
  esc after C-f sometimes ends up with cursor before screen top

But the known issues are harder.
2022-06-03 13:32:42 -07:00
Kartik K. Agaram 4f76ea37d7 more efficient undo/redo
Now the bottleneck shifts to applying undo/redo in large files. But
things should be snappy if you don't use the sluggish feature.
2022-06-02 17:46:30 -07:00
Kartik K. Agaram 670886240f after much struggle, a brute-force undo
Incredibly inefficient, but I don't yet know how to efficiently encode
undo mutations that can span multiple lines.

There seems to be one bug related to creating new drawings; they're not
spawning events and undoing past drawing creation has some weird
artifacts. Redo seems to consistently work, though.
2022-06-02 15:45:25 -07:00
Kartik K. Agaram 53def098e1 Readme 2022-05-29 17:03:01 -07:00
Kartik K. Agaram bb9e23a638 support for naming points
There's still an absence of affordance showing when you're in naming mode.
2022-05-21 14:03:06 -07:00
Kartik K. Agaram 96df187488 new known issue with drawings 2022-05-21 10:36:27 -07:00
Kartik K. Agaram d622043284 planning out cursor up/down over wrapped lines 2022-05-19 22:56:55 -07:00
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
Kartik K. Agaram 61845c335b . 2022-05-17 22:05:00 -07:00
Kartik K. Agaram 13dd253984 record a known issue
Discovered while showing this to Dan Oblinger.
2022-05-17 19:22:11 -07:00