Commit graph

8 commits

Author SHA1 Message Date
bb6d7830ea Implement cursor movement 2019-06-08 09:10:59 +00:00
5e10fcecac Fix various small things
A commit that fixes all of the little things I forgot about, but that
are necessary for rendering to function properly.

- (attr. lines) reverse lines before extending above
- (attr. lines) clamp the AttributedLine offset so that there is always
  a line with offset 0
- (tree renderer) use meta spaces for the cursor too
- (tree renderer) use correct indent text for cursor
- (tree renderer) fix mypy error by safely ignoring it
- (supply) sort by root id instead of value
- (supply) return id, not list of ids
2019-06-08 09:10:59 +00:00
052bbfb6d2 Make classes more generic 2019-06-08 09:10:59 +00:00
7da4bf36d5 Lay out new client structure 2019-06-08 09:10:59 +00:00
0c5369cd9d Fix drawing of non-top-level anchors 2019-06-08 09:10:59 +00:00
75fd0e7bbc Fix children handling 2019-06-08 09:10:59 +00:00
a4a171105b Add basic in-memory element supply 2019-06-08 09:10:59 +00:00
b71e3e15d6 Move ElementSupply to own file and document it 2019-06-08 09:10:59 +00:00