bugfix for non-ASCII
[?]
May 29, 2022, 2:57 PM
SLLR6KKIAAJJPODFJLHXNG7Z22C3QUBGEIESWOFOGQVHYJJQ6VSQCDependencies
- [2]
2RXZ3PGObeginning of a new approach to scroll+wrap - [3]
WY3JD6W6bugfix - [4]
XNFTJHC4split keyboard handling between Text and Drawing - [*]
BULPIBEGbeginnings of a module for the text editor - [*]
2ZYV7D3Whandle tab characters
Change contents
- edit in text.lua at line 885[7.99][3.171]
if Selection1.line then Text.delete_selection() end - replacement in text.lua at line 888
byte_offset = utf8.offset(Lines[Cursor1.line].data, Cursor1.pos-1)byte_offset = utf8.offset(Lines[Cursor1.line].data, Cursor1.pos) - replacement in text.lua at line 890
byte_offset = 0byte_offset = 1 - replacement in text.lua at line 892
Lines[Cursor1.line].data = string.sub(Lines[Cursor1.line].data, 1, byte_offset)..t..string.sub(Lines[Cursor1.line].data, byte_offset+1)Lines[Cursor1.line].data = string.sub(Lines[Cursor1.line].data, 1, byte_offset-1)..t..string.sub(Lines[Cursor1.line].data, byte_offset)