bugfix: drawings in source editor
[?]
May 30, 2023, 7:00 AM
KKHSOUW46XWS7M4JOKFQ5CIUPRRAWGQADVSOWJJ7TH37H24EEKPQCDependencies
- [2]
OI4FPFINsupport drawings in the source editor - [3]
VHQCNMARseveral more modules - [4]
2XLZCWZCbugfix: rectangles and squares are now saved - [5]
KKMFQDR4editing source code from within the app - [6]
UN7L3DNNavoid some string concatenations - [7]
2K2YDMFHignore 'deleted' shapes when saving to disk
Change contents
- replacement in source_file.lua at line 96
outfile:write(json.encode(shape), '\n')outfile:write(json.encode(shape))outfile:write('\n') - replacement in source_file.lua at line 100
outfile:write(line, '\n')outfile:write(line)outfile:write('\n') - replacement in source_file.lua at line 108
outfile:write(line, '\n')outfile:write(line)outfile:write('\n') - replacement in source_file.lua at line 111
outfile:write(json.encode({mode=shape.mode, center=drawing.points[shape.center], radius=shape.radius}), '\n')outfile:write(json.encode({mode=shape.mode, center=drawing.points[shape.center], radius=shape.radius}))outfile:write('\n') - replacement in source_file.lua at line 114
outfile:write(json.encode({mode=shape.mode, center=drawing.points[shape.center], radius=shape.radius, start_angle=shape.start_angle, end_angle=shape.end_angle}), '\n')outfile:write(json.encode({mode=shape.mode, center=drawing.points[shape.center], radius=shape.radius, start_angle=shape.start_angle, end_angle=shape.end_angle}))outfile:write('\n') - replacement in file.lua at line 95
outfile:write(json.encode(shape), '\n')outfile:write(json.encode(shape))outfile:write('\n') - replacement in file.lua at line 99
outfile:write(line, '\n')outfile:write(line)outfile:write('\n') - replacement in file.lua at line 107
outfile:write(line, '\n')outfile:write(line)outfile:write('\n') - replacement in file.lua at line 110
outfile:write(json.encode({mode=shape.mode, center=drawing.points[shape.center], radius=shape.radius}), '\n')outfile:write(json.encode({mode=shape.mode, center=drawing.points[shape.center], radius=shape.radius}))outfile:write('\n') - replacement in file.lua at line 113
outfile:write(json.encode({mode=shape.mode, center=drawing.points[shape.center], radius=shape.radius, start_angle=shape.start_angle, end_angle=shape.end_angle}), '\n')outfile:write(json.encode({mode=shape.mode, center=drawing.points[shape.center], radius=shape.radius, start_angle=shape.start_angle, end_angle=shape.end_angle}))outfile:write('\n')