Kartik K. Agaram
|
680999087b
|
ctrl-+ and ctrl-- to adjust font size
|
2022-05-16 23:01:21 -07:00 |
Kartik K. Agaram
|
643e55309e
|
reorg
|
2022-05-16 22:54:44 -07:00 |
Kartik K. Agaram
|
8e074b0a93
|
more precise cursor positioning
|
2022-05-16 22:50:52 -07:00 |
Kartik K. Agaram
|
e2d4edb4d8
|
position cursor by clicking on text
In the process, a bugfix: up/down from line to drawing or vice versa.
|
2022-05-16 22:42:54 -07:00 |
Kartik K. Agaram
|
97531d9d05
|
allow text to be typed while mouse hovers over drawing
The whole point of my keyboard shortcuts scheme is that if you press a
regular key and the mouse is not down, it goes in at the cursor.
|
2022-05-16 22:30:53 -07:00 |
Kartik K. Agaram
|
04dc87482d
|
save each line's y coordinate, whether it's a drawing or not
|
2022-05-16 22:29:05 -07:00 |
Kartik K. Agaram
|
3a9f02c9f2
|
move
|
2022-05-16 22:28:34 -07:00 |
Kartik K. Agaram
|
2ea683f4f2
|
stop handling drawings in cursor_pos computations
|
2022-05-16 22:24:24 -07:00 |
Kartik K. Agaram
|
3af32571a5
|
change data model; text can now have metadata
|
2022-05-16 22:23:24 -07:00 |
Kartik K. Agaram
|
9a54403aa3
|
don't try to append text to drawings
|
2022-05-16 22:14:30 -07:00 |
Kartik K. Agaram
|
399fed42d8
|
rename
|
2022-05-16 22:13:38 -07:00 |
Kartik K. Agaram
|
89b3c7a64f
|
.
|
2022-05-16 22:13:28 -07:00 |
Kartik K. Agaram
|
8382a4f827
|
make sure to show the border of a drawing immediately after creating it
|
2022-05-16 21:38:01 -07:00 |
Kartik K. Agaram
|
741018db1f
|
bugfix: up/down across drawings
|
2022-05-16 21:36:44 -07:00 |
Kartik K. Agaram
|
5a4b8451ce
|
show cursor even on empty lines
|
2022-05-16 21:35:19 -07:00 |
Kartik K. Agaram
|
c06e744feb
|
speed up some obvious common cases
This is probably not worth the effort. First sign of trouble, back it out.
|
2022-05-16 21:10:35 -07:00 |
Kartik K. Agaram
|
0da2ec3850
|
binary search to most natural up/down with proportional fonts
|
2022-05-16 20:55:21 -07:00 |
Kartik K. Agaram
|
63df6d04e0
|
up/down cursor movement
|
2022-05-16 20:26:27 -07:00 |
Kartik K. Agaram
|
ad17f4b9e4
|
left/right cursor movement, deleting characters
|
2022-05-16 20:16:27 -07:00 |
Kartik K. Agaram
|
71cb28e474
|
position cursor more precisely
I don't quite follow why this magic number needs to have this precise value.
|
2022-05-16 18:54:54 -07:00 |
Kartik K. Agaram
|
824bb491f7
|
add a license
|
2022-05-16 18:51:28 -07:00 |
Kartik K. Agaram
|
b7b2d7d0a1
|
always show current filename in window title
|
2022-05-16 18:50:32 -07:00 |
Kartik K. Agaram
|
735ad25226
|
always have a filename
When a filename is provided, we write to it. When it isn't we always
open the same file, and it persists between loads.
|
2022-05-16 18:47:26 -07:00 |
Kartik K. Agaram
|
753318f664
|
gracefully handle a non-existent filename at the commandline
|
2022-05-16 18:46:27 -07:00 |
Kartik K. Agaram
|
662096d98f
|
couple of bugfixes to file-handling
|
2022-05-16 18:44:17 -07:00 |
Kartik K. Agaram
|
551985e383
|
delete experimental REPL
We're going to focus on a simple text editor for now.
|
2022-05-16 18:42:58 -07:00 |
Kartik K. Agaram
|
21a4d8a67e
|
silly reason my screenshots had an ugly black line down the left
|
2022-05-16 15:41:25 -07:00 |
Kartik K. Agaram
|
8f06b74eab
|
to open a file without a terminal, drag it on!
|
2022-05-16 15:26:22 -07:00 |
Kartik K. Agaram
|
34f9670215
|
2 regressions:
- loading a file from the command line
- don't insert empty lines when loading a file from the command line
|
2022-05-16 15:14:08 -07:00 |
Kartik K. Agaram
|
ff1d4d988a
|
bugfix
|
2022-05-16 09:45:30 -07:00 |
Kartik K. Agaram
|
dc1f74b490
|
slightly better default sizing of drawings
|
2022-05-16 09:42:08 -07:00 |
Kartik K. Agaram
|
f63beab657
|
adjust window size
|
2022-05-16 09:39:44 -07:00 |
Kartik K. Agaram
|
ba49a5ee74
|
some missing transitions
|
2022-05-15 22:21:49 -07:00 |
Kartik K. Agaram
|
e9e2ead1af
|
esc to cancel a shape mid-click
|
2022-05-15 22:05:01 -07:00 |
Kartik K. Agaram
|
58ce23d843
|
fix a comment
|
2022-05-15 22:04:20 -07:00 |
Kartik K. Agaram
|
935f2a6215
|
autosave on keystrokes
|
2022-05-15 22:02:53 -07:00 |
Kartik K. Agaram
|
3be553031e
|
bugfix: move mode
|
2022-05-15 21:27:00 -07:00 |
Kartik K. Agaram
|
5d74f9e9cd
|
online contextual help
|
2022-05-15 15:55:21 -07:00 |
Kartik K. Agaram
|
2ee50507ff
|
icons for current_mode
|
2022-05-15 15:02:35 -07:00 |
Kartik K. Agaram
|
8a6d3ce799
|
delete drawing using backspace
I solemnly swear that I am aware of the risk of data loss..
|
2022-05-15 14:47:26 -07:00 |
Kartik K. Agaram
|
4158eee7f6
|
experiment: only show drawing borders when they can be edited
|
2022-05-15 14:45:23 -07:00 |
Kartik K. Agaram
|
65cea736c3
|
bugfix: text sometimes getting colored like drawing borders
|
2022-05-15 14:42:10 -07:00 |
Kartik K. Agaram
|
6b6098593e
|
delete an ancient, unused file
|
2022-05-15 14:38:11 -07:00 |
Kartik K. Agaram
|
f98712c005
|
load/save remaining shapes
|
2022-05-15 14:37:22 -07:00 |
Kartik K. Agaram
|
fd7f02e8ff
|
forgot to add json.lua
|
2022-05-15 14:36:25 -07:00 |
Kartik K. Agaram
|
49c41e0124
|
load/save freehand strokes
Also found a couple of bugs in the process.
|
2022-05-15 14:20:33 -07:00 |
Kartik K. Agaram
|
64072bfdf4
|
starting to load/save
|
2022-05-15 14:00:49 -07:00 |
Kartik K. Agaram
|
87a3753796
|
more intuitive point delete from polygons
|
2022-05-15 00:03:31 -07:00 |
Kartik K. Agaram
|
3cb9dc3e0b
|
delete points or shapes
Deleting a point deletes all shapes that use it (but not other points in those shapes).
|
2022-05-14 23:55:36 -07:00 |
Kartik K. Agaram
|
424dbadc85
|
slightly less strange now that we have the same two ways to move points as any other operation
1. hover over point, hit C-v
2. press mouse on point, hit v
|
2022-05-14 23:32:58 -07:00 |