Kartik K. Agaram
d1dd3e441f
fix support for absolute paths in Windows
2022-09-26 15:19:47 -07:00
Kartik K. Agaram
1c49f74c8d
Merge lines.love
2022-09-19 00:55:00 -07:00
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
690a1c334c
source: show files in MRU order
...
I'm not going to save this MRU order across sessions for now. It's good
enough to save cursor positions for individual files, I think.
2022-09-19 00:37:08 -07:00
Kartik K. Agaram
fd7d36fefd
extract a couple of functions
2022-09-19 00:35:10 -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
0a6dec2fb4
support special chars like '(' in search
2022-09-18 23:50:16 -07:00
Kartik K. Agaram
f6596832fd
Merge lines.love
2022-09-18 01:56:42 -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
89b30a62ef
support mouse clicks in file navigator
2022-09-18 01:26:20 -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
21b158398b
source: up/down in file navigator
...
I'm starting to use logging, but it's still easier to print textual logs.
2022-09-18 00:37:20 -07:00
Kartik K. Agaram
5c0ce8ee36
indent
2022-09-18 00:01:14 -07:00
Kartik K. Agaram
9013eaa637
source: show all files in navigator
...
We still don't have up/down arrow keys. And we still don't have the
ability to filter filenames by typing.
2022-09-17 23:53:57 -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
36bde53d41
rename
2022-09-17 23:43:14 -07:00
Kartik K. Agaram
c02a5ee1ff
delete some logs
...
One open question is how to manage logs while drawing, since they can be
extremely verbose. Neither tags nor depths seem like the right metaphor
here, and that gives me pause that I perhaps don't see the full space of
needs yet.
2022-09-17 23:27:20 -07:00
Kartik K. Agaram
e3f9908d13
yet another bugfix in log parsing
2022-09-17 23:27:20 -07:00
Kartik K. Agaram
593418972c
bugfix: perform matches in the right order
2022-09-17 23:19:36 -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
b00232e01a
bugfix: never skip files in file navigator
2022-09-17 23:05:08 -07:00
Kartik K. Agaram
b5ff0a4764
use existing local
2022-09-17 23:03:43 -07:00
Kartik K. Agaram
cea2730080
use a helper
2022-09-17 23:01:40 -07:00
Kartik K. Agaram
620176263a
bugfix: log filenames can have 2 formats
2022-09-17 22:56:11 -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
cb261f56b2
Merge lines.love
2022-09-17 16:42:25 -07:00
Kartik K. Agaram
0cc8c706ff
isolate some tests from settings
2022-09-17 16:33:36 -07:00
Kartik K. Agaram
2a36ce3c06
Merge lines.love
2022-09-17 10:49:27 -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
0f02efd8cc
.
2022-09-17 10:28:44 -07:00
Kartik K. Agaram
6805143c42
.
2022-09-15 23:02:11 -07:00
Kartik K. Agaram
b90a54a9cb
new test
2022-09-15 11:26:45 -07:00
Kartik K. Agaram
f2c8f06819
Merge lines.love
2022-09-11 08:36:33 -07:00
Kartik K. Agaram
9a41c7c176
more correct absolute path detection
2022-09-11 08:31:05 -07:00
Kartik K. Agaram
b23269f3e0
Merge lines.love
2022-09-10 19:25:00 -07:00
Kartik K. Agaram
511db8cffd
bugfix: path munging on Windows
2022-09-10 19:23:34 -07:00
Kartik K. Agaram
901dd1fd94
Merge lines.love
2022-09-07 10:19:16 -07:00
Kartik K. Agaram
06c784b576
self-documenting 0 Test_right_margin
2022-09-07 10:16:24 -07:00
Kartik K. Agaram
dea297b163
Merge lines.love
2022-09-06 22:04:26 -07: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