bugfix
[?]
Jun 19, 2022, 4:21 PM
FYS7TCDWKNRNOJSGRD2JMU4B2LHX5S63ZISM7YF7KZYEYLVCIKIACDependencies
- [2]
CCYSVZA2bugfix: BSOD in #4. - [3]
PX7DDEMOautosave slightly less aggressively - [4]
MP2TBKU6bugfix: crash in Text.up() after return - [5]
NZKYPBSKcheck for scroll when just typing - [6]
2RXZ3PGObeginning of a new approach to scroll+wrap - [7]
CG3264MMmove - [8]
OYXDYPGSget rid of debug variables - [9]
JY4VK7L2rename - [10]
2ZYV7D3Whandle tab characters - [11]
73OCE2MCafter much struggle, a brute-force undo - [12]
537TQ2QNsome more logging - [13]
SQLVYKVJrename - [14]
XNFTJHC4split keyboard handling between Text and Drawing - [15]
2POFQQLWkeep cursor on screen when pressing 'down' - [16]
DHI6IJCNselecting text and deleting selections - [*]
LXTTOB33extract a couple of files - [*]
4VKEE43Zbugfix - [*]
BULPIBEGbeginnings of a module for the text editor - [*]
OTIBCAUJlove2d scaffold - [*]
RMKMPFT5fix a corner case when selecting text - [*]
2INHXC3Kposition cursor by clicking on text - [*]
QZH3PQFU. - [*]
JCSLDGAHbeginnings of support for multiple shapes - [*]
HRWN5V6JDevine's suggestion to try to live with just freehand
Change contents
- edit in text_tests.lua at line 187
endfunction test_edit_after_click_resets_selection()io.write('\ntest_edit_after_click_resets_selection')-- display a line of textApp.screen.init{width=80, height=80}Lines = load_array{'abc'}Line_width = 75Cursor1 = {line=1, pos=1}Screen_top1 = {line=1, pos=1}Screen_bottom1 = {}App.draw()-- click past the end of it and hit enterApp.run_after_mouse_click(Margin_left+40,Margin_top+5, 1)check(Selection1.line, 'F - test_edit_after_click_resets_selection/baseline')App.run_after_keychord('return')-- selection is reset since shift key is not pressedcheck_nil(Selection1.line, 'F - test_edit_after_click_resets_selection') - replacement in text.lua at line 167
--? print('chord')--? print('chord', chord, Selection1.line, Selection1.pos) - edit in main.lua at line 350
--? print('selection') - edit in main.lua at line 376
--? print('reset selection') - edit in main.lua at line 410
if not App.shift_down() thenSelection1 = {}end - edit in main.lua at line 554[5.5055][26.350]
endif not App.shift_down() thenSelection1 = {}