Commit Graph

26 Commits

Author SHA1 Message Date
Kartik K. Agaram d1d05fe5c9 migrate old settings, attempt #3
This time we have to handle absolute filenames.
Now lines-polygon-experiment fork should merge successfully, at least.
2022-09-19 00:53:25 -07:00
Kartik K. Agaram 6ac45b75b9 ugh, missed deleting an arg 2022-09-19 00:43:31 -07:00
Kartik K. Agaram 2f7b08fb8b handle missing cursors in settings 2022-09-19 00:41:37 -07:00
Kartik K. Agaram 12b1d19761 source: load cursor position from settings 2022-09-19 00:17:36 -07:00
Kartik K. Agaram 34dc49849b source: no commandline args 2022-09-19 00:16:20 -07:00
Kartik K. Agaram 76243382d7 source: remember cursor position of multiple files 2022-09-19 00:10:12 -07:00
Kartik K. Agaram aae35c7e04 source: support only relative paths within the app 2022-09-19 00:08:52 -07:00
Kartik K. Agaram 6d1dee38f0 bugfix: mouse clicks on file navigator above log browser side 2022-09-18 23:55:04 -07:00
Kartik K. Agaram cf227f9031 delete a duplicate filename candidate 2022-09-18 01:54:32 -07:00
Kartik K. Agaram d141822e6c filter candidates in file navigator 2022-09-18 01:53:36 -07:00
Kartik K. Agaram 141d41aec5 hide editor cursor while in file navigator 2022-09-18 01:32:23 -07:00
Kartik K. Agaram 936d3b4616 bugfix: disable typing while file navigator is open 2022-09-18 01:28:05 -07:00
Kartik K. Agaram bc464fe6f1 start showing source menu file navigation state graphically
I'm a bit leery of going down this road:

- If there's a bug in how I render logs graphically that could be
  extremely misleading. Perhaps this suggests that the code to log
  things should be significantly simpler than the code that might be
  debugged. If writing the debug helper requires all my smarts I'm not
  smart enough to debug using the helper, etc. Given this idea, the fact
  that I'm copying production code into the logging helper is
  concerning.

- There's a question of what code it's ok for logging helpers to depend
  on. This is an issue shared with tests. I often implicitly (and
  without meaning to) assume the presence of some well-tested helpers
  when writing tests. If those helpers ever break I can get into a
  rabbit hole of debugging. This problem might be even more insidious
  with logging helpers that will give me no indication when they break.

Still and all, it's cool to see menus in my logs. Let's see if it's
useful.
2022-09-18 01:11:23 -07:00
Kartik K. Agaram d1db41b7b8 bugfix: draw menu after everything else
This is stupid; I did it right in pensieve.love to begin with.
2022-09-17 23:53:05 -07:00
Kartik K. Agaram 56cdf607ed easy way to make file switching more convenient
In the fullness of time, I'll want to remember previous file, type to
filter, etc. But for now just don't forget where you were. This is
helpful because I'm often working on either the run side or the source
side, and just starting out on the right side shaves off a lot of
keypresses.
2022-09-17 23:11:23 -07:00
Kartik K. Agaram 72791d9c35 some debug prints
I'm starting to edit the sources from within the app in ernest. First
question: why does the file navigation menu skip some files? These
prints answer the question.
2022-09-17 20:37:40 -07:00
Kartik K. Agaram 0cc8c706ff isolate some tests from settings 2022-09-17 16:33:36 -07:00
Kartik K. Agaram 287050d598 get rid of ugly side-effects in tests 2022-09-17 10:47:47 -07:00
Kartik K. Agaram 69f4062020 bugfix: source margins when toggling log browser
Running the tests now uglily resizes the window for a second or two.
2022-09-17 10:30:08 -07:00
Kartik K. Agaram b90a54a9cb new test 2022-09-15 11:26:45 -07:00
Kartik K. Agaram 9a41c7c176 more correct absolute path detection 2022-09-11 08:31:05 -07:00
Kartik K. Agaram 511db8cffd bugfix: path munging on Windows 2022-09-10 19:23:34 -07:00
Kartik K. Agaram 528c64d690 support drawings in the source editor 2022-09-05 11:29:39 -07:00
Kartik K. Agaram 9f94470f9d include some missing source files 2022-09-05 08:41:26 -07:00
Kartik K. Agaram c6f88dccfa set window title within each app
The main app shows the file being edited, but the programming environment does not.
2022-09-03 17:20:11 -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