bugfix
[?]
Mar 26, 2023, 2:19 PM
AF253GHLDMRDMDL5X3OV2UJ5NPKBBMHGH4B3R5IGR35KO6IKYPKQCDependencies
- [2]
7VGDIPLCmore robust state validation - [3]
2L5MEZV3experiment: new edit namespace - [4]
5STHSG4Uremove some duplication
Change contents
- replacement in edit.lua at line 125
return loc1.line > #State.linesor loc1.pos > #State.lines[loc1.line].dataif loc1.line > #State.lines then return true endlocal l = State.lines[loc1.line]if l.mode ~= 'text' then return false end -- pos is irrelevant to validity for a drawing linereturn loc1.pos > #State.lines[loc1.line].data