Go to file
Daniel Barlow a5a65006ca make keyboard completions work
1. When adding a button to flowbox, the flowbox widget interposes a
flowboxchild between the two, which can receive events and so becomes
part of the tab order. this is why our buttons weren't getting
activated - they weren't focused even though they looked focused.  So,
use labels instead of buttons for completions

2. For some reason I don't understand, flowboxchild widgets receive
:activate *only* on keyboard activation. So instead of using it,
we connect to :child-activated on the flowbox.

3. Setting widget:on_foo *adds* a handler to the widget instead of
replacing what was previously there. There is no nice way to remove
handlers from a widget either. Because we need a new
on_child_activated handler every time the completions change,
the only way I can see to achieve this is to create the flowbox
afresh on each keystroke instead of creating it once when the
frame is created
2023-01-17 21:54:31 +00:00
doc link to fennel-lang/style and explain the departures from it 2023-01-17 11:46:29 +00:00
test trim outdated stuff 2023-01-15 18:23:10 +00:00
.dir-locals.el add socket repl 2022-12-21 21:51:06 +00:00
.gitignore ignore generated file 2022-12-29 17:34:51 +00:00
.overmind.env use overmind to restart dying test runners 2022-12-29 17:21:50 +00:00
COPYING add license 2022-12-22 22:57:24 +00:00
Makefile use overmind to restart dying test runners 2022-12-29 17:21:50 +00:00
Procfile restart tests when entr fails 2022-12-23 14:39:35 +00:00
README add license 2022-12-22 22:57:24 +00:00
buffer.fnl revisit completer/completion api 2023-01-15 16:55:22 +00:00
build.nix derivations copied from Just Browsing 2022-12-19 18:49:10 +00:00
command.fnl make keyboard completions work 2023-01-17 21:54:31 +00:00
default.nix sqlite-based browsing history api 2023-01-02 21:25:36 +00:00
dunlin.fnl extract search into a module, improve it 2023-01-17 11:30:10 +00:00
frame.fnl hook up the history logger thing 2023-01-02 22:03:03 +00:00
history.fnl tidy, remove debug prints 2023-01-16 21:07:56 +00:00
keymap.fnl add back button 2023-01-01 22:22:40 +00:00
lsqlite3.nix sqlite-based browsing history api 2023-01-02 21:25:36 +00:00
musing.md make keyboard completions work 2023-01-17 21:54:31 +00:00
repl.sh add socket repl 2022-12-21 21:51:06 +00:00
search.fnl make keyboard completions work 2023-01-17 21:54:31 +00:00
shell.nix improve test harness 2022-12-21 15:26:24 +00:00
socket-repl.fnl add socket repl 2022-12-21 21:51:06 +00:00

README

See doc/index.md

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or (at
your option) any later version. You can find the full text of the License
in the file COPYING in this directory