Kartik K. Agaram
0a6dec2fb4
support special chars like '(' in search
2022-09-18 23:50:16 -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
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
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
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
06c784b576
self-documenting 0 Test_right_margin
2022-09-07 10:16:24 -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
Kartik K. Agaram
c112b8fadf
switch shortcuts for bifold text
...
I've been running out of ctrl+ shortcuts, and I just remembered my
original idea to keep ctrl+ for drawings/mouse operations and alt+ for
everything else.
2022-09-06 18:39:46 -07:00
Kartik K. Agaram
73fefa7d09
support selections in the source editor
...
I've only tested side A so far, and included a statement of how I want
side B to behave.
2022-09-06 10:05:20 -07:00
Kartik K. Agaram
516944b572
support hyperlinks in the source editor
...
Integrated from the pensieve fork.
2022-09-05 14:16:55 -07:00
Kartik K. Agaram
fdb35ce12b
bugfix: save modified files in save directory
...
scenario: open app from .love file, press ctrl+e
Before this change the source file showed up empty.
2022-09-05 12:39:28 -07:00
Kartik K. Agaram
5ab541f160
.
2022-09-05 12:38:11 -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
7d5dae9e39
bugfix: cold start
2022-09-03 21:08:30 -07:00
Kartik K. Agaram
1a6f533e2c
dedup points while loading drawing from disk
2022-09-03 19:24:40 -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
5cada8cc9e
remember window positions across restart/ctrl+e
2022-09-03 17:00:58 -07:00
Kartik K. Agaram
9a1e297ee3
duplicate
2022-09-03 14:59:57 -07:00
Kartik K. Agaram
17fa0ec9e7
bugfix: window title
2022-09-03 14:51:52 -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
9c72ff1bb4
bugfix: propagate mouse press if any button would
...
Before this commit I was propagating press events only if _all_ buttons
would.
2022-08-24 13:40:36 -07:00
Kartik K. Agaram
ce31b74b10
infrastructure for caching LÖVE text objects
2022-08-24 13:27:04 -07:00
Kartik K. Agaram
89222f86a0
set color for each fragment
...
In general it seems like good practice to minimize assumptions about
the current color.
2022-08-23 15:09:14 -07:00
Kartik K. Agaram
43dfa184d6
helper: trimming whitespace from strings
2022-08-23 15:06:18 -07:00
Kartik K. Agaram
aeaa7d150c
helper: file_exists
2022-08-23 15:04:30 -07:00