bugfix
[?]
Jun 21, 2022, 2:20 PM
PIEDOKYQWPQIQV3UDNLHZU7BXDPI7YBZ2LOQ2I6MN5JQM2CPPDOACDependencies
- [2]
3ZYCPNQYclearer copy - [3]
KOYAJWE4extract a couple more methods - [4]
SVJZZDC3snapshot - no, that's all wrong - [5]
V5MJRFOZbugfix: down arrow doesn't scroll up unnecessarily - [6]
ZPUQSPQPextract a few methods - [7]
CBPV5SSIstop handling nil screen_line_starting_pos everywhere - [*]
BULPIBEGbeginnings of a module for the text editor - [*]
GN3IF4WFbugfix: pasting newlines - [*]
BJ5X5O4Alet's prevent the text cursor from ever getting on a drawing
Change contents
- edit in text.lua at line 358
Lines[Cursor1.line].screen_line_starting_pos = nilLines[Cursor1.line+1].fragments = nilLines[Cursor1.line+1].screen_line_starting_pos = nil - replacement in text.lua at line 416
--? print('up', Cursor1.pos, Screen_top1.pos)--? print('up', Cursor1.line, Cursor1.pos, Screen_top1.line, Screen_top1.pos) - edit in Manual_tests.md at line 14[2.188]
* Some ADT/interface support would be helpful in keeping per-line state insync. Any change to line data should clear line `fragments` and`screen_line_starting_pos`.