no, that's not right
[?]
Jun 20, 2022, 6:25 PM
EMHRPJ3RAVIVJEQIRXIVDGENV6QHUUGXXRWTJ3BXC7SZNC66VK5QCDependencies
- [2]
VG75U7IMbugfix: typing should delete highlighted text - [3]
AVTNUQYRbasic test-enabled framework - [4]
HRWN5V6JDevine's suggestion to try to live with just freehand - [5]
JRLBUB6Lmore intuitive point delete from polygons - [*]
LXTTOB33extract a couple of files - [*]
4VKEE43Zbugfix - [*]
FYS7TCDWbugfix - [*]
BULPIBEGbeginnings of a module for the text editor - [*]
VJ77YABHmore efficient undo/redo - [*]
2ZYV7D3Whandle tab characters - [*]
XNFTJHC4split keyboard handling between Text and Drawing - [*]
PX7DDEMOautosave slightly less aggressively - [*]
DHI6IJCNselecting text and deleting selections - [*]
CG3264MMmove - [*]
OTIBCAUJlove2d scaffold - [*]
JCSLDGAHbeginnings of support for multiple shapes - [*]
Z4XRNDTRfind text - [*]
HOSPP2ANcrisp font rendering - [*]
NQWWTGXRswitch undo/redo to ctrl- hotkeys - [*]
LS55YKGWswitch copy/paste to ctrl- hotkeys
Change contents
- edit in text_tests.lua at line 187
endfunction test_select_text()io.write('\ntest_select_text')-- display a line of textApp.screen.init{width=80, height=80}Lines = load_array{'abc def'}Line_width = 75Cursor1 = {line=1, pos=1}Screen_top1 = {line=1, pos=1}Screen_bottom1 = {}App.draw()-- select a letterApp.fake_key_press('lshift')App.run_after_keychord('S-right')App.fake_key_release('lshift')App.keyreleased('lshift')-- selection persists even after shift is releasedcheck_eq(Selection1.line, 1, 'F - test_select_text/selection:line')check_eq(Selection1.pos, 1, 'F - test_select_text/selection:pos')check_eq(Cursor1.line, 1, 'F - test_select_text/cursor:line')check_eq(Cursor1.pos, 2, 'F - test_select_text/cursor:pos') - edit in text.lua at line 178
Selection1 = {} - edit in text.lua at line 190
Selection1 = {} - edit in text.lua at line 195
Selection1 = {} - edit in text.lua at line 234
Selection1 = {} - edit in text.lua at line 239
Selection1 = {} - edit in text.lua at line 272
Selection1 = {} - edit in main.lua at line 410
if not App.shift_down() thenSelection1 = {}end - edit in main.lua at line 444
Selection1 = {} - edit in main.lua at line 448
Selection1 = {} - edit in main.lua at line 452
Selection1 = {} - edit in main.lua at line 456
Selection1 = {} - edit in main.lua at line 469
Selection1 = {} - edit in main.lua at line 482[22.46][22.46]
Selection1 = {} - edit in main.lua at line 490[22.173][22.173]
Selection1 = {} - edit in main.lua at line 498[14.716][22.289]
Selection1 = {} - edit in main.lua at line 520[22.1959][22.1959]
Selection1 = {} - edit in main.lua at line 568
if not App.shift_down() thenSelection1 = {}end